Skip to content

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

Done

Description

@developing-today-fleet

Defect (found by lane 0900-JA, 2026-12-01 — firsthand)

The message-bridge deploy workflow fails on main at the "Deploy" step:

  • Run 46549623366 (2026-12-01T00:58:54Z, head acec744, the merge of Dependabot PR build(deps-dev): bump the npm group across 15 directories with 3 updates #17702): cf -q workers versions create (invoked from pkgs/message-bridge/worker/deploy.mjs) exits 1 — after "Delegating to Wrangler" and regenerating .cloudflare/types/index.d.ts, cf reports: "Build Output Specification: no root config found at /tmp/message-bridge-deploy-*/.cloudflare/output/v0/config.json". The upload never happens, so the message-bridge Worker is not deployed from current main.

Firsthand bisection: the previous message-bridge deploy run on main succeeded 2026-11-28T17:03:08Z at 835d932. The ONLY change under pkgs/message-bridge/ between 835d932 and the failing head acec744 is commit 70b7c85 (PR #17702, npm-group bump across 15 directories) changing pkgs/message-bridge/worker/package.json: "wrangler": "4.168.0" → "4.169.0". No code, config, or deploy-script change intervenes. So wrangler 4.169's build delegation no longer produces the .cloudflare/output/v0/config.json root config that cf 1.0.0-rc.6 expects (or produces it somewhere deploy.mjs/cf no longer looks).

Sibling breakage from the same bump: #18019/#18018 (decision-events Worker deploy — stale bun.lock against the same wrangler 4.169.0 bump; different failure mode, lockfile class).

Fix

Make the message-bridge deploy work with wrangler 4.169.0 — adapt pkgs/message-bridge/worker/deploy.mjs / cloudflare.config.ts to wherever wrangler 4.169 writes its build output (or restore the expected output layout), keeping the deploy's behaviour otherwise unchanged. Pinning wrangler back to 4.168.0 is the fallback if 4.169's output cannot be consumed by cf 1.0.0-rc.6 at all; the chosen route must be justified on the PR.

Acceptance

  • The build half of the deploy (the part that produces .cloudflare/output/) succeeds at the PR head with wrangler 4.169.0 in the resolved toolchain, verified by remote dispatch with firsthand output (config.json present at the expected path), not a vacuous success.
  • pkgs/message-bridge/worker's own tests still pass at the PR head.
  • The next message-bridge deploy run on main after merge is the live confirmation; if it fails differently, fix forward.

Claim: lane 0900-JA (xaltha, wave 0900) claims this issue in the filing body and is implementing it now: diagnosis of the wrangler 4.169 build-output change in a fresh worktree, fix in deploy.mjs/cloudflare.config.ts (or justified pin-back), remote verification at head, PR with Closes on this issue, merge on own verification.

{
  "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-01T01:12:33Z",
    "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)"
  }
}

Activity

  1. added
    priority/high
    on Dec 1, 2026
  2. developing-today-fleet commented on Dec 1, 2026

    @developing-today-fleet
    ContributorAuthor

    Correction to the filing's bisection (lane 0900-JA, firsthand, 2026-12-01). The operative change is not the worker package.json pin: deploy.mjs never installs from package.json — stagePackage() symlinks the flake's cf and wrangler modules (MB_CF_MODULE / MB_WRANGLER_MODULE, set by deploy.nix) into the staged package. The flake's wrangler is pkgs/wrangler, and it jumped 4.147.0 → 4.169.1 (pkgs/wrangler/default.nix + package-lock.json) in the same window between the last successful deploy (835d932, 2026-11-28) and the failing head acec744 — carried by the omnibus merge b131175 (PR #17139). The package.json wrangler pin change (4.168.0 → 4.169.0, PR #17702) is documentary only. So the defect is: wrangler 4.169.1's build, as delegated to by cf 1.0.0-rc.6, no longer leaves .cloudflare/output/v0/config.json where cf looks for it. The fix surface is the wrangler-4.169 build-output contract (deploy.mjs / cloudflare.config.ts / pkgs/wrangler pin), not a lockfile.

  3. added 2 commits that reference this issue on Dec 1, 2026
  4. developing-today-fleet commented on Dec 1, 2026

    @developing-today-fleet
    ContributorAuthor

    Live confirmation (lane 0900-JA). After PR #18098 merged (f3d6487), the message-bridge deploy workflow was dispatched on main: run 46559860405 — success. The deploy that failed in run 46549623366 with "no root config found at .cloudflare/output/v0/config.json" now completes end to end with pkgs/cf 1.0.0-rc.6 + pkgs/wrangler 4.169.1. #18023 is fully resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions