Skip to content

[codex] Add Alloy WebSocket subscriber - #11

Merged
KaiCode2 merged 1 commit into
mainfrom
codex/alloy-subscriber
Jun 22, 2026
Merged

[codex] Add Alloy WebSocket subscriber#11
KaiCode2 merged 1 commit into
mainfrom
codex/alloy-subscriber

Conversation

@KaiCode2

Copy link
Copy Markdown
Owner

Summary

  • Make AlloySubscriber drive WebSocket/pubsub subscriptions by default under reactive-ws, with HTTP polling exported through opt-in reactive-polling.
  • Add source-specific WebSocket reconnect handling with an immediate first retry, three attempts by default, log gap backfill from the last seen block, and recent canonical input duplicate suppression.
  • Add the live AMM probe example, subscriber tests, feature-gating coverage, README updates, and changelog notes.

Validation

  • cargo test
  • cargo test --no-default-features
  • cargo test --no-default-features --features reactive,reactive-polling
  • cargo test --all-features --test reactive_alloy_subscriber
  • cargo clippy --all-targets --no-deps -- -D warnings
  • cargo clippy --no-default-features --features reactive,reactive-polling --all-targets --no-deps -- -D warnings
  • cargo clippy --all-features --all-targets --no-deps -- -D warnings
  • RUSTDOCFLAGS="-D warnings" cargo doc --no-deps
  • RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --no-default-features --features reactive,reactive-polling
  • cargo fmt --all --check
  • git diff --check
  • Live WS AMM probe against mainnet observed subscribed AMM logs with reconnect state enabled.

@KaiCode2
KaiCode2 marked this pull request as ready for review June 22, 2026 16:18
@KaiCode2
KaiCode2 merged commit 77b77bd into main Jun 22, 2026
2 checks passed
@KaiCode2
KaiCode2 deleted the codex/alloy-subscriber branch June 30, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant