Repository navigation
fix(packets): node and observer filter races - #599
Merged
Merged
Conversation
…sponse Relates to #595 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Owner
Author
Rapport — CS-Minimax PR#599 #595 — head 5946944Status: Draft PR ready for review; all CI jobs green, no remaining failures. Point 1 — Node filter: slow press and late search response (upstream 2244)
Point 2 — Observer filter re-fetch (upstream 2242)
No code change for point 2; the fork already re-fetches and guards stale responses. The tests lock that in. [A] Checks
CI per job (run 40198218316)All pass: Go Build & Test, Go Ingestor, Go Libraries & CLI, Go Server 1/3, 2/3, 3/3, JavaScript Unit Tests & Lint, Script & Container Unit Checks, Playwright E2E 1/3, 2/3, 3/3, Validate Docker Image, Verify E2E Shards & Coverage, Verify Go Test Assignments, Build & Publish Docker Image. Skipped as expected: Publish Badges, Release Artifacts, Deploy Staging. No reruns needed; #271 did not trigger. [T] Remaining
|
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.
Relates to #595
Plan / what this does
Audit of the two upstream changes (read only) against our Packets page:
clickwhileblurhides the list after 200 ms; no guard against late/api/nodes/searchresponsesmousedownwithpreventDefault; sequence counter drops stale responses, bumped on every search and on pickloadPackets(), andloadPacketsdrops stale responses viapacketLoadGenerationAdapted, not cherry-picked: the E2E lives at the repo root and is registered in
scripts/e2e-shards.json(shard 1), matching our layout.Tests
test-issue-595-packets-filter-races-e2e.js(Playwright, route interception, held responses released explicitly, no sleeps for outcomes):/api/packets?observer=.Cases 2 and 3 fail on master and pass with the fix. Cases 4 and 5 pass on master (already fixed) and fail under mutants.
Perf
No new requests or loops. One integer counter per node search; the observer path is unchanged.
Not done
sh test-all.shpasses, 273 files.🤖 Generated with Claude Code