Repository navigation
fix(cf): bump pkgs/cf to 1.0.0-rc.6 — Build Output v1 for wrangler 4.169 deploys (#18023) - #18098
Merged
Merged
Conversation
pkgs/wrangler went to 4.169.1, and wrangler >= 4.163 writes Build Output v1 (.cloudflare/output/v1/) only. pkgs/cf at beta.20 still reads v0, so every cf-delegated deploy broke with 'no root config found at .cloudflare/output/v0/config.json' (message-bridge deploy run 46549623366, #18023). cf rc.6 reads/writes v1 (@cloudflare/build-output-utils 1.0.0-rc.4) and is the version every consumer package.json in the repo already declares. Vendored package.json regenerated from the published rc.6 manifest (devDependencies/scripts stripped, local undici 7.30.2 override kept); package-lock.json regenerated with npm install --package-lock-only. npmDepsHash is a placeholder, harvested from the verification build.
Harvested from run 46554324807: hash mismatch in cf-1.0.0-rc.6-npm-deps, got sha256-fkIajVBNd962sGtM9a4sixqz+sgfX1/vUuA/TKQmwDU=.
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
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.
Closes #18023
What broke
message-bridge deployfailed on main (run 46549623366, head acec744) atcf -q workers versions create: "Build Output Specification: no root config found at .cloudflare/output/v0/config.json".Root cause is a toolchain version skew in the flake:
wrangler build --experimental-cf-build-output(the cf delegate path) writes.cloudflare/output/v1/only.pkgs/wrangleris at 4.169.1.pkgs/cfwas still 1.0.0-beta.20, whose@cloudflare/build-output-utils0.9.x reads v0 only — so cf could not find the root config wrangler had just written.package.jsonin the repo (message-bridge, mcpx, desktop-commander, atlas-search, pkarr-worker, decision-events) already declarescf: 1.0.0-rc.6; only the flake package lagged.Fix
Upgrade
pkgs/cf1.0.0-beta.20 → 1.0.0-rc.6 following the update procedure documented inpkgs/cf/default.nix:default.nix: version, src hash (from the published npm tarball), andnpmDepsHash(harvested from verification run 46554324807's fixed-output mismatch message).package.json: regenerated from the published rc.6 manifest with devDependencies/scripts stripped and the localundici: 7.30.2override kept. Deps move to the rc train:@cloudflare/build-output-utils1.0.0-rc.4 (reads/writes Build Output v1),@cloudflare/config1.0.0-rc.4,@cloudflare/runtime-types0.1.34,miniflare5.20261123.1-beta.package-lock.json: regenerated withnpm install --package-lock-only(62 packages; undici resolves to the overridden 7.30.2).This also re-aligns the other flake cf consumers (pkarr deploy, cf-container-hello deploy, deploy services) with the cf version their manifests declare.
Verification (remote dispatch, head 372acba — pkgs/cf is byte-identical at this PR's head)
nix build .#messageBridgeDeploysucceeds — cf 1.0.0-rc.6 and wrangler 4.169.1 build, and the messageBridge package's checkPhase (the worker'snode --testsuite) passes as part of the build.deploy.mjsstagePackage()does (copy + flake cf/wrangler modules symlinked into node_modules) and rancf -q build:cf --versionreports 1.0.0-rc.6 and the build writes.cloudflare/output/v1/config.json—{"producer":{"name":"wrangler","version":"4.169.1"},"buildContext":{"isPreview":false}}.cf -q workers versions create --tag … --message … --dry-run, exits 0 in the staged package;cf workers versions create --helpandcf workers deployments create --helpboth exit 0, so deploy.mjs's command surface is intact under rc.6 (no rename fallout).Live confirmation: the
message-bridge deployworkflow run on main after this merge.Lane 0900-JA (xaltha, wave 0900).
{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-12-01T02:15:48Z", "session_id": null, "lane": null, "host": "htch-runtime", "worktree": "/home/hatch", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/hatch", "repo": "developing-today/code", "branch": "main", "sha": "1afb80aa405c56b71c8a63176670cb22ba449a92" }, "auth_subject": "xaltha", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.