Restore CHANGELOG.md stubs — fix release.yml ENOENT#496
Merged
RhysSullivan merged 1 commit intomainfrom May 4, 2026
Merged
Conversation
#491 deleted 31 empty workspace CHANGELOG.md files based on an empirical test that they weren't regenerated. That test only exercised the changesets *CLI*. The `changesets/action@v1` GitHub Action wrapping the CLI in `release.yml` ALSO reads each bumped package's CHANGELOG.md to build the Version Packages PR description, and crashes with ENOENT when any of them is missing. Concretely, after #491 + #495 merged to main, release.yml failed: Error: ENOENT: no such file or directory, open '/home/runner/work/executor/executor/apps/cli/CHANGELOG.md' at file:///home/runner/work/_actions/changesets/action/v1/dist/index.js:61:49311 Restoring all 31 stubs unblocks the release workflow. The stubs are required by tooling, not by humans — they hold one-line "this exists for changesets compatibility" disclaimers and never get release content. Updates RELEASING.md and .skills/cli-release/SKILL.md to explain why the stubs exist so this regression doesn't recur.
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
executor-cloud | b384707 | May 04 2026, 07:09 AM |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
executor-marketing | b384707 | Commit Preview URL Branch Preview URL |
May 04 2026, 07:08 AM |
4 tasks
RhysSullivan
added a commit
that referenced
this pull request
May 4, 2026
…orward (#499) release.yml failed again on the latest main with the same ENOENT — this time on `packages/core/vite-plugin/CHANGELOG.md`. That package and `packages/plugins/example` were added in #476 (Spec-driven plugin loading) without stubs, after my restore PR (#496) only put back the files #491 had deleted. Drift was inevitable as soon as the next package landed. This PR: - Adds the two missing stubs. - Adds `scripts/check-changelog-stubs.ts` and wires it into `bun run lint`. Fails CI when any workspace package directory lacks a CHANGELOG.md, with a clear message explaining why the stubs exist (changesets/action@v1 reads them) and pointing at the `--fix` flag. - `--fix` mode auto-creates stubs with a templated body. So the next time someone adds a package, lint flags it in PR rather than release.yml crashing later.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Reverts the CHANGELOG.md deletions from #491. Restores 31 one-line stubs.
Why
#491 deleted the empty workspace
CHANGELOG.mdfiles based on an empirical test that the changesets CLI didn't regenerate them. That test only exercised the CLI. Thechangesets/action@v1GitHub Action wrapping the CLI inrelease.ymlalso reads each bumped package'sCHANGELOG.mdto build the Version Packages PR description, and crashes with ENOENT when any is missing.After #491 + #495 merged, the release workflow on
4d0709b7failed with:This blocks the Version Packages PR from opening, which blocks the 1.4.14 release.
Changes
CHANGELOG.mdstubs from1eb32c86^.RELEASING.md+.skills/cli-release/SKILL.md— explain why the stubs exist (required bychangesets/action@v1, not by the CLI), so this regression doesn't recur.Test plan
bun run lint— cleanbun run lint:release-notes— cleanrelease.ymlsucceeds and opens the Version Packages PR for 1.4.14