Repository navigation
Conversation
cixzhang
requested review from
imdreamrunner and
josephfarina
as code owners
September 16, 2026 12:59
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
AI review status for this pull request.
|
cixzhang
force-pushed
the
night-watch-component-audit/ChartGrid/2026-09-16
branch
from
September 16, 2026 13:47
cc77f17 to
ff6d052
Compare
cixzhang
force-pushed
the
night-watch-component-audit/ChartGrid/2026-09-16
branch
from
September 16, 2026 13:59
ff6d052 to
fd6a6fc
Compare
Contributor
PR Analysis Report📚 Storybook PreviewView Storybook for this PR 🧪 Sandbox PreviewView Sandbox for this PR Modified ComponentsChartGrid (@astryxdesign/charts)
Bundle Size Summary
Accessibility AuditStatus: 36 accessibility violation(s) found — 2 critical, 34 serious. Button pattern - 1 issue(s)
ChatComposer - 1 issue(s)
ChatComposerInput - 1 issue(s)
ChatReasoning - 1 issue(s)
ChatToolCalls - 1 issue(s)
Checkbox pattern - 1 issue(s)
CheckboxList - 1 issue(s)
ClickableCard - 1 issue(s)
CodeEditor - 1 issue(s)
CodeEditorPerf - 1 issue(s)
CodeEditorTheme - 1 issue(s)
CodeTheme - 1 issue(s)
DateRangeInput - 1 issue(s)
FileInput - 1 issue(s)
GridMasonry - 1 issue(s)
Heading - 1 issue(s)
Icon - 1 issue(s)
LogStream - 1 issue(s)
MediaTheme Auto - 1 issue(s)
PowerSearch - 1 issue(s)
ProgressBar - 1 issue(s)
Radio group pattern - 1 issue(s)
RadioList - 1 issue(s)
RichTextEditor - 2 issue(s)
SelectableCard - 1 issue(s)
Stepper - 1 issue(s)
TableGroupedRows - 1 issue(s)
TableTree - 1 issue(s)
Text - 1 issue(s)
Theme - 1 issue(s)
PopArt - 1 issue(s)
Thumbnail - 1 issue(s)
Timestamp - 1 issue(s)
Token - 1 issue(s)
Tokenizer - 1 issue(s)
Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
github-actions
Bot
deleted the
night-watch-component-audit/ChartGrid/2026-09-16
branch
November 8, 2026 12:51
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User impact
Builders could import
ChartGrid, but direct Astryx CLI lookup failed and the current guide behavior was split across source, Chart docs, and a shared story. The component now has one direct consumer reference, a dedicated browser fixture, and focused evidence for its safe density behavior without changing runtime output, public API, defaults, or visuals.This is the second Night Watch audit in the 2026-09-16 run and the first audit of
charts/ChartGrid, using Component Audit Rubric v1.16.6.Primary intent and scope
charts/ChartGrid(@astryxdesign/charts, canary-only)N/1.16.62b2113d7f95a066a2e21a4b0a27acb819d103601fd6a6fc79e0c87a357878cef90d1097729158e81packages/charts/src/ChartGrid.spec.mdat the audited headarchitecture:component-test-sufficiency,architecture:component-theming-surface,spec:AST-002, andspec:AST-029, plus objective standardsinternal/shadcn-registry/routes.lock.json, plus #6341 and #5975 onapps/docsite/src/__tests__/data-extraction.test.ts; their entries concern unrelated templates, Table, or LayoutFooter and carry no substantive ChartGrid overlap.Score
not_measured, a later complete rendered score from 1–5 would place the total between 77.3 / C and 82.7 / B.limited: applicable chart-level semantics are scored, its weight is redistributed, and browser AX evidence remains pending.Findings and authority
astryx component ChartGrid --denseexited 1 and integration validation reportedsource_without_component_doc. The exact head returns typed docs, passes docsite generation and tests, and removes the ChartGrid integration warning. This is observational documentation underspec:AST-029/FR7, not a new product contract.tickCount={1e9}renders a non-empty guide set with no more than 1001 lines. The ceiling is intentionally≤1001: d3 may return the requested cap or one adjacent nice tick. The cap test is mutation-sensitive: weakening the production cap from 1000 to 2000 rendered 2000 lines and failed the ceiling assertion. Authority:architecture:component-test-sufficiency/INV1, INV4–INV6.architecture:component-test-sufficiency/INV2, INV4, INV7.limited, not N/A. The rubric's §1/§2 carve-out says a component cannot N/A its way out of either section. ChartGrid is a passive<g>/<line>child, so interaction, focus, naming, state, announcement, hit-target, and disabled-control checks are structurally impossible and therefore vacuous. Fewer than one-third of §1 rows yield a non-vacuous verdict; the applicable Chart-image semantics are scored 4.0, and §1's weight is redistributed under thelimitedrule. This clarification changes no score math.No production behavior changed, so a red-before-green production cycle was not applicable. Each test has a narrow claim: the zero-count case pins zero-density semantics, the non-finite case pins invalid-input fallback, and the huge-count case requires a non-empty result while pinning the existing 1000 allocation cap with an accurate
≤1001ceiling.Visual evidence
not_measured, not passed and not scored zero. Local Chromium launch is unavailable in this environment, so no complete light/dark/non-default-theme, contrast, 320px, or sensor-receipt matrix is claimed.Closed FR5 public-surface inventory
All 24/24 finite rows are accounted for. Gaps remain explicit and do not make the inventory open. In the machine report, the
Eprefix means an FR5 evidence-inventory row and its number maps directly to this table; the open evidence rows areE4,E9,E18,E19,E20,E21, andE22.tickCount={1e9}test; 1000→2000 mutation rendered 2000 lines and failedcharts/ChartGridverified-N/A reasonTesting
≤1001assertion; production source was restored before commit.rtl:audit: attempted and not measured because Chromium could not launch. Exact-head repository CI remains the broad browser/test signal.Needs Review
Owner decision: Should
tickCountremain continuous-scale-only, or should vertical categorical guides gain a documented thinning contract aligned with ChartAxis?The draft contract may land as draft; making it current requires a separate owner decision. Complete browser evidence and exact-head CI remain required for a land decision. This audit intentionally did not request reviewers, submit a review or approval, dispatch Review signal, enable auto-merge, or merge.
Scope
Exact-head audit eligibility report
{ "schemaVersion": 1, "component": "ChartGrid", "package": "charts", "auditMode": "N", "rubricVersion": "1.16.6", "heads": { "repository": "fd6a6fc79e0c87a357878cef90d1097729158e81", "componentContract": "fd6a6fc79e0c87a357878cef90d1097729158e81" }, "inventory": { "closed": true, "rows": 24, "gapLegend": { "E": "FR5 evidence-inventory row; number maps directly to the public-surface inventory table" }, "gaps": ["E4", "E9", "E18", "E19", "E20", "E21", "E22"] }, "applicability": [ { "ruleId": "X6/X7", "state": "na", "reason": "ChartGrid is an exported child used by the existing Chart showcase and ChartTrendComparison example blocks; it does not own a separate showcase/example block set." }, { "ruleId": "stable-visual-snapshots", "state": "unavailable", "reason": "The checked public visual-gate configuration covers Core only and skips canary-only Charts." } ], "unresolvedGaps": { "objective": [ "Rendered light, dark, non-default-theme, contrast, 320px, accessibility-tree, and runtime RTL evidence is not measured locally; stable visual snapshots are unavailable because the checked public visual-gate configuration covers Core only; exact-head repository CI is pending." ], "manual": [ "Decide whether tickCount remains continuous-scale-only or also thins categorical vertical guides.", "No current component or family authority decides whether grid lines become a public theme target; this audit adds none." ] }, "remediations": [ { "ruleId": "X1", "beforeEvidence": ["Direct CLI lookup exited 1 and integration validation reported source_without_component_doc."], "afterEvidence": ["Direct dense CLI lookup exits 0, docsite discovery/tests pass, and the ChartGrid integration warning is gone."] }, { "ruleId": "V3", "beforeEvidence": ["Four focused tests left zero-density, non-finite fallback, and the huge-count cap unasserted."], "afterEvidence": ["Seven focused tests pass: separate cases pin zero-density semantics, non-finite fallback, and a non-empty huge-count result under the 1000 allocation cap; weakening that cap to 2000 rendered 2000 lines and failed the ≤1001 assertion."] }, { "ruleId": "V10/X9/X12", "beforeEvidence": ["ChartGrid had only a shared Axes & Grids story and no component-owned metadata or continuous-scale fixture."], "afterEvidence": ["A dedicated two-story fixture exposes every direction combination plus categorical and continuous x-scale branches."] }, { "ruleId": "X15", "beforeEvidence": ["ChartGrid.tsx had no structured @input header field."], "afterEvidence": ["The header now names Chart context, visibility, and density inputs."] } ], "approvals": [ {"name": "private independent review", "state": "addressed"}, {"name": "public code review", "state": "not-requested-by-user"}, {"name": "trusted Review signal", "state": "not-dispatched-by-user-request"}, {"name": "component contract owner approval", "state": "not-required-for-draft"} ], "checks": [ {"name": "exact-head focused ChartGrid tests", "state": "success", "detail": "7/7 passed; huge-count output is >0 and ≤1001"}, {"name": "exact-head Charts build and typechecks", "state": "success"}, {"name": "exact-head docs, knowledge, sync, export, and strict lint checks", "state": "success"}, {"name": "exact-head local Chromium/axe/RTL", "state": "not-measured-host-policy"}, {"name": "stable visual snapshots", "state": "unavailable-charts-not-covered-by-public-visual-gate"}, {"name": "repository-wide local test", "state": "not-rerun-use-exact-head-ci"}, {"name": "exact-head GitHub CI", "state": "pending"}, {"name": "review-required", "state": "success", "detail": "No code review required; no public review exists, so this is not trusted Review Loop clearance."}, {"name": "audit-eligibility", "state": "inactive"} ], "eligibility": { "eligible": false, "unattendedAutoMerge": false, "reasons": [ "spec:AST-029 is phase accepted, not shipped", "the trusted audit-eligibility status is not activated", "public review and Review signal dispatch are intentionally absent", "complete rendered design and browser accessibility evidence is not measured", "manual authority gaps remain" ] } }Unattended auto-merge: false. Do not enable auto-merge.