Repository navigation
fix(pm-console): finish the edge cutover and address the first review - #12511
Merged
Merged
Conversation
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 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF
|
Warning Review limit reachedYou'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. View limit details
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. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Nov 22, 2026
Open
Closed
Open
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.
Why
After #12505 the Worker was deployed and healthy, but the hostname still went straight to the laptop.
expose.pyjudged the Worker "not deployed": its health check went out asPython-urllib, which Cloudflare answers with a 403 (curlfrom the same machine got the JSON). Reproduced from a second machine:-A Python-urllib/3.12→ 403, a named client → 200.What changes
Cutover
/console/healthnow includeshost).Review findings on #12505
expose.py --check --edge offpreviews that choice instead of ignoring it.redeploy.shreads quoted settings the way systemd does.build.mjsandedge-smoke.tsrefuse arguments they do not take.Not asked for
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 withhashlib.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;--checkpreviews both directions and keeps nothing; a Worker built for another hostname is not routed.shfmtandshellcheckclean onredeploy.sh;ruff,biome,prettierclean.fetch_jsonagainst the deployed Worker returns its health JSON.Not in this change
pm-console-redeploy.timerwas 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
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.