Skip to content

Keep verifyBuildId tolerant of unstamped runtimes - #22

Merged
Mistium merged 2 commits into
developfrom
verify-build-id-tolerant
Sep 21, 2026
Merged

Mistium merged 2 commits into
developfrom
verify-build-id-tolerant

Conversation

@Mistium

@Mistium Mistium commented Sep 21, 2026

Copy link
Copy Markdown
Member

Follow-up to #21, which merged before this landed on the branch.

verifyBuildId currently requires every packager runtime to end with a stamped
build id. The editor stamps every runtime it emits, so that holds here — but the
standalone packager only stamps one in production builds, which makes a
development build refuse the scaffolding it just wrote. Upstream tolerated an
unstamped source for exactly that reason.

Restore it: a source that carries the marker still has to match, one that does
not is accepted. Nothing changes for the editor.

Caught by test/packager/build-id.test.js in MistWarp/packager#2, which passes
with this.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

Deploying scratch-gui with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6ab2af9
Status:⚡️  Build in progress...

View logs

Mistium and others added 2 commits September 21, 2026 03:27
The standalone packager only stamps a build id onto its scaffolding in
production, so a strict check makes a development build refuse the runtime it
just produced. Upstream tolerated an unstamped source for that reason; restore
it. The editor stamps every runtime it emits, so nothing changes here.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@Mistium
Mistium force-pushed the verify-build-id-tolerant branch from 5b80fb1 to 6ab2af9 Compare September 21, 2026 02:27
@Mistium
Mistium merged commit d68f1e5 into develop Sep 21, 2026
2 of 3 checks passed
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