test: remove mock tests #73
Conversation
Greptile SummaryThis PR deletes
Confidence Score: 3/5Merging leaves the Producer, AppendSession backpressure, and several retry-logic paths with no test coverage at all until replacement tests arrive. Over 1000 lines of tests are deleted with nothing added. A subset of the removed tests exercised pure logic (ConnectError chain-walk, _AppendPermits blocking, frame-signal reset) that no existing test file now covers, and integration tests are unlikely to reproduce those exact conditions. Until replacement tests land, regressions in these paths could go undetected. Both deleted files should be reviewed against any forthcoming integration-test PR to confirm all removed scenarios, especially the concurrency and retry-logic edge cases, are re-covered. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[test_producer.py DELETED] -->|14 tests removed| B[Producer logic uncovered]
B --> B1[Batching / linger timer]
B --> B2[match_seq_num auto-increment]
B --> B3[Drain FIFO ordering]
B --> B4[Error propagation to tickets]
C[test_session.py DELETED] -->|28 tests removed| D[AppendSession logic uncovered]
D --> D1[Backpressure: _AppendPermits / _Semaphore]
D --> D2[S2S framing encode/retry]
D --> D3[Ack monotonicity enforcement]
D --> D4[Ack timeout → ReadTimeoutError]
D --> D5[Frame signal reset after resend]
D --> D6[has_no_side_effects + ConnectError chain]
style A fill:#f88,stroke:#c00
style C fill:#f88,stroke:#c00
|
No description provided.