Skip to content

fix(ci): publish releases with patched Node 24 - #99

Merged
callumflack merged 1 commit into
mainfrom
callum/fix-security-release-publisher
Oct 22, 2026
Merged

callumflack merged 1 commit into
mainfrom
callum/fix-security-release-publisher

Conversation

@callumflack

Copy link
Copy Markdown
Member

The security release builds all four SEA binaries, but its GitHub asset upload fails under Node 26.12.1 with UND_ERR_INVALID_ARG: invalid content-length header. The current semantic-release GitHub plugin uses undici 7, which passes a numeric content-length to Node 26’s default dispatcher.

Run only the semantic-release publishing job on patched Node 24.22.1. All shipped SEA binaries remain on patched Node 26.12.1.

Validation: a localhost upload using the actual installed undici 7.21.0 reproduces the failure under 26.12.1 and succeeds with HTTP 201 under 24.22.1; workflow YAML parses without errors; scoped Prettier and git diff checks pass. The failed v0.41.6 draft has no assets and was never published; this fix triggers a subsequent patch release without rewriting its tag.

@callumflack
callumflack merged commit c823f88 into main Oct 22, 2026
7 checks passed
github-actions Bot pushed a commit that referenced this pull request Oct 22, 2026
## [0.41.7](v0.41.6...v0.41.7) (2026-10-22)

### Bug Fixes

* **ci:** publish releases with patched Node 24 ([#99](#99)) ([c823f88](c823f88))
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