Add an idempotency key to the run API endpoint#760
Conversation
🤖 Claude Code ReviewPR: #760 Here's my review: PR Review: Add
|
|
| Branch | u/ep/idempotency-key |
| Testbed | intel-v1 |
Click to view all benchmark results
| Benchmark | Latency | Benchmark Result microseconds (µs) (Result Δ%) | Upper Boundary microseconds (µs) (Limit %) |
|---|---|---|---|
| Adapter::Json | 📈 view plot 🚷 view threshold | 4.54 µs(-0.11%)Baseline: 4.54 µs | 4.66 µs (97.39%) |
| Adapter::Magic (JSON) | 📈 view plot 🚷 view threshold | 4.41 µs(-0.12%)Baseline: 4.42 µs | 4.49 µs (98.25%) |
| Adapter::Magic (Rust) | 📈 view plot 🚷 view threshold | 24.95 µs(-0.42%)Baseline: 25.06 µs | 26.41 µs (94.49%) |
| Adapter::Rust | 📈 view plot 🚷 view threshold | 3.36 µs(-0.25%)Baseline: 3.37 µs | 3.50 µs (96.20%) |
| Adapter::RustBench | 📈 view plot 🚷 view threshold | 3.36 µs(-0.29%)Baseline: 3.37 µs | 3.53 µs (95.43%) |
1e0a724 to
55db88e
Compare
This changeset adds an
idempotency_keyto therunAPI endpoint to prevent the following issue:bencher runsends a Report to the API serverbencher runretires sending the ReportWith this change, the
idempotency_keywould make it so 5. The original Report is returned