Skip to content

chore(core): regenerate the API report for the component icon slots and Item states - #10153

Closed
cixzhang wants to merge 2 commits into
mainfrom
guardian/core-api-report-icon-slots
Closed

cixzhang wants to merge 2 commits into
mainfrom
guardian/core-api-report-icon-slots

Conversation

@cixzhang

@cixzhang cixzhang commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Maintainer impact

Core's committed API report is stale on main. Merged changes added public API without regenerating packages/core/api-report.md, because the report check only warns:

Any later pull request that regenerates the report inherits these rows. If it trims them, its report-drift check fails. Contributors who did not author the API then carry it.

Intended invariant

The committed report matches the built package's public surface on main. The rows record API that has already shipped; this change decides nothing new.

Change

One generated file: pnpm api:report --package core on current main. There are no hand edits.

Evidence

  • Failure before the change: pnpm api:report --check --package core reports the core report as stale on main.
  • Success after the change: the same check passes.
  • Product/runtime behavior verified unchanged: only the report file changes.
  • CI impact: none; no workflow, action or CI script changes.

Scope

  • No intended public API, product behavior, visual direction, or policy change.
  • Product changes discovered during the work were removed or split.
  • Public text and artifacts contain no internal Meta context.

Testing

pnpm -F @astryxdesign/build build && pnpm -F @astryxdesign/core build, then pnpm api:report --package core and pnpm api:report --check --package core.

Posted by Cindy's agent on her behalf.

@vercel

vercel Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
astryx Ready Ready Preview Nov 8, 2026 7:49am UTC

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 5, 2026
@cixzhang

cixzhang commented Nov 5, 2026

Copy link
Copy Markdown
Contributor Author

/approve-spec ff0373a

@astracat-bot

astracat-bot Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 8, 2026, 7:57 AM UTC

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

🔎 Preview · 5281671

Storybook · Sandbox · built from this PR's head

Package size: no published package changed; no new dependencies.

API changes: none in this pull request

Committed API report behind this build: cli 29 rows, core 16 rows; run pnpm api:report.

Not run on this PR: add ci:run-visual, ci:run-a11y or ci:run-rtl to run them.


Generated by PR Enrichment workflow | View full report

@astracat-bot astracat-bot Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval waits on one owner decision. The regenerated core report matches the built package, and every other added or changed row matches a current spec.

  • Needs an owner decision: the report now lists DefinedTheme.__componentIcons?: Partial<Record<string, StoredComponentIconValue>>, which is tagged @internal but reachable from the package root through DefinedTheme (so it counts as public API) and which no current spec decides, so an engineering owner needs to accept the row as it ships or have the member moved behind a non-exported boundary in a separate change.
  • Regression: main has since added the table-row-expand icon slot (#9834), which this report does not list, so rebasing and rerunning pnpm api:report --package core keeps the report current after merge (non-blocking).
  • Minor, description only: #9829 changed only the CLI's theme build, and the new colorVars and inputWrapperStyles hashes record #9818's dark-accent change rather than a text-only rewrite.

CI is green on this head. An engineering owner, the author included, can answer with a comment on this pull request that names this row; the earlier /approve-spec came before the row was raised and does not cover it.

[Automated review]

Comment thread packages/core/api-report.md Resolved
@cixzhang
cixzhang force-pushed the guardian/core-api-report-icon-slots branch from ff0373a to 9790996 Compare November 5, 2026 21:42
@cixzhang

cixzhang commented Nov 5, 2026

Copy link
Copy Markdown
Contributor Author

/approve-spec 9790996

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending CI: the required build, test and docsite-test checks show the deferred heavy-CI notice on this head, so the full suites still run before merge.

The regenerated core report matches the built package exactly, and every added or changed row matches a current spec; an engineering owner accepted the one undecided row, DefinedTheme.__componentIcons, on this head. The earlier notes are resolved: the report now lists the table-row-expand slot, and the description credits #9829 and #9818 accurately.

[Automated review]

@cixzhang
cixzhang force-pushed the guardian/core-api-report-icon-slots branch from 9790996 to 7209316 Compare November 6, 2026 01:21
@cixzhang

cixzhang commented Nov 6, 2026

Copy link
Copy Markdown
Contributor Author

/approve-spec 7209316

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending CI: the CI workflow, including the required build, test and docsite-test checks, is still running on this head.

The regenerated core report matches the built package exactly, and every added or changed row matches a current spec; an engineering owner accepted the one undecided row, DefinedTheme.__componentIcons, on this head.

[Automated review]

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending CI: the required build, test and docsite-test checks show the deferred heavy-CI notice on this head, so the full suites still run before merge; typecheck, lint and the CLI smoke test pass.

The pull request's report rows match core's build exactly, and every added or changed row matches a current spec. The engineering owner's acceptance of DefinedTheme.__componentIcons still covers this head, because the newest commit only merges main and leaves the pull request's lines unchanged.

Separately, main has since left 14 other rows of core's report stale (for example Code's size theme target), so pnpm api:report --check --package core will still flag the file until a follow-up regeneration.

[Automated review]

@cixzhang

Copy link
Copy Markdown
Contributor Author

(Posted by Cindy's agent.) Superseded by #10957, which removed the committed API reports (the API delta now comes from the build). DefinedTheme.__componentIcons is accepted as public API.

@cixzhang cixzhang closed this Nov 11, 2026
@github-actions
github-actions Bot deleted the guardian/core-api-report-icon-slots branch November 11, 2026 06:05

This branch was successfully deployed

1 active deployment
Preview — 52816716 Deployed Nov 8, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant