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): refuse bad reports unread, and say which commit the laptop runs by dezren39 · Pull Request #12715 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 22, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

What changes

Reports are refused unread once an address has sent too many bad ones (#12521, first item)

/console/edge/sync is open to anyone, because the laptop cannot sign in, and the edge read every body (up to 8 MB) before checking who sent it. Now:

  • A report that says it is too large, has no key name, or has no signature of the right shape is refused without its body being read, and the key name is checked before the body is read.
  • Each refused report counts against the address it came from. Twenty in a minute and that address is refused unread until the minute is out.
  • A report the laptop signed that is merely wrong (old clock, replay, unusable settings) is not counted: that is the laptop's to hear about, not a reason to shut it out.

The edge says which commit the laptop is running

The laptop's report names the commit its console was started from; /console/health repeats it as hostVersion. Whether a merge has reached the laptop can then be checked from anywhere. On 2026-11-22 the laptop stopped deploying merges for two hours and nothing outside it could tell.

Checks

  • bun test: 143 pass. New: twenty forged reports are each read and refused; the next from that address is refused before anything is read, shown with a body that fails the moment it is touched, and the same for a report the host itself signed; another address and the host's own report are unaffected; the address may try again a minute later; 25 signed-but-stale reports never trip it. The keyed limiter's own windows and table bound. The commit shows in health, survives an edge restart, and anything that is not a commit's name is not repeated.
  • Four planted faults in the refusal logic (never blocks, never counts, counts the host's own mistakes, reads before the shape check) are each caught.
  • bun run src/server.ts --check passes.

Refs #12521.

https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF


Generated by Claude Code

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 added 3 commits November 22, 2026 17:48
@claude
fix(pm-console): refuse an address's reports unread once too many hav…
97064b8
…e failed

/console/edge/sync is open to anyone, because the laptop cannot sign
in, and the edge read every body (up to 8 MB) before checking who sent
it. Now:

- A report that says it is too large, has no key name, or has no
  signature of the right shape is refused without its body being read.
- The key name is checked before the body is read.
- Each refused report counts against the address it came from; twenty
  in a minute and that address is refused unread for the rest of the
  minute. A report the host signed that is merely wrong (clock, replay,
  settings) is not counted.

Four planted faults in the new logic are each caught, including one
that only differs in whether the body is read.

Refs #12521.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF
@claude
Merge branch 'main' of https://github.com/developing-today/code into …
5f39e73
…claude/pm-sync-limit
@claude
feat(pm-console): the edge says which commit the laptop is running
7a58365
The laptop's report now names the commit its console was started from,
and the edge repeats it in /console/health as hostVersion. Whether a
merge has reached the laptop can then be seen from anywhere, without
reaching the laptop: on 2026-11-22 it stopped deploying merges for two
hours and nothing outside it could tell.

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 23:52
@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 51 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: d912bd49-647d-4900-a780-e029e40e9933
Commits

Reviewing files that changed from the base of the PR and between 0f0df46 and 7a58365.

Files selected for processing: 8

  • pm-stack/console/edge/README.md
  • pm-stack/console/edge/src/edge.ts
  • pm-stack/console/src/devices.ts
  • pm-stack/console/src/edge-proto.ts
  • pm-stack/console/src/server.ts
  • pm-stack/console/src/sync.ts
  • pm-stack/console/test/devices.test.ts
  • pm-stack/console/test/edge.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-22T23:54:01.121179Z 7a58365 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 56ad4c4 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-sync-limit branch November 22, 2026 23:57
This was referenced Nov 23, 2026
pm-console edge: limit the report endpoint, keep the Android build at the edge, deploy by the repo's cf flow #12521
Closed
Rebuild commits that change files still leave the laptop's main ahead and behind at once #12520
Open
dezren39 pushed a commit that referenced this pull request Nov 23, 2026
@claude
fix(pm-console): the laptop's first report no longer hangs for twenty…
694ea0c
… seconds, and the Worker runtime is tried before every deploy

Running the bundle in the real Worker runtime (scripts/edge-smoke.ts)
showed what no test under bun could: since the report-limit change
(#12715), a report signed with a key the edge had not seen yet was
never answered. The edge asked for the key without reading the upload,
the Worker then sent the same upload to the state a second time from a
second copy of the stream, and in the Worker runtime a first copy left
unread holds the second back. The laptop gave up after twenty seconds;
the key had been learned by then, so the next report went through. It
happens on first contact and after a change of key, so it was one slow
report, but the same code before that change answered at once.

The first copy is now read to its end before the key is asked for. It
is read at most once in the key-fetch interval and only up to a
report's size, so it is no way to make the edge read at will; every
other refusal is still made unread.

The deploy now runs the bundle in the Worker runtime against a host on
the runner and makes the smoke checks before it releases anything.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF
This was referenced Nov 23, 2026
fix(pm-console): what opening and using every page found, and the first report in the real Worker runtime #12775
Merged
AUDIT-7 Lane 4 — MERGED-PR-AUDIT: merged PRs since 2026-10-23 vs their spawning issues #13879
Open
@dezren39 dezren39 added the audit:partial PR partially implemented; gap filed label Nov 24, 2026
@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:partial PR partially implemented; gap filed

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.