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 — fix(pm-console): finish the edge cutover and address the first review by dezren39 · Pull Request #12511 · developing-today/code

Conversation

@dezren39

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

Uh oh!

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

Copy link
Copy Markdown
Member

Why

After #12505 the Worker was deployed and healthy, but the hostname still went straight to the laptop. expose.py judged the Worker "not deployed": its health check went out as Python-urllib, which Cloudflare answers with a 403 (curl from the same machine got the JSON). Reproduced from a second machine: -A Python-urllib/3.12 → 403, a named client → 200.

What changes

Cutover

  • The health check names its program (and nothing else), asks three times before believing a failure, and only accepts a Worker that says it is built for this hostname (/console/health now includes host).

Review findings on #12505

  • An action could run twice when the laptop did it and the answer was lost on the way back. An action is now named at the edge before it is relayed; the laptop records the name before starting and the outcome after; a held action offered under a known name is answered from that record, and one still running is left to finish.
  • A section the laptop could no longer read looked healthy at the edge. Every report now carries each section's read failure; the edge shows it with the last good copy, across its own restarts.
  • A late answer the dashboard refused was logged as done. Now logged as not recorded, with the reason.
  • Notifications after the move. The app checks on opening whether the sender still holds this device and under which key, and re-makes or re-registers the subscription without asking. The sender names the devices it holds by a short mark, never the address.
  • expose.py --check --edge off previews that choice instead of ignoring it.
  • redeploy.sh reads quoted settings the way systemd does.
  • build.mjs and edge-smoke.ts refuse arguments they do not take.
  • The no-answer message for actions that are not held no longer claims the action did not happen.

Not asked for

  • The contact handed to push services with every notification was the owner's address. It is now the project's page; delivery does not depend on it.

Checks

  • bun test: 104 pass (was 98). New: answer lost after the work; edge gives up while the work is still running; refused late answer; section health through a restart; subscription state; the two mark implementations agree, against a value worked out separately with hashlib.
  • python3 -m unittest: 15 pass (was 12). New: the request the health check really makes; one unanswered check does not take the hostname off the edge, three do, and it comes back; --check previews both directions and keeps nothing; a Worker built for another hostname is not routed.
  • shfmt and shellcheck clean on redeploy.sh; ruff, biome, prettier clean.
  • The app loaded in Chrome through the edge code on this branch: every main screen, no console errors.
  • Live: the new fetch_json against the deployed Worker returns its health JSON.

Not in this change

  • Phones linked for the widget are not carried across an edge on/off change (link again on the other side). No phone has been linked yet.
  • The registry row for pm-console-redeploy.timer was already in feat(pm-stack): serve the PM app from the edge; the laptop becomes a worker behind it #12505 (doc/fleet-schedule-registry.md, table 6).

Generated by Claude Code


See it in action
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.

chatgpt-codex-connector[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@claude
fix(pm-console): finish the edge cutover and address the first review
cd6390f
The hostname was not going through the Worker: the setup script's health
check went out as Python-urllib, which Cloudflare answers with a 403, so
the Worker looked undeployed. The check now names its program, asks
three times before believing a failure, and requires the Worker to say
it is built for this hostname.

Review findings on #12505:
- An action whose answer was lost could run twice. It is now named at
  the edge before it is relayed; the laptop records the name before
  starting and the outcome after, and answers a held action it already
  knows from that record.
- A section the laptop could no longer read looked healthy at the edge.
  Each report now carries every section's read failure.
- A late answer the dashboard refused was logged as done.
- Notifications after the move: the app re-makes or re-registers this
  device's subscription when the sender's key changed or the sender
  lost it. The sender names the devices it holds by a mark, not an
  address.
- expose.py --check --edge off previews that choice; redeploy.sh reads
  quoted settings as systemd does; build.mjs and edge-smoke.ts refuse
  arguments they do not take.

The contact given to push services with each notification was the
owner's address; it is now the project's page.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF
@dezren39
dezren39 requested a review from a team as a code owner November 22, 2026 11:46
@coderabbitai

coderabbitai Bot commented Nov 22, 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 4 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: 856c6bd6-3f72-4047-b3c7-05e169f37760
Commits

Reviewing files that changed from the base of the PR and between 7bfcaff and cd6390f.

Files selected for processing: 18

  • doc/2026-11-22T11-10-00Z_architecture_pm_console_edge/2026-11-22T11-10-00Z_architecture_pm_console_edge.md
  • pm-stack/console/edge/build.mjs
  • pm-stack/console/edge/src/edge.ts
  • pm-stack/console/edge/src/entry.ts
  • pm-stack/console/public/app.js
  • pm-stack/console/redeploy.sh
  • pm-stack/console/scripts/edge-smoke.ts
  • pm-stack/console/scripts/expose.py
  • pm-stack/console/scripts/test_expose.py
  • pm-stack/console/src/docs.ts
  • pm-stack/console/src/edge-proto.ts
  • pm-stack/console/src/push.ts
  • pm-stack/console/src/server.ts
  • pm-stack/console/src/sync.ts
  • pm-stack/console/test/app.test.ts
  • pm-stack/console/test/edge.test.ts
  • pm-stack/console/test/push.test.ts
  • pm-stack/console/test/redeploy.test.ts
  • 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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 22, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-22T11:48:19.910484Z cd6390f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

All reactions

Sorry, something went wrong.

Uh oh!

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

@dezren39
dezren39 merged commit 2d38b13 into main Nov 22, 2026
2 checks passed

Uh oh!

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

@dezren39
dezren39 deleted the claude/pm-edge-fixes branch November 22, 2026 11:47
This was referenced Nov 22, 2026
pm-console edge: do queue and GitHub operations from Cloudflare while the laptop is away #12518
Open
pm-console: a phone linked on one side is unknown to the other after an edge on/off change #12519
Closed
Rebuild commits that change files still leave the laptop's main ahead and behind at once #12520
Open
pm-console edge: limit the report endpoint, keep the Android build at the edge, deploy by the repo's cf flow #12521
Closed
docs(planning): record the console's move to the edge and what is left #12522
Merged
feat(pm-stack): serve the PM app from the edge; the laptop becomes a worker behind it #12505
Merged
plan: results first — priorities and order of work (2026-11-21) #12238
Open
@dezren39 dezren39 added the audit:no-issue No spawning issue; judged on stated intent label Nov 24, 2026
@dezren39 dezren39 mentioned this pull request Nov 24, 2026
AUDIT-7 Lane 4 — MERGED-PR-AUDIT: merged PRs since 2026-10-23 vs their spawning issues #13879
Open
@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 27, 2026
Stray work audit: PRs and issues not tied to a design or roadmap item #13874
Open
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

audit:no-issue No spawning issue; judged on stated intent

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.

2 participants

@dezren39 @claude
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.