Repository navigation
fix(pm-console): what opening and using every page found, and the first report in the real Worker runtime - #12775
Merged
Merged
Conversation
…nd by opening every page
Every screen was opened and used on a phone-sized and a desktop
browser, against the app behind the edge and straight from the host.
- Moving to a screen that has to fetch (Queue, Agents, Phones, Sign-in,
Laptop away, Notifications) left the screen before it showing under
the new screen's name until the fetch came back, however long that
took. After 150 ms it now says "Loading <screen>…", and a new screen
opens at its top instead of wherever the last one was scrolled.
- The Agents screen did not load at all when the message log's answer
was empty ("Cannot read properties of null"). The host now answers
with a list whatever the fleet printed, a read that is not answered
with JSON is refused in one place, and a log that could not be read
is said to be that, not "No messages."
- Its "Send as a command" tick box was drawn as a text field; a tick
box is now a tick box wherever it sits.
- Queue and Ranked issues gave update times as UTC timestamps where
the rest of the app says "14 min ago".
- A pull request's check printed "undefined" for anything GitHub left
out.
- A written answer to a question vanished with no word; it now says
"Answer sent".
- Services buttons are named like every other button; the sign-in form
checks for its two values before asking the laptop; the Phones screen
no longer asks the host a question only the edge can answer.
The made-up host used to send the Queue screen's reads to the real
queue store's address with a made-up token. It has a queue store of its
own now, so that screen can be checked and nothing goes out.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF
… 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 <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 46 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. |
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.
What was asked
"Check each page and ensure it works well. Check each page loads well."
How it was checked
wrangler dev) against a host on the same machine.I looked at every screenshot.
What was wrong, and is fixed
So that it is caught next time
Checked
bun test: 186 pass. Planted faults for the new host and edge behaviour are caught (the log not a list; the first copy left unread).mainas it is now.Not checked
Generated by Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.