Summary
- Removes the broken auto top-up API endpoints and route registrations.
- Stops metering from triggering Paddle auto top-up transactions or crediting webhook transactions based on auto top-up line items.
- Removes dashboard auto top-up styles and prunes billing e2e coverage for the removed feature while keeping legacy DB migration/ledger compatibility.
- Adds a regression test that prevents active app code from exposing or triggering auto top-up again.
Test plan
python3 tests/test_no_auto_topup.pybash -n tests/e2e/test_billing.shgit diff --checkcargo test -p api -p metering
Notes
- Did not run the full billing e2e stack locally; the script was syntax-checked and API/metering unit tests passed.
rustfmt --edition 2024 --checkon the changed Rust files reports broad pre-existing formatting drift across module trees, so no unrelated rustfmt churn was applied.
Closes #301
## Summary
- Removes the broken auto top-up API endpoints and route registrations.
- Stops metering from triggering Paddle auto top-up transactions or crediting webhook transactions based on auto top-up line items.
- Removes dashboard auto top-up styles and prunes billing e2e coverage for the removed feature while keeping legacy DB migration/ledger compatibility.
- Adds a regression test that prevents active app code from exposing or triggering auto top-up again.
## Test plan
- `python3 tests/test_no_auto_topup.py`
- `bash -n tests/e2e/test_billing.sh`
- `git diff --check`
- `cargo test -p api -p metering`
## Notes
- Did not run the full billing e2e stack locally; the script was syntax-checked and API/metering unit tests passed.
- `rustfmt --edition 2024 --check` on the changed Rust files reports broad pre-existing formatting drift across module trees, so no unrelated rustfmt churn was applied.
Closes #301