Skip to content

Platform: the edge checks each Worker is in service and which version it runs #13494

Open

Description

@dezren39

Today. Whether a Worker is in service is written in pm-stack/platform/workers.json by hand, from asking each address from outside on a given day (checked). The Platform screen says when that was. The edge does not check, because a Worker cannot ask another Worker on the same account by its public address (it is answered with error 1042) without the global_fetch_strictly_public setting, and that setting also changes how the console reaches the laptop through the tunnel.

What done looks like.

  • Each Worker in service answers GET /version (or says its version in a health answer) with no sign-in: the commit it was deployed from.
  • The edge asks each one on a schedule and keeps the answer: in service or not, the version, when it was asked. The Platform screen shows that in place of the hand-written state, and a Worker that stops answering raises a notification.
  • How the edge reaches them is decided and tested first: service bindings to each (no public hop, and no setting to change), or the setting with a test in the real runtime that the relay to the laptop still works (scripts/edge-smoke.ts).

Design record: doc/2026-11-23T06-50-00Z_architecture_pm_platform_cloudflare_core/.


Generated by Claude Code

Activity

  1. added
    app/pm-stack
    source/agent
    on Nov 23, 2026
  2. developing-today commented on Nov 23, 2026

    @developing-today
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/pm-stackkind/enhancementsource/agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions