Skip to content

fix(cf): bump pkgs/cf to 1.0.0-rc.6 — Build Output v1 for wrangler 4.169 deploys (#18023) - #18098

Merged
developing-today-fleet[bot] merged 3 commits into
mainfrom
xaltha/0900ja-18023-mb-deploy
Dec 1, 2026
Merged

developing-today-fleet[bot] merged 3 commits into
mainfrom
xaltha/0900ja-18023-mb-deploy

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Closes #18023

What broke

message-bridge deploy failed on main (run 46549623366, head acec744) at cf -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 4.163.0 (cloudflare/workers-sdk feat(pm-stack): restore-freshness reporter — per-store RPO ages of the current restore point (#3989 C4/C5) #16917) moved Build Output to v1: wrangler build --experimental-cf-build-output (the cf delegate path) writes .cloudflare/output/v1/ only. pkgs/wrangler is at 4.169.1.
  • pkgs/cf was still 1.0.0-beta.20, whose @cloudflare/build-output-utils 0.9.x reads v0 only — so cf could not find the root config wrangler had just written.
  • Every consumer package.json in the repo (message-bridge, mcpx, desktop-commander, atlas-search, pkarr-worker, decision-events) already declares cf: 1.0.0-rc.6; only the flake package lagged.

Fix

Upgrade pkgs/cf 1.0.0-beta.20 → 1.0.0-rc.6 following the update procedure documented in pkgs/cf/default.nix:

  • default.nix: version, src hash (from the published npm tarball), and npmDepsHash (harvested from verification run 46554324807's fixed-output mismatch message).
  • Vendored package.json: regenerated from the published rc.6 manifest with devDependencies/scripts stripped and the local undici: 7.30.2 override kept. Deps move to the rc train: @cloudflare/build-output-utils 1.0.0-rc.4 (reads/writes Build Output v1), @cloudflare/config 1.0.0-rc.4, @cloudflare/runtime-types 0.1.34, miniflare 5.20261123.1-beta.
  • package-lock.json: regenerated with npm 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)

  • Run 46555327122: nix build .#messageBridgeDeploy succeeds — cf 1.0.0-rc.6 and wrangler 4.169.1 build, and the messageBridge package's checkPhase (the worker's node --test suite) passes as part of the build.
  • Run 46556719907: staged the worker package exactly as deploy.mjs stagePackage() does (copy + flake cf/wrangler modules symlinked into node_modules) and ran cf -q build: cf --version reports 1.0.0-rc.6 and the build writes .cloudflare/output/v1/config.json — {"producer":{"name":"wrangler","version":"4.169.1"},"buildContext":{"isPreview":false}}.
  • Run 46558131997: the exact invocation that failed in CI, cf -q workers versions create --tag … --message … --dry-run, exits 0 in the staged package; cf workers versions create --help and cf workers deployments create --help both exit 0, so deploy.mjs's command surface is intact under rc.6 (no rename fallout).

Live confirmation: the message-bridge deploy workflow 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-bot with what you need.

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=.
@coderabbitai

coderabbitai Bot commented Dec 1, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0e5f5280-38f1-46fd-a5e3-2d43ee202dfe

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@developing-today-fleet
developing-today-fleet Bot merged commit f3d6487 into main Dec 1, 2026
2 checks passed
@developing-today-fleet
developing-today-fleet Bot deleted the xaltha/0900ja-18023-mb-deploy branch December 1, 2026 02:16
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.

ci(message-bridge deploy): cf finds no build-output root config after wrangler 4.169.0 bump (run 46549623366)

1 participant