Repository navigation
chore: regenerate the stale core API report - #9986
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
/approve-spec 0ed0d53 |
PR Analysis Report🔎 Preview ·
|
`pnpm api:report --check` reports the core API report as stale on main. DropdownMenu's and MoreMenu's `presentation` lost its `@default 'popover'` tag, so the report drops `= 'popover'` on those two lines. Only the generated report changes.
0ed0d53 to
186c219
Compare
|
AI review status for this pull request.
|
|
/approve-spec 186c219 |
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet. This is a draft from a fork branch, so CI runs once it is marked ready for review and a maintainer adds the ci:run label.
The regenerated packages/core/api-report.md is exactly what pnpm api:report produces from this head's build. Dropping = 'popover' from the DropdownMenu and MoreMenu presentation rows matches the current touch-presentations spec (spec:AST-094 FR25), where an omitted presentation is no longer the same as 'popover'; no source or published file changes.
[Automated review]
There was a problem hiding this comment.
Approved pending CI: CI is still running on this head.
The two regenerated rows in packages/core/api-report.md are exactly what pnpm api:report writes from this head's build. Dropping = 'popover' from DropdownMenu's and MoreMenu's presentation matches the current touch-presentations spec, where an omitted presentation is no longer the same as 'popover'; no source or published file changes.
- Regression (non-blocking): the merge of main brought in two more stale core rows from #9818 (
colorVarsandinputWrapperStyles, lines 3280 and 3376), sopnpm api:report --package core --checkstill fails on this branch; rerunningpnpm api:report --package corehere updates only those two rows if you want this PR to leave the core report fresh.
[Automated review]
|
/approve-spec bb0da39 |
Maintainer impact
pnpm api:report --checkreportspackages/core/api-report.mdas stale on main. A pull request that regenerates the report for its own change also picks up these unrelated lines. Its report diff then carries rows it did not decide, and reviewers must tell them apart.Intended invariant
Each committed API report equals what
pnpm api:reportgenerates from the current build. The rows here only record a decision that main already merged: DropdownMenu's and MoreMenu'spresentationhas no@defaulttag. Omitted, the menu adapts under a finger;'popover'pins the pointer behavior (component:DropdownMenuFR21 names the touch modes aspresentationnot pinned to'popover').Change
Only the generated core report changes, as
pnpm api:reportwrites it on main 67ad509: the twopresentationlines drop= 'popover'. No source, test, record or changeset changes.The CLI report is stale on main too. Its rows wait for their record, so this pull request leaves that file as it is.
Evidence
pnpm build,pnpm api:report --checkexits 1 with "stale: packages/core/api-report.md" (and the CLI report).pnpm api:report --checkno longer lists the core report; it still lists only the CLI report.packages/core/api-report.mdchanges, and it does not ship.Scope
Testing
pnpm install --frozen-lockfile,pnpm build, thenpnpm api:report --check(core listed stale on main, not here) andpnpm api:report, whose core output is this file. Alsopnpm check:changesets, Prettier on the report, andreview:pre(only its standing checklist). No open pull request edits these lines.No behavior change.