Skip to content

chore: regenerate the stale core API report - #9986

Merged
cixzhang merged 2 commits into
meta:mainfrom
vjeux:uikit/c19-api-report-regen
Nov 4, 2026
Merged

cixzhang merged 2 commits into
meta:mainfrom
vjeux:uikit/c19-api-report-regen

Conversation

@vjeux

@vjeux vjeux commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Maintainer impact

pnpm api:report --check reports packages/core/api-report.md as 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:report generates from the current build. The rows here only record a decision that main already merged: DropdownMenu's and MoreMenu's presentation has no @default tag. Omitted, the menu adapts under a finger; 'popover' pins the pointer behavior (component:DropdownMenu FR21 names the touch modes as presentation not pinned to 'popover').

Change

Only the generated core report changes, as pnpm api:report writes it on main 67ad509: the two presentation lines 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

  • Failure before the change: on main 67ad509, after pnpm build, pnpm api:report --check exits 1 with "stale: packages/core/api-report.md" (and the CLI report).
  • Success after the change: pnpm api:report --check no longer lists the core report; it still lists only the CLI report.
  • Product/runtime behavior verified unchanged: only packages/core/api-report.md changes, and it does not ship.

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 install --frozen-lockfile, pnpm build, then pnpm api:report --check (core listed stale on main, not here) and pnpm api:report, whose core output is this file. Also pnpm check:changesets, Prettier on the report, and review:pre (only its standing checklist). No open pull request edits these lines.

No behavior change.

@vercel

vercel Bot commented Nov 4, 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 4, 2026 8:14pm UTC

Request Review

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

cixzhang commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

/approve-spec 0ed0d53

@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

🔎 Preview · bb0da39

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 8 rows, core 2 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

`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.
@vjeux
vjeux force-pushed the uikit/c19-api-report-regen branch from 0ed0d53 to 186c219 Compare November 4, 2026 16:50
@vjeux vjeux changed the title chore: regenerate the stale core and CLI API reports chore: regenerate the stale core API report Nov 4, 2026
@astracat-bot

astracat-bot Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 4, 2026, 8:18 PM UTC

@cixzhang

cixzhang commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

/approve-spec 186c219

@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: 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]

@vjeux
vjeux marked this pull request as ready for review November 4, 2026 17:05
@cixzhang cixzhang added the ci:run A maintainer lets this outside contributor's pull request run CI (AST-030 FR17) label Nov 4, 2026
@cixzhang
cixzhang marked this pull request as draft November 4, 2026 17:11
@cixzhang
cixzhang marked this pull request as ready for review November 4, 2026 17:11
@cixzhang
cixzhang marked this pull request as draft November 4, 2026 18:59
@cixzhang
cixzhang marked this pull request as ready for review November 4, 2026 18:59
@cixzhang
cixzhang marked this pull request as draft November 4, 2026 20:04
@cixzhang
cixzhang marked this pull request as ready for review November 4, 2026 20:04

@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: 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 (colorVars and inputWrapperStyles, lines 3280 and 3376), so pnpm api:report --package core --check still fails on this branch; rerunning pnpm api:report --package core here updates only those two rows if you want this PR to leave the core report fresh.

[Automated review]

@cixzhang

cixzhang commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

/approve-spec bb0da39

@cixzhang
cixzhang merged commit 654b9c0 into meta:main Nov 4, 2026
76 of 114 checks passed
@vjeux
vjeux deleted the uikit/c19-api-report-regen branch November 4, 2026 23:51

This branch was successfully deployed

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

Labels

ci:run A maintainer lets this outside contributor's pull request run CI (AST-030 FR17) 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.

2 participants