---
wave: 1
depends_on: []
autonomous: true
files_modified: []
requirements: []
---

# Plan 08-01: Integration Testing

## Goal

Validate that all Phases 1-7 components compile and pass unit tests together. Full workspace compilation, streaming crate tests (junction + combined WS), and provider crate tests (combined WS + rate limiter).

---

## Task 1: Full workspace compilation

<read_first>

- Output of `cargo check --workspace`
  </read_first>

<action>
Run `cargo check --workspace` in the project root. This validates all 10 crates compile together with no errors, confirming no cross-crate breakage from Phases 1-7 changes.
</action>

<acceptance_criteria>

- `cargo check --workspace` exits with code 0
- Zero compilation errors across all 10 crates
  </acceptance_criteria>

---

## Task 2: Streaming crate unit tests

<read_first>

- Output of `cargo test --lib -p opendeviationbar-streaming`
  </read_first>

<action>
Run `cargo test --lib -p opendeviationbar-streaming`. This exercises junction fix tests, combined WS integration, and overlapping reconnection logic.
</action>

<acceptance_criteria>

- All tests pass (zero failures)
- Exit code 0
  </acceptance_criteria>

---

## Task 3: Provider crate unit tests

<read_first>

- Output of `cargo test --lib -p opendeviationbar-providers`
  </read_first>

<action>
Run `cargo test --lib -p opendeviationbar-providers`. This exercises combined WS parsing, rate limiter dynamic ceiling, and Binance provider logic.
</action>

<acceptance_criteria>

- All tests pass (zero failures)
- Exit code 0
  </acceptance_criteria>
