Skip to content

ci: leave release-please's scaffold.json bump out of oxfmt - #284

Merged
sunerpy merged 1 commit into
mainfrom
fix/release-scaffold-format
Oct 1, 2026
Merged

sunerpy merged 1 commit into
mainfrom
fix/release-scaffold-format

Conversation

@sunerpy

@sunerpy sunerpy commented Oct 1, 2026

Copy link
Copy Markdown
Owner

Summary

The 0.51.0 release PR (#272) fails make check on Linux: oxfmt --check rejects .github/scaffold.json (job 110240240573, run 36820051008). Release-please's JSON extra-file updater rewrites the whole file to bump placeholders.CURRENT_VERSION and expands the inline "addons": ["codecov"] array, which oxfmt formats back inline. The file entered release-please's extra-files in #271, so this release is the first to hit it. Merged as is, the same check would fail main CI on the release commit, and the release workflow waits for an exact-SHA CI Success there, so the release could not publish.

  • .github/scaffold.json joins the release-please-owned entries in .oxfmtignore (beside changelog/, .release-please-manifest.json and release-please-config.json).
  • The file is committed in the shape release-please writes, so a release PR changes only the version line from now on.

No product, test or golden impact.

Verification

  • oxfmt --check --ignore-path .oxfmtignore . passes (42 files), scripts/check-workspace-versions.sh passes, and its harness scripts/tests/check-workspace-versions.test.sh reports 12 passed, 0 failed.
  • Pushed with --no-verify after those targeted checks; CI runs the full gate.

🤖 Generated with Claude Code

The release PR for 0.51.0 failed `make check`: release-please's JSON
extra-file updater rewrites the whole of `.github/scaffold.json` to bump
`placeholders.CURRENT_VERSION`, expanding the inline `addons` array, and
oxfmt rejects the expanded form. Merged as is, the same check would fail
main CI on the release commit and with it the release workflow's
exact-SHA CI gate.

The file joins the release-please-owned entries in `.oxfmtignore`, and
is committed in the shape release-please writes, so a release PR now
changes only the version line.
@codecov

codecov Bot commented Oct 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #284   +/-   ##
=======================================
  Coverage   95.29%   95.29%           
=======================================
  Files         158      158           
  Lines       97623    97623           
=======================================
+ Hits        93028    93029    +1     
+ Misses       4595     4594    -1     

see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sunerpy
sunerpy merged commit e973f12 into main Oct 1, 2026
9 checks passed
@sunerpy
sunerpy deleted the fix/release-scaffold-format branch October 1, 2026 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant