feat(native): throughput soak + operator runbook - #17
Merged
Conversation
ADR-0024 v1.8.0 P4 — infrastructure for the live throughput test. Adds `px-native/tests/throughput_soak.rs`: an ignored test that runs `SensorNativeSolver::solve` N times concurrently against a live target through `PX_PROXIES`. Asserts a configurable req/min target (default 40), reports success rate, p50/p95 latency. Adds `docs/runbook-native-bypass.md` walking the operator through: 1. Capture ground truth via CAPTURE_PX=1 (P2). 2. Calibrate default_batch via `px-cli calibrate` (P3). 3. Enable `PX_NATIVE_PROFILES` in the server (P1). 4. Throughput soak via NATIVE_SOAK=1 (this commit). Live validation is operator-driven from here — runtime needs an AR residential proxy + a real Camoufox install + the user's network. 132 workspace tests still pass; clippy clean. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes v1.8.0/P4 — the infrastructure side. Live validation belongs to the operator (the test needs an AR proxy and live network).
px-native/tests/throughput_soak.rs— gated byNATIVE_SOAK=1. SpawnsSensorNativeSolver::solveN times concurrently and asserts ≥40 req/min (configurable).docs/runbook-native-bypass.md— end-to-end operator procedure: capture → calibrate → enable overlay → soak.What this lets the user do
🤖 Generated with Claude Code