Skip to content

developing-today/code — desktop-commander worker promote CI failure (drift-guard refusal) #13478

Closed

Description

@dezren39

Main-branch CI failure — desktop-commander worker promote

Repo: developing-today/code
Workflow: desktop-commander worker promote (workflow_dispatch on main)
Failing run: https://github.com/developing-today/code/actions/runs/45220751438 (created 2026-11-23T16:49:03Z, conclusion failure)
Failed job: Verify and promote desktop-commander Worker Version — https://github.com/developing-today/code/actions/runs/45220751438/job/137854022079
Failed step: Promote only the verified upload (step 7) — node promote.mjs --manifest ... --promote exited 1

Error (from --log-failed)

Error: active version 37e2f6a3-f2ed-4f77-a84a-a7acf67f6ff4 is not the manifest baseline c2ac67bb-f7ab-4912-a820-aa2ead4aa908; refusing to promote over drift
    at file:///home/runner/work/code/code/pkgs/desktop-commander/worker/promote.mjs:74:9

All earlier steps green (checkout, setup-node, pinned cf CLI, verify-selected-upload-attempt, download-artifact).

Why this is new, not a dup of #13472

#13472 (CLOSED 16:49:25Z via merged fix PR #13473) failed at the same step with a different signature: cf workers versions get missing required --worker-id. The fix landed and promotion run 45220046876 SUCCEEDED at 16:45Z. This run (16:49Z, manually dispatched) gets past the fixed cf call and then trips the drift guard in promote.mjs:74: the live active version no longer matches the manifest baseline — plausibly superseded by the successful 16:45Z promote, i.e. a stale-baseline dispatch rather than a script bug, but that needs a verified read of promote.mjs and the manifest flow.

Suggested investigation

  • Read pkgs/desktop-commander/worker/promote.mjs around line 74 and the provenance-manifest flow that records the baseline.
  • Determine which upload attempt this dispatch targeted and whether its baseline was already superseded by run 45220046876's successful promote.
  • Decide: operator-stale dispatch (close with note + maybe guard messaging/label the dispatch inputs) vs script defect (fix + test).
  • Do not regress the fix(desktop-commander): versions get needs --worker-id (#13404) #13473 --worker-id fix.

Related: #13472 (prior promote failure, closed), #13429 (live desktop-commander worker publish fix, distinct workflow).

{
  "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-11-23T16:51:45Z",
    "session_id": "ses_e5df6af7c8cffeRveFsvSG8kzP",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "f3e85a4c781bd5d6d79e29fa8f508548d112d118"
    },
    "auth_subject": "oc-code-05",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. developing-today commented on Nov 23, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Verdict: operator-stale re-dispatch, compounded by a baseline-only guard that has since been fixed.

    Evidence:

    • Failed run 45220751438 (16:49:03Z) and successful run 45220046876 (16:45:19Z) targeted the SAME upload: UPLOAD_RUN_ID=45218020597, UPLOAD_RUN_ATTEMPT=1, same head SHA f3e85a4. Both logs show artifact desktop-commander-worker-upload-45218020597-1.
    • The 16:45Z run promoted the manifest version to 100%. The 16:49Z re-dispatch ran the old promote.mjs (strict check: active must equal manifest baseline c2ac67bb); live active was already 37e2f6a3 (the just-promoted version), so the guard refused as drift. Correct refusal under the old code, but the desired end state already held.
    • Guard defect already fixed by merged PR fix(desktop-commander): promote is a no-op when the verified upload already serves 100% #13479 (commit fa4b1d5): deploymentStatus() classifies already-promoted / at-baseline / drifted; the re-dispatch case is now an exit-0 no-op. promote tests 5/5 green on main; git diff --check clean.
    • Proof: fresh re-dispatch run 45222170211 with the same inputs just completed green: "verified desktop-commander version 37e2f6a3... (tag dc-b508d4046f97-run-45218020597-attempt-1) is already the sole 100% deployment; nothing to promote".

    Live state: version 37e2f6a3 serves 100%. No further action; closing. (Lane oc-code-05, task 21391.)

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions