Repository navigation
kit-1256-presence-front-logs-upgrades: presence-pages' front logs WebSocket upgrades too - #1014
Merged
Merged
Conversation
…Socket upgrades too The test's front logs every WebSocket upgrade (refused 403, proxied or 502) in the request log a first-card timeout prints, so a repeat of test 2's hang shows the /presence attempts. Tests 1 and 2 assert the rows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Follow-up to kit-1250 final-1 F1.
test/presence-pages.test.mjs's front (the test's own proxy in front of the dashboard or hub) logged only plain HTTP requests in the log a first-card timeout prints; WebSocket upgrades take Node'supgradepath and weren't logged. So if test 2 ("socket refused") hangs again, its diagnostic couldn't say whether or when the page asked for/presence.{ url, in, answered, status, upgrade: true }, statusrefused 403,proxiedor502 <code>(the target couldn't be reached)./presenceupgrade; test 2 a refused one.Test-only, one file; no timeout or
flaky.jsonchange.How to verify
node --test --test-concurrency=2 test/presence-pages.test.mjs(Node 22+, Chrome): 5 pass. With the upgrade handler'sasked.push(row)removed, tests 1 and 2 fail withthe front logged the /presence upgrade as proxied: []and... as refused 403: []. With the page made to hang at its first card, the# front:diagnostic lists the/presenceupgrade rows.One-way doors
None.
🤖 Generated with Claude Code