Repository navigation
console: Platform screen reads the edge Worker checks + not-answer notification (#13494 step 3) - #17037
Merged
Conversation
…ks; a Worker that stops answering notifies (lane 1907-N) pm-stack/console/src/platform.ts
…ks; a Worker that stops answering notifies (lane 1907-N) pm-stack/console/src/ops.ts
…ks; a Worker that stops answering notifies (lane 1907-N) pm-stack/console/src/notify.ts
…ks; a Worker that stops answering notifies (lane 1907-N) pm-stack/console/src/server.ts
…ks; a Worker that stops answering notifies (lane 1907-N) pm-stack/console/edge/src/edge.ts
…ks; a Worker that stops answering notifies (lane 1907-N) pm-stack/console/public/app.js
…ks; a Worker that stops answering notifies (lane 1907-N) pm-stack/console/test/worker-checks.test.ts
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
This was referenced Nov 30, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes the step-3 remainder of #13494 (steps 1–2 landed under #15793: every in-service Worker answers
GET /versionnaming its deployed commit, and the edge asks each on a schedule over service bindings and keeps the round in its object's store).What this does
Ops.platform()now merges the edge's latest round of checks into the list it already serves: each Worker the round asked carries itscheck(answering, the commit it named, when it was asked), and the round's own time rides aschecksAt. The screen (public/app.js) shows the round's time in place of the hand-written "checked from outside" day, and a Worker's line now says what the edge's asking found — not answering (warn), or answering and naming the commit it runs (good) — ahead of the deploy record.workers.jsonkeeps its catalog facts (what each Worker is, where it lives, how it deploys); whether it is answering is no longer written by hand.Ops.workerChecksSourceis a door set by the side that starts the Ops: at the edge, the object's own store (machines.lastWorkerChecks()); on a machine, the edge's public health answer, which already carries the round asworkerChecks. No source wired, or a round that cannot be read whole, leaves the screen on the hand-written list alone — the parser (workerCheckSetin src/platform.ts) applies the edge's own rules and refuses a partial round.trouble, "A Worker has stopped answering", tagworker-<name>, opening the Platform screen), not again while it stays down, and again only after it has answered once more. A round that could not be read changes nothing; the first pass only takes stock.Verification
pm-stack/console/test/worker-checks.test.tswith hand-written oracles: the screen's parser reads a round whole or not at all; the merge annotates rows by name and invents nothing for Workers the round did not ask; the notifier tells once, re-arms on recovery, and stays silent on an unread round and on its first pass.Lane 1907-N (charlie ADVANCE, 2026-11-29).
{ "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-30T01:34:41Z", "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-botwith what you need.