Skip to content

Component API grader: map merge harness results to check rows - #8915

Closed
adierkens wants to merge 1 commit into
adierkens-component-api-grader-namingfrom
adierkens-component-api-grader-harness-mapping
Closed

adierkens wants to merge 1 commit into
adierkens-component-api-grader-namingfrom
adierkens-component-api-grader-harness-mapping

Conversation

@adierkens

@adierkens adierkens commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Maps merge harness results onto the merging, ref and accessibility checks.

Changelog

New

  • --harness flag that reads a Vitest JSON report
  • N/A for parts that render no element

Changed

Removed

Rollout strategy

  • No rollout required

Internal tooling and docs only. No package changes.

Testing & Reviewing

Script tests, ESLint and Prettier pass at this layer.

@changeset-bot

changeset-bot Bot commented Dec 2, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 7803b65

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@adierkens
adierkens added this pull request to stack #8927 December 2, 2026 21:00
@adierkens adierkens added the skip changeset This change does not need a changelog label Dec 2, 2026
@adierkens adierkens changed the title Map merge harness results to check rows Component API grader: map merge harness results to check rows Dec 2, 2026

Copilot AI commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Change evidence

Compared base ddf169860e3e6d9ab01cd70287a30c10c6782ee9 with head 30e92da16fee57c6b299504198eb0200aa658dec.

This is a nonvisual grader change, so the most useful before/after evidence is the new result-mapping path:

Before After
Component checks used source/docs-derived rows only; merge harness results were not accepted by the CLI. --harness <vitest-report.json> reads componentApiHarness test metadata, filters it to the requested component, groups results by check, and maps them onto grader rows.
Harness results for a check Resulting row
Any fail GAP
No pass and no not rendered N/A
Only not rendered NOT MEASURED
A passing MERGE-HANDLER or ACCESS-01 check UNRESOLVED for the remaining manual review
A pass plus any not rendered part UNRESOLVED
Passes with every relevant part rendered PASS

Additional grounded effects: missing SELECTOR-01/ACCESS-01 harness coverage becomes NOT MEASURED; the root MERGE-REF result updates API-01; and PART-AS combines documented as props with harness swap results, preserving manual review when parts lack as.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

This branch was successfully deployed

1 active deployment
storybook-preview-8915 — 30e92da1 Deployed Dec 2, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-risk: low skip changeset This change does not need a changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants