Skip to content

chore(sandbox): remove the unused changelog generator - #13966

Merged
cixzhang merged 1 commit into
mainfrom
chore/sandbox-remove-changelog-generator
Nov 29, 2026
Merged

cixzhang merged 1 commit into
mainfrom
chore/sandbox-remove-changelog-generator

Conversation

@cixzhang

@cixzhang cixzhang commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Who this helps

Anyone who builds or runs the sandbox. Every pnpm build and pnpm dev in apps/sandbox ran a changelog generator whose output nothing reads. It printed 311 warnings a run, one for each CHANGELOG heading it did not map, and dropped the 3,677 entries under them; that noise buried real build output.

What changes

  • Removed: apps/sandbox/scripts/generate-changelog.js, which built src/generated/changelogRegistry.ts from four packages' CHANGELOG.md files.
  • Removed: its generate:changelog script, and its step in the sandbox's generate chain.
  • README: the build's list of generators no longer names it.

Nothing imported the registry: no sandbox surface has read it since its page was deleted (c10b472, 2026-06-11). The generated file was never tracked. Specs ruled on 11/27 to remove the generator rather than map its headings.

Evidence

  • No other file names changelogRegistry, generate-changelog or generate:changelog, and pnpm specs:for finds no record linked to the script.
  • pnpm generate in apps/sandbox runs clean without the step, with no changelog line in its output.
  • The sandbox's own tests pass (9 files, 75 tests). Quick preflight: see the receipt.

CI impact

CI impact: none. No workflow, action or CI script changes. The sandbox build skips one generator step.

Owning session: noopbot (a61f66c2), under CI & Release (ca77f950). Land path: the drain's serial merge loop, on green, CodeBunny approval and Specs' exact-head /approve-spec.

Overlap checked: #13877, #13873 (they also change apps/sandbox/package.json or README.md, in other scripts, dependencies or lines; neither touches the changelog generator, its script entry or the README's generator list)

No sandbox surface has read the changelog registry since its page was deleted (c10b472, 2026-06-11), yet every sandbox build and dev start ran scripts/generate-changelog.js and logged a warning for each CHANGELOG heading it did not map. The generator, its generate:changelog script and its place in generate are removed; the generated registry was never tracked and nothing imports it.
@vercel

vercel Bot commented Nov 28, 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 28, 2026 3:46pm UTC

Request Review

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

astracat-bot Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 28, 2026, 6:05 PM UTC

@github-actions

github-actions Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

🔎 Preview · f25bee0

Storybook · Sandbox · built from this PR's head

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

Not run on this PR: add ci:run-visual for Visual, ci:run-a11y for Accessibility, ci:run-rtl for RTL.


Generated by PR Enrichment workflow | View full report

@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec f25bee0

@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.

Changes requested: the code change is sound, and one sentence in the description needs correcting.

  • The description says the generator dropped 311 entries a run, but 311 is the number of warnings it printed (one per unmapped heading) and the base script drops 3,677 entries under those headings, so please reword it, for example: "It printed 311 warnings a run, one for each CHANGELOG heading it did not map, and dropped the 3,677 entries under them."

The overlap note also says the listed pull requests change apps/sandbox/package.json or README.md, but only #13877 and #13873 change either sandbox file; its no-overlap conclusion holds. CI has not run on this head because the pull request is a draft, and it starts once the pull request is marked ready for review.

Claims and files checked

Review mode: same-head; reason: none

  • Title, read live, "chore(sandbox): remove the unused changelog generator": verified; the generator has no reader at the head and is deleted.
  • Changed rules since the earlier review (0): none.
  • Claim, every sandbox build and dev run ran the generator: verified; both start with the generate chain, which called it at the base.
  • Claim, nothing reads its output: verified; a whole-repository search at the head for the registry module and every name it exported finds nothing.
  • Claim, it printed a warning for each CHANGELOG heading it did not map: verified; the unmodified base script prints 311 warnings, one per unmapped heading.
  • Claim, it dropped 311 entries a run: false; it drops 3,677 entries under those headings and keeps 3,755.
  • Claim, that noise buried real build output: reported.
  • Claim, the script built the registry from four packages' changelogs: verified; its source list names four CHANGELOG files.
  • Claim, its script entry and its step in the generate chain are removed: verified (apps/sandbox/package.json:13).
  • Claim, the README's generator list no longer names it: verified (apps/sandbox/README.md:27).
  • Claim, no sandbox page has read the registry since its page was deleted in June: verified at the base and the head, and #2748 removed the page that imported it; the history between is reported.
  • Claim, the generated file was never tracked: verified; no commit on the main branch or this branch touches it, and the sandbox ignores its generated folder.
  • Claim, an earlier ruling chose removal over mapping the headings: reported.
  • Claim, no other file names the registry, the script or its script entry: verified; a whole-repository search at the head finds none of the three.
  • Claim, the spec lookup finds no record linked to the script: reported; no current record names it.
  • Claim, the sandbox generate step runs clean without it: reported; CI has not run.
  • Claim, the sandbox's tests pass, 9 files and 75 tests, with a preflight receipt: reported; the 9 test files exist, and CI has not run.
  • Claim, no workflow, action or CI script changes, and the build skips one step: verified; all three changed files are under apps/sandbox.
  • Claim, eight open pull requests were checked for overlap: reported; none touches the generator, its script entry or the generator list, but only two change the sandbox's package.json or README.md.
  • Claim, the stated owner and landing path: reported; it describes process, not code.
  • File apps/sandbox/scripts/generate-changelog.js (deleted): clear; it has no remaining caller or reader.
  • File apps/sandbox/package.json: clear; consistent with the deletion, and the generated folder is still created before any later generator writes there.
  • File apps/sandbox/README.md: clear; the generator list matches the new chain.

Automated review (maintainer link)

@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 started on this head when the pull request was marked ready for review and is still running.

The corrected description now matches what the deleted generator did (311 warnings and 3,677 dropped entries a run), and nothing in the repository reads the registry it wrote, so removing the step is safe.

Claims and files checked

Review mode: same-head; reason: none

  • Changed rules since the earlier review (0): none.
  • Title, read live, "chore(sandbox): remove the unused changelog generator": verified; the generator has no reader at the head and is deleted.
  • Claim, every sandbox build and dev run ran the generator: verified; both scripts start with the generate chain, which called it at the base.
  • Claim, nothing reads its output: verified; a whole-repository search at the head for the registry module and every name it exported finds nothing.
  • Claim, it printed 311 warnings a run, one for each CHANGELOG heading it did not map: verified; the unmodified base script prints 311 warnings, one per unmapped heading.
  • Claim, it dropped the 3,677 entries under those headings: verified; the same rules drop 3,677 list items under them and keep 3,755.
  • Claim, that noise buried real build output: reported.
  • Claim, the script built the registry from four packages' changelogs: verified; its source list names four CHANGELOG files.
  • Claim, its script entry and its step in the generate chain are removed: verified (apps/sandbox/package.json:13).
  • Claim, the README's generator list no longer names it: verified (apps/sandbox/README.md:27).
  • Claim, no sandbox page has read the registry since its page was deleted in June: verified at the base and the head, and the June change removed the page that imported it; the history between is reported.
  • Claim, the generated file was never tracked: verified; no commit on the main branch or this branch touches it, and the sandbox ignores its generated folder.
  • Claim, an earlier ruling chose removal over mapping the headings: reported.
  • Claim, no other file names the registry, the script or its script entry: verified; a whole-repository search at the head finds none of the three.
  • Claim, the spec lookup finds no record linked to the script: reported; no current record names the sandbox's scripts, package manifest or README.
  • Claim, the sandbox generate step runs clean without it: reported; CI is still running.
  • Claim, the sandbox's tests pass, 9 files and 75 tests, with a preflight receipt: reported; the 9 test files exist, and CI is still running.
  • Claim, no workflow, action or CI script changes, and the build skips one step: verified; all three changed files are under apps/sandbox.
  • Claim, the two listed open pull requests change the sandbox's package manifest or README only in other scripts, dependencies or lines, and neither touches the generator, its script entry or the generator list: verified against their changed files.
  • Claim, the stated owner and landing path: reported; it describes process, not code.
  • Commit message claims (no reader since the page was deleted, a warning per unmapped heading, the registry never tracked): verified as above.
  • File apps/sandbox/scripts/generate-changelog.js (deleted): clear; it has no remaining caller or reader.
  • File apps/sandbox/package.json: clear; consistent with the deletion, and the generated folder is still created before any later generator writes there.
  • File apps/sandbox/README.md: clear; the generator list matches the new chain.

Automated review (maintainer link)

@cixzhang
cixzhang marked this pull request as ready for review November 28, 2026 18:00
@cixzhang
cixzhang merged commit 5d3a652 into main Nov 29, 2026
151 checks passed
@github-actions
github-actions Bot deleted the chore/sandbox-remove-changelog-generator branch November 30, 2026 06:03

This branch was successfully deployed

1 active deployment
Preview — f25bee00 Deployed Nov 28, 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