Stub the two missing CHANGELOG.md, lint to prevent drift#499
Merged
RhysSullivan merged 1 commit intomainfrom May 4, 2026
Merged
Stub the two missing CHANGELOG.md, lint to prevent drift#499RhysSullivan merged 1 commit intomainfrom
RhysSullivan merged 1 commit intomainfrom
Conversation
…orward 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.
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
executor-marketing | f80f258 | Commit Preview URL Branch Preview URL |
May 04 2026, 07:48 AM |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
executor-cloud | f80f258 | May 04 2026, 07:49 AM |
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
release.ymlcrashed again on the same ENOENT, this time atpackages/core/vite-plugin/CHANGELOG.md. That package andpackages/plugins/examplewere added in #476 (Spec-driven plugin loading) without stubs — my restore PR (#496) only put back the 31 files that #491 had deleted, so drift was inevitable on the next package addition.scripts/check-changelog-stubs.ts(andbun run lint:changelog-stubs, wired intolint). Fails CI when any workspace package lacks a CHANGELOG.md, with a clear "you can run --fix" message.--fixmode auto-creates stubs from a templated body.So the next time someone adds a package, lint flags it in their PR rather than release.yml crashing days later.
Test plan
bun run lint— clean (script failure path verified by removing a stub and re-running)--fixmode creates the missing stub correctly