Skip to content

fix(changeset): close the 26095 publishing-metadata changeset's frontmatter so changeset version parses again - #26458

Merged
os-steve merged 1 commit into
mainfrom
claude/project-thread-c4jd1i
Oct 27, 2026
Merged

os-steve merged 1 commit into
mainfrom
claude/project-thread-c4jd1i

Conversation

@os-steve

Copy link
Copy Markdown
Collaborator

Requested by Steve · project thread

Release blocker for 18.2.0. No card: the maintainer asked for it directly in the project thread ("阻塞项你现在优先解决", 2026-10-27 04:16Z).

维护者速读

What changes

.changeset/26095-publishing-metadata.md (added by #26198): on line 74 the closing --- of the frontmatter was glued to the last release line. This PR splits that line so the frontmatter closes. The diff is one line in, two lines out.

Why

changeset version reads every pending changeset. This file threw, so the whole command exited 1. Run 40426048088 (00:23Z) shows it in its Version PR maintenance job:

could not parse changeset - missing or invalid frontmatter.
  at parseChangesetFile (@changesets/parse@1.0.0 ...)

Run 40375928411 (10-26 18:14Z) is the earlier red. The 13:36Z run, before #26198, was green.

Pending release note correction (#17712, DELIBERATE CORRECTION)

This PR changes .changeset/26095-publishing-metadata.md, a pending release note it did not add. The correction leaves the note's meaning alone: the same 73 patch lines and the same body, with only the missing line break restored. Restoring the base text would put the parse failure back. Per the pr-automation.yml route 0 text, no skip-changeset label is applied, and Check Changeset is left red. That check is not a required context. Confirmation: the maintainer's request quoted above.

Verification

  • Ran @changesets/parse 1.0.0 (the version CI resolves) over every .changeset/*.md. Before this PR, 1 of 225 failed, and it was this file. After this PR, 0 of 225 fail.
  • changeset version (@changesets/cli 3.0.3) on a scratch worktree of this head: result is in the comment below.

Clause-②: no
Metadata-protocol: none

Human Minimum

  • 1. Schemas start as Zod; packages/spec holds no runtime logic. (not touched)
  • 2. Every name I added uses the casing for its kind. (none added)
  • 3. No formatter ran; pnpm lint passes.
  • 4. One issue, one branch off an up-to-date main, one pull request.
  • 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset. (this PR publishes nothing of its own; it repairs an existing changeset)
  • 6. packages/spec touched: n/a.
  • 7. No hand edits to content/docs/references/, packages/*/CHANGELOG.md or content/docs/releases/.
  • 8. Title, body and comments are in English.
  • The Before Submitting list in CONTRIBUTING.md is done.

Generated by Claude Code

…matter so `changeset version` parses again

Line 74 read `'create-objectstack': patch---`: the closing `---` was glued to
the last release line, so the frontmatter never closed and
@changesets/parse threw "missing or invalid frontmatter". Every scheduled
Version PR maintenance run since 2026-10-26 18:14Z failed on it, which left
the Version Packages PR #25640 frozen at d1ea236.

Split the line in two. No release line, bump or body text changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ADHkmPhbmyqwyDkSjg13F7
@os-steve os-steve self-assigned this Oct 27, 2026
@github-actions github-actions Bot added size/xs documentation Improvements or additions to documentation tooling labels Oct 27, 2026

Copy link
Copy Markdown
Collaborator Author

changeset version verification for this PR: I ran @changesets/cli 3.0.3 in a scratch worktree of main @ bb60b86f with this PR's one-file change applied. The repo's .changeset/config.json and changelog module were used, and nothing was committed.

🦋 changeset v3.0.3
All files have been updated. Review them and commit at your leisure
exit=0
  • All 225 pending changesets were consumed (225 D), and 238 files were modified (M).
  • The fixed group landed on 18.2.0. Checked on packages/spec/package.json and ui/packages/plugin-ai/package.json.

On main without this change, the same command fails at parse on 26095-publishing-metadata.md. That is the error the scheduled Version PR maintenance job has been hitting.


Generated by Claude Code

@os-steve
os-steve enabled auto-merge October 27, 2026 04:22

Copy link
Copy Markdown
Collaborator Author

Check Changeset is red, and that is expected. The pr-automation.yml route 0 calls this a DELIBERATE CORRECTION: the PR adds no changeset of its own, and its only .changeset row is an M on 26095-publishing-metadata.md. Route 0 says to leave the check red and record the confirmation on the PR. The confirmation is the maintainer's request quoted in the description. The later steps in the job pass: check-changeset-no-major says there is no major bump and finds Clause-②: no / Metadata-protocol: none at patch level.

Check Changeset is not a required context, so auto-merge can still go through on the required checks. I'm not changing anything, and I'm not re-running the check, because a re-run would turn red the same way by design.


Generated by Claude Code

@os-steve
os-steve added this pull request to the merge queue Oct 27, 2026
Merged via the queue into main with commit 11cb1d5 Oct 27, 2026
38 of 39 checks passed
@os-steve
os-steve deleted the claude/project-thread-c4jd1i branch October 27, 2026 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/xs tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants