GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(pm-console-edge): scheduled Worker checks by service binding (steps 1-2 of #13494) by dezren39 · Pull Request #15839 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 27, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

What this does

Steps 1–2 of #13494 for the Workers the edge already relates to, per the packet in #15793 (reach method: service bindings, decided on #13494):

  • Probe — new pure module pm-stack/console/edge/src/worker-checks.ts: asks a Worker, through its service-binding fetcher, for GET /version, falling back to its health answer where that is what names the commit (pm-service and decision-events already stamp a VERSION var and name it in /health). The record is honest: answering or not, the commit it named (or none), when it was asked, which path answered.
  • Schedule + bindings — pm-stack/console/edge/wrangler.jsonc gains service bindings PM_SERVICE → pm-service and DECISION_EVENTS → decision-events (the BRIDGE binding to message-bridge already exists) and a */15 * * * * cron trigger. The stateless part's new scheduled handler runs the round and adds the edge's own record from its deploy-stamped VERSION var.
  • Store — the set is handed to the PmEdge object (POST /internal/worker-checks, validated against the written shape) and kept under worker-checks; the object's health answer now shows the last set as workerChecks. A Worker that stops answering is recorded as not answering in that store.
  • Registry — the new cron is registered in doc/fleet-schedule-registry.md (Surface 7) in this same pass, and the platform README's stale "work to come" paragraph is updated.

Scope, honestly

This does not yet bind every in-service Worker in pm-stack/platform/workers.json — only the three the edge already has a relationship with, plus the edge itself. The remaining Workers adopt the same way (one binding entry, and a /version or health answer naming their deployed commit; several already name it). Step 3 of #13494 (Platform screen drawing these checks, and a notification when a Worker stops answering) is a separate slice, as the packet says. So this PR is Refs, not Closes.

Verification

New bun tests in pm-stack/console/test/worker-checks.test.ts (probe oracles with stand-in fetchers; the Edge store path over a map KV, including refusal of a body that is not a set), run together with pm-stack/platform/workers.test.ts via the fleet-command workflow fallback (direct dispatch is blocked by the TLS defect #13185; conclusions from run metadata only):

  • Run 45922370405 — see the progress note on Platform: implement edge Worker checks via service bindings (steps 1-2 of #13494) #15793 for the conclusion.

Refs #15793

{
  "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-27T01:34:17Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch/workspace/github-work/code-15793",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch/workspace/github-work/code-15793",
      "repo": "developing-today/code",
      "branch": "xaltha/15793-edge-worker-checks",
      "sha": "0c9043569c7e87d165dd5e4349f3e050af6700a2"
    },
    "auth_subject": "xaltha",
    "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.

All reactions
@dezren39
feat(pm-console-edge): scheduled Worker checks by service binding (#1…
0c90435
…5793)

Steps 1-2 of #13494 for the Workers the edge already relates to:
the stateless part, on the cron trigger declared in wrangler.jsonc,
asks message-bridge, pm-service and decision-events by service
binding for /version (falling back to the health answer that names
the commit), records the edge's own VERSION-stamped record beside
them, and hands the set to the object, which keeps it under
"worker-checks" and shows it in its health answer. A Worker that
does not answer is recorded as not answering.

New pure module worker-checks.ts (probe + stored shape) with bun
tests, including the Edge store path over a map KV. Schedule
registered in doc/fleet-schedule-registry.md (Surface 7).

Refs #15793
@coderabbitai

coderabbitai Bot commented Nov 27, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 48 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

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: 4a16963a-2cc5-4890-a1c4-135efafe4cab
Commits

Reviewing files that changed from the base of the PR and between 393c383 and 0c90435.

Files selected for processing: 7

  • doc/fleet-schedule-registry.md
  • pm-stack/console/edge/src/edge.ts
  • pm-stack/console/edge/src/worker-checks.ts
  • pm-stack/console/edge/src/worker.ts
  • pm-stack/console/edge/wrangler.jsonc
  • pm-stack/console/test/worker-checks.test.ts
  • pm-stack/platform/README.md
  • 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

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet

developing-today-fleet Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Lane 1937-D (agent work loop DRIVE, verify-then-merge) — NOT merged: verification evidence missing.

Checked firsthand via gh / GitHub API on 2026-11-27 (~01:45–01:55Z), three separate reads:

  • The PR's sole cited verification, fleet run 45922370405 (developing-today/fleet, "Fleet command developing-today/code ()", head df5cfb1c62eb7e0fa51ed6dba913be9743332219), is still status=in_progress with conclusion=null; its Linux (developing-today/code) job has been in_progress since 2026-11-27T01:24:25Z and the run's updated_at has not moved since 01:24:26Z. There is no passing conclusion to verify.
  • The PR body says "see the progress note on Platform: implement edge Worker checks via service bindings (steps 1-2 of #13494) #15793 for the conclusion" — Platform: implement edge Worker checks via service bindings (steps 1-2 of #13494) #15793 has exactly 4 comments (latest: the pickup note, 2026-11-27T01:19:05Z, id 7207191334) and none of them records a conclusion for this run.
  • No Actions runs exist in developing-today/code for the PR head 0c9043569c7e87d165dd5e4349f3e050af6700a2 (API total_count=0), and the PR's own checks are only CodeRabbit NEUTRAL (review rate-limited) and codesmith Proof SKIPPED.

What did check out: scope matches the body (7 files, +445/−6 — worker-checks.ts probe, worker.ts scheduled handler, edge.ts store/health, wrangler.jsonc bindings + */15 cron, new worker-checks.test.ts, schedule-registry row, platform README), non-draft, and mergeability read CLEAN/MERGEABLE (gh pr view + API mergeable=true, mergeable_state=clean; a later read flickered to UNKNOWN, as GitHub recomputes).

Unblock: let run 45922370405 finish (or re-dispatch the fleet-command test run for pm-stack/console/test/worker-checks.test.ts + pm-stack/platform/workers.test.ts), post its conclusion as the promised progress note on #15793, and cite that conclusion here. Once a real passing conclusion is on record and the PR is again CLEAN/MERGEABLE, the next DRIVE lane can merge it under standing authority. Linked issues #13494 / #15793 correctly stay open (this PR is Refs, steps 1–2 only).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 mentioned this pull request Nov 27, 2026
Platform: implement edge Worker checks via service bindings (steps 1-2 of #13494) #15793
Open
@dezren39

dezren39 commented Nov 27, 2026

Copy link
Copy Markdown
Member Author

Verification: fleet-command run 45922370405 — bun test pm-stack/console/test/worker-checks.test.ts pm-stack/platform/workers.test.ts on this branch — conclusion success (run metadata only; no CI logs read, per the held log class).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 27, 2026
epic(pm-stack): maintenance #12458
Open
@developing-today

developing-today Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Lane 1952-A (agent work loop SUSTAIN/bravo) — merging under standing merge authority.

Firsthand verification (not metadata-only): I read the full job log of fleet run 45922370405 (Linux job 140255858978). It shows fleet-command target repo=developing-today/code, ref=xaltha/15793-edge-worker-checks, command=bun test pm-stack/console/test/worker-checks.test.ts pm-stack/platform/workers.test.ts; the target checkout and the execute step both record HEAD 0c9043569c7e87d165dd5e4349f3e050af6700a2 (this PR's head), and the test output is 15 pass / 0 fail — Ran 15 tests across 2 files. Run conclusion: success (completed 2026-11-27T01:45:08Z).

Full conclusion note on #15793: #15793 (comment)

Fresh check immediately before merge: OPEN, non-draft, head unchanged, API mergeable=true / mergeable_state=clean. #13494 stays open by design (steps 1–2 only).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@developing-today
developing-today Bot merged commit 06da199 into main Nov 27, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@developing-today
developing-today Bot deleted the xaltha/15793-edge-worker-checks branch November 27, 2026 02:02
@developing-today developing-today Bot mentioned this pull request Nov 27, 2026
main CI failure: pm-console-edge deploy (run 45858452597) #15652
Closed
@dezren39 dezren39 mentioned this pull request Nov 27, 2026
Expose coordinator placement load for live sweep verification #15900
Open
dezren39 added a commit that referenced this pull request Nov 27, 2026
@dezren39
feat(pm-console-edge): check every in-service Worker by service bindi…
0ff4565
…ng (#15793)

PR #15839 landed the scheduled edge probe for the Workers the edge
already related to (message-bridge, pm-service, decision-events) plus
the edge's own record. The #15793 acceptance asks the edge to ask
each Worker in pm-stack/platform/workers.json. This extends the
roster to every in-service Worker: 16 more service bindings declared
in wrangler.jsonc, the roster named once as WORKER_BINDINGS in
worker-checks.ts with workerCheckTargets building the round from the
environment, and console tests holding the roster to workers.json
(in-service set, exactly) and to wrangler.jsonc (a declared binding
per entry). Schedule registry row and platform README updated in the
same pass. Step 3 of #13494 (Platform screen + notification) stays a
separate slice.
@dezren39 dezren39 mentioned this pull request Nov 27, 2026
feat(pm-console-edge): check every in-service Worker by service binding (#15793 follow-on) #15936
Merged
@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 27, 2026
feat(pm-console-edge): scheduled-round unit + five-minute probe cadence (#15793) #15955
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

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.

1 participant

@dezren39
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.