Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
/approve-spec ff0373a |
|
AI review status for this pull request.
|
PR Analysis Report🔎 Preview ·
|
There was a problem hiding this comment.
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@internalbut reachable from the package root throughDefinedTheme(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:
mainhas since added thetable-row-expandicon slot (#9834), which this report does not list, so rebasing and rerunningpnpm api:report --package corekeeps the report current after merge (non-blocking). - Minor, description only: #9829 changed only the CLI's theme build, and the new
colorVarsandinputWrapperStyleshashes 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]
ff0373a to
9790996
Compare
|
/approve-spec 9790996 |
There was a problem hiding this comment.
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]
9790996 to
7209316
Compare
|
/approve-spec 7209316 |
There was a problem hiding this comment.
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]
There was a problem hiding this comment.
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]
|
(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. |
Maintainer impact
Core's committed API report is stale on
main. Merged changes added public API without regeneratingpackages/core/api-report.md, because the report check only warns:ComponentIconSlotMapwith itscode-block-copy,timestamp-copy,table-sort-indicator, andtable-row-expandslots,ComponentIconSlotName,ComponentIconMap,ComponentIconRequest,ComponentIconStaticMap,ComponentIconValue, and the theme'scomponentIcons(feat(Icon): a theme maps a component's own icon role by slot, starting with CodeBlock's copy button #9828, feat(Timestamp): the hover card's copy button resolves its glyph through the timestamp-copy icon slot #9830, feat(Table): the sort indicator resolves its glyph through the table-sort-indicator icon slot #9831, feat(Table): the row-expansion toggle resolves its glyph through the table-row-expand icon slot #9834; feat(cli): built themes keep componentIcons slot functions #9829 carried the slots through the CLI's theme build).disabled,highlighted, andselected, with theirdata-*reflection counts ([Component Audit] Item: a theme can restyle highlighted, selected, and disabled rows #10073).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 coreon currentmain. There are no hand edits.Evidence
pnpm api:report --check --package corereports the core report as stale onmain.Scope
Testing
pnpm -F @astryxdesign/build build && pnpm -F @astryxdesign/core build, thenpnpm api:report --package coreandpnpm api:report --check --package core.Posted by Cindy's agent on her behalf.