Bounty: $45 (LT)
Area: market/ws, market/orderbook, market/matching
Current state: Order book snapshot recovery is covered, but there is no focused deterministic coverage for malformed, stale, or out-of-order WebSocket order book deltas and the state-preservation behavior around those failures.
What's needed: Add tests or helpers that validate WebSocket order book delta handling without requiring live services.
Acceptance criteria:
- Reject malformed bid/ask price, quantity, side, or symbol payloads with a clear error.
- Reject stale or out-of-order sequence updates without mutating the existing order book state.
- Preserve the current book after an invalid delta or checksum-style mismatch is encountered.
- Cover a valid snapshot followed by valid deltas so the recovery path and live update path are tested together.
- Keep the coverage deterministic on Windows and Unix-like hosts.
Required validation:
- Run
go test ./market/orderbook ./market/matching ./market/ws where the Go toolchain is available
- Run
python3 build.py
- Include the generated diagnostic
.logd artifact from diagnostic/build-XXX.logd; also include diagnostic/build-XXX.json if present
- Use
.github/pull_request_template.md for your submission
Tracker note: This issue is opened for the upstream LT bounty tracker; bounty eligibility and payout are determined by upstream review, merge, and tracker rules.
Bounty: $45 (LT)
Area:
market/ws,market/orderbook,market/matchingCurrent state: Order book snapshot recovery is covered, but there is no focused deterministic coverage for malformed, stale, or out-of-order WebSocket order book deltas and the state-preservation behavior around those failures.
What's needed: Add tests or helpers that validate WebSocket order book delta handling without requiring live services.
Acceptance criteria:
Required validation:
go test ./market/orderbook ./market/matching ./market/wswhere the Go toolchain is availablepython3 build.py.logdartifact fromdiagnostic/build-XXX.logd; also includediagnostic/build-XXX.jsonif present.github/pull_request_template.mdfor your submissionTracker note: This issue is opened for the upstream LT bounty tracker; bounty eligibility and payout are determined by upstream review, merge, and tracker rules.