Commit 5795fa1
committed
fix(rust): wire up retry logic, URL validation, SSE reconnection, document reply
- #4 HIGH: request_with_retry wraps all API calls with exponential backoff
on 429/500/502/503/504 (uses stored max_retries, default 3)
- #13 MEDIUM: base URL validated for http(s) scheme in HaiClient::new()
- #14 MEDIUM: on_benchmark_job now reconnects with exponential backoff
(max 10 attempts, stops on explicit "disconnect" event)
- #17 MEDIUM: document why Rust uses server-side /email/reply endpoint;
add reply endpoint to fixtures/contract_endpoints.json
- All tests passing (config validation from prior commit + new tests)
https://claude.ai/code/session_01MqxtVDf8nA4wPaPZD56zCM1 parent b89bd46 commit 5795fa1
2 files changed
Lines changed: 538 additions & 52 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
0 commit comments