fix: bound websocket thread window enqueue waits

Wait for the writer to drain within the finite request deadline, terminate when a CLOSED frame cannot be queued, and select parser and wire regressions in CI.

Co-authored-by: Kalvin Chau <kalvin@block.xyz>

Signed-off-by: Kalvin Chau <kalvin@block.xyz>
This commit is contained in:
am
2026-09-23 15:30:29 -07:00
parent f225a0abed
commit 32416d88e6
4 changed files with 95 additions and 25 deletions

View File

@@ -591,6 +591,7 @@ jobs:
cargo test -p buzz-test-client --test e2e_relay invite -- --ignored --nocapture
cargo test -p buzz-test-client --test e2e_relay nip43_membership_snapshots_are_rejected -- --ignored --nocapture
cargo test -p buzz-test-client --test e2e_relay nip29_departure_wire -- --ignored --nocapture
cargo test -p buzz-test-client --test e2e_relay test_thread_window_req_returns_rows_bounds_and_eose -- --ignored --nocapture
env:
RELAY_URL: ws://localhost:3000
GIT_CREDENTIAL_NOSTR_BIN: ${{ github.workspace }}/target/ci/git-credential-nostr