GeezerVison is showing github.com — muse-agent-handoff: GET /version names the deployed commit (#15793) by developing-today-fleet[bot] · Pull Request #16556 · developing-today/code
Conversation
One follow-on slice of #15793 criterion 1 (parent #13494), in the shape of PR #16442 (github-ci), #16525 (fleet-git-rehost), #16536 (cf-container-hello), #16537 (cold-store-rehydrator), #16540 (lab-ops-hub), #16541 (d1-gateway), #16545 (fleet-hosted), #16548 (pm-notify), #16550 (voice-line) and #16553 (pkarr) — this one for muse-agent-handoff. Claimed by lane 0607-F at #15793 (comment).
What lands
scripts/muse/handoff/worker/src/version.js (new): pure versionAnswer(env) helper → {ok, service, version} from the VERSION var ("unknown" unstamped, trimmed).
scripts/muse/handoff/worker/src/index.js: unauthenticated GET /version answered ahead of the POST-only gate — it reads no state and no secret, so no gate rationale is touched. Non-GET on /version = 405; every other route unchanged.
scripts/muse/handoff/worker/version.test.mjs (new): hermetic node --test pins — stamped answer, unstamped/blank "unknown", trim of the helper, POST /version = 405, and the existing root/404 routes untouched. Oracle: Platform: implement edge Worker checks via service bindings (steps 1-2 of #13494) #15793 criterion 1 + the probe's version-field contract (commitOf in pm-stack/console/edge/src/worker-checks.ts).
- Deploy stamping in this Worker's own deploy paths (the pkarr/voice-line build-time pattern):
cloudflare.config.ts stamps VERSION from GITHUB_SHA at build time — both jobs of its bespoke release workflow (muse-handoff-upload.yml, staging + production upload) build from the checked-out commit, so each created version names it. wrangler.jsonc gains the honest "unknown" default so local dev and unstamped builds never fabricate a commit. The release contract's binding assertions name specific keys (not an exhaustive list), so the added text binding does not disturb them.
The stamp takes effect on this Worker's next release; until then it answers "unknown", which the probe records honestly.
Verification
Criterion-1 counter after this slice: 15 of 20 in-service Workers naming a deployed commit (from 14 after pkarr #16553; sibling slices in flight count when they merge). Refs #15793 (stays open — remaining gap Workers are follow-on slices; step 3 of #13494 stays separate).
{
"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-28T12:17:00Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": null,
"model": null,
"lane_start_issues": [],
"workspace_ref": null,
"auth_subject": "archer",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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:
5305bdf7-9632-46c2-8894-9d1e80694f82
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:
- 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
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 28, 2026
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|