Conversation
🤖 Claude Code ReviewPR: #715 Here's my review: PR Review: Billing Bare Metal + Licensed Plan CleanupCommits: 7 commits covering bare metal billing, licensed plan simplification, OCI timeout, and test improvements. Overall AssessmentThis is a well-structured set of changes that: (1) adds a Issues1. let bare_metal_price = plus_plan.bare_metal_price(&self.products)?;
let (plus_price, entitlements) = plus_plan.into_plus_price(&self.products)?;
2. Bare metal line item added unconditionally for metered (non-licensed) plans In 3.
4. Breaking API change: The 5. Validation duplication (checkout.rs:66 vs plan.rs:167) The same guard — Minor Notes
SummaryThe changes are clean and well-tested. The main concerns are: (1) confirming that bare metal billing on every subscription is intentional, (2) the missing Model: claude-opus-4-6 |
|
| Branch | u/ep/prod-bare-metal |
| Testbed | ubuntu-22.04 |
Click to view all benchmark results
| Benchmark | Latency | Benchmark Result microseconds (µs) (Result Δ%) | Upper Boundary microseconds (µs) (Limit %) |
|---|---|---|---|
| Adapter::Json | 📈 view plot 🚷 view threshold | 3.74 µs(+6.49%)Baseline: 3.52 µs | 4.66 µs (80.43%) |
| Adapter::Magic (JSON) | 📈 view plot 🚷 view threshold | 3.68 µs(+5.43%)Baseline: 3.49 µs | 4.57 µs (80.58%) |
| Adapter::Magic (Rust) | 📈 view plot 🚷 view threshold | 25.82 µs(+1.12%)Baseline: 25.54 µs | 31.38 µs (82.29%) |
| Adapter::Rust | 📈 view plot 🚷 view threshold | 2.79 µs(-1.46%)Baseline: 2.83 µs | 3.30 µs (84.33%) |
| Adapter::RustBench | 📈 view plot 🚷 view threshold | 2.77 µs(-1.93%)Baseline: 2.82 µs | 3.29 µs (84.14%) |
| head_version_insert/batch/10 | 📈 view plot 🚷 view threshold | 105.56 µs(+5.16%)Baseline: 100.38 µs | 118.45 µs (89.12%) |
| head_version_insert/batch/100 | 📈 view plot 🚷 view threshold | 236.99 µs(-0.42%)Baseline: 237.99 µs | 266.67 µs (88.87%) |
| head_version_insert/batch/255 | 📈 view plot 🚷 view threshold | 463.83 µs(+0.22%)Baseline: 462.81 µs | 499.49 µs (92.86%) |
| head_version_insert/batch/50 | 📈 view plot 🚷 view threshold | 161.87 µs(+0.40%)Baseline: 161.22 µs | 183.81 µs (88.06%) |
| threshold_query/join/10 | 📈 view plot 🚷 view threshold | 143.71 µs(-0.89%)Baseline: 145.00 µs | 170.04 µs (84.51%) |
| threshold_query/join/20 | 📈 view plot 🚷 view threshold | 156.55 µs(-1.91%)Baseline: 159.59 µs | 187.40 µs (83.54%) |
| threshold_query/join/5 | 📈 view plot 🚷 view threshold | 137.67 µs(+0.35%)Baseline: 137.19 µs | 160.87 µs (85.58%) |
| threshold_query/join/50 | 📈 view plot 🚷 view threshold | 200.76 µs(-0.06%)Baseline: 200.89 µs | 232.73 µs (86.26%) |
This changeset adds the Bencher Bare Metal Stripe product. Further, the Bencher Cloud annual license has been removed. All licenses are now for Bencher Self-Hosted only.