Skip to content

console: Platform screen reads the edge Worker checks + not-answer notification (#13494 step 3) - #17037

Merged
developing-today-fleet[bot] merged 7 commits into
mainfrom
lane-1907n-13494-step3
Nov 30, 2026
Merged

developing-today-fleet[bot] merged 7 commits into
mainfrom
lane-1907n-13494-step3

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Closes the step-3 remainder of #13494 (steps 1–2 landed under #15793: every in-service Worker answers GET /version naming 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

  • The Platform screen reads the probe store. Ops.platform() now merges the edge's latest round of checks into the list it already serves: each Worker the round asked carries its check (answering, the commit it named, when it was asked), and the round's own time rides as checksAt. 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.json keeps its catalog facts (what each Worker is, where it lives, how it deploys); whether it is answering is no longer written by hand.
  • Where the round is read from. Ops.workerChecksSource is 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 as workerChecks. No source wired, or a round that cannot be read whole, leaves the screen on the hand-written list alone — the parser (workerCheckSet in src/platform.ts) applies the edge's own rules and refuses a partial round.
  • A Worker that stops answering raises a notification. The console's notifier gains a workers section in the same shape as its store-token watch: a Worker in the round that did not answer is told of once (trouble, "A Worker has stopped answering", tag worker-<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

  • New tests in pm-stack/console/test/worker-checks.test.ts with 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.
  • Remote run on this branch (fleet-command, developing-today/fleet): to be recorded on Platform: the edge checks each Worker is in service and which version it runs #13494 with the run link before merge.

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-bot with what you need.

…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
@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown

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: e27b7b42-daa8-4491-8b43-b45988f5f068

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:

  • Trigger review
  • 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

@developing-today-fleet
developing-today-fleet Bot merged commit 99d7351 into main Nov 30, 2026
2 checks passed
@developing-today-fleet
developing-today-fleet Bot deleted the lane-1907n-13494-step3 branch November 30, 2026 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants