GeezerVison is showing github.com — CF-1 (#14866): versions deploy standard for all Workers + adoption by hand-deployed Workers · Issue #14941 · developing-today/code
CF-1 (#14866): versions deploy standard for all Workers + adoption by hand-deployed Workers #14941DescriptionCF-1 — Versions deploy standard + adoption by hand-deployed Workers.
Generalise the estate's working deploy pattern (pm-console-edge / decision-events) into one standard and adopt it for every in-scope Worker that still deploys by hand: build in GitHub Actions (Nix where the Worker already builds that way; the Nix Cloudflare Worker GitHub Action to build/publish where it fits) → wrangler versions upload stamped with the full commit SHA → health gate (the new version reports deployed commit == merge commit) → wrangler versions deploy → rollback = promote the previous version id (a rollback_version workflow input, as pm-console-edge has).
Adoption list (from pm-stack/platform/workers.json, checked 2026-11-23 — re-verify each live as the first step; some may already have workflows): message-bridge, github-ci, voice-line, muse-agent-handoff, desktop-commander, fleet-hosted, cold-store-rehydrator, developing-today-backup, fleet-git-rehost, lab-ops-hub, cf-container-hello. atlas-search is excluded (Atlas exception, #14866 §5).
Also: each adopted Worker's workers.json entry gains its last-deployed commit, written by its pipeline, not by hand.
Acceptance: every listed Worker deploys from Actions via versions with a health gate and a recorded rollback; workers.json reflects pipeline-written deploy state; a rollback by version promotion is demonstrated on at least one Worker.
Child of #14866 (Cloudflare-first migration programme). Design of record: doc/2026-11-25_design_cloudflare-first-migration.md (PR #14940). Secrets by name only. Deploys follow the versions standard in design §4 unless this issue says otherwise.
{
"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-25T08:47:57Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": null,
"model": null,
"lane_start_issues": [],
"workspace_ref": null,
"auth_subject": "felix",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Activitydeveloping-today commented on Nov 25, 2026 developing-today-fleet commented on Nov 25, 2026 ContributorAuthor More actions agent-note:v1 — claimed by felix (queue task 23733).
Premise check (2026-11-25, main a53427d): issue open, no open PR. Re-verified the adoption list live against .github/workflows/:
- Already on versions-style Actions deploys (workers.json drift — recorded 'by hand' but a deploy workflow exists): message-bridge (message-bridge-deploy.yml, with rollback_version), voice-line (voice-line-worker-deploy.yml + promote), muse-agent-handoff (muse-handoff-upload.yml + promote), desktop-commander (desktop-commander-worker-publish.yml + promote), developing-today-backup (github-backup-worker-release.yml, upload/promote with health gate).
- No deploy workflow at all (the real CF-1 gap): github-ci, fleet-hosted, cold-store-rehydrator, fleet-git-rehost, lab-ops-hub, cf-container-hello (their workflows are tests only).
This lane: (1) one standard versions-release workflow covering the six gap Workers (versions upload tagged with the commit, deploy at 100%, health gate with the Worker's own marker, auto-restore of the previous version on gate failure, rollback_version-style input, and a record job that writes lastDeployedCommit/deploy/workflow back into pm-stack/platform/workers.json — pipeline-written, not by hand); (2) workers.json drift fixes for the five already-adopted Workers + a lastDeployedCommit field (null until a pipeline writes it).
First live run of the new workflow happens after merge (workflows run from main); the rollback demonstration is the first deploy's gate-failure path plus a rollback dispatch on one Worker — recorded here when run. developing-today-fleet commented on Nov 25, 2026 ContributorAuthor More actions agent-note:v1 — CF-1 standard landed as PR #14971 (head 5fb4e76), left unmerged for review.
Contents: .github/workflows/cf-worker-versions-release.yml (the §4 standard for the six no-workflow Workers, with health gate + auto-restore + rollback-by-promotion + workers.json record job) and the workers.json drift fixes / lastDeployedCommit field described in the claim comment (7157679845).
Verification: YAML parsed locally (3 jobs, 3 dispatch inputs); workers.json re-parsed as valid JSON. Remote workflow-lint dispatched via the fleet-command workflow bypass (direct fleet queue dispatch refused HTTP 403, the known fleet-forks integration limit): run 45580939525 in developing-today/fleet — still in_progress at this note (executor slowness); its CHECK_EXIT line is the remaining evidence to collect.
Remaining after merge: dispatch the new workflow once per gap Worker (deploy), then one rollback dispatch on one Worker, and confirm the record job's workers.json commits land — that completes the acceptance. developing-today-fleet commented on Nov 25, 2026 ContributorAuthor More actions CF-1 acceptance complete (Felix, 2026-11-25). The versions-release workflow (PR #14971, merged) was exercised end to end for all six in-scope Workers:
- Deploys: github-ci 45597952950 success, fleet-hosted 45597982354 success, fleet-git-rehost 45598017426 success, lab-ops-hub 45598037117 success, cf-container-hello 45598061299 success — each uploaded a version, deployed @100, passed its health gate, and its record job committed lastDeployedCommit to pm-stack/platform/workers.json on main.
- cold-store-rehydrator 45597998603: deploy + health gate succeeded; its record push lost a race against the other five record commits (filed as cf-worker-versions-release: record job push race when several Workers release together #15041). Repaired by solo re-dispatch 45600669996 (success); workers.json now records it.
- Rollback proven: github-ci rolled back to its previously-serving version 0eaf3d32-6f6f-4819-96fd-b9366d26a6d8 (run 45600698901, success, health gate passed), then re-deployed to current main (run 45601502356, success).
All six Workers now serve versions deployed by this pipeline and workers.json records all six. Closing CF-1. Refs #14941
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|