Repository navigation
test: capture probe regressions and growth budgets - #316
Conversation
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 7 minutes and 45 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (13)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: aaeb222851
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
## Summary - Add durable regression-case capture for pipeline probe summaries. - Add a `devtools regression-capture` command and direct `pipeline-probe --capture-regression` integration. - Add reusable growth-budget helpers for size-tiered verification checks. ## Problem Live/probe failures needed a deterministic path into local regression artifacts, and scale-related checks needed reusable budget assertions instead of ad hoc comparisons. Without those pieces, real failures could be observed during operator runs but not reduced into repeatable evidence for later verification. ## Solution This introduces a typed `RegressionCase` model/store, command-catalog wiring, direct pipeline-probe capture flags, and test infrastructure for growth observations and budget reports. The generated devtools reference is refreshed so the new command is discoverable through the normal maintenance surface. ## Verification - `uv run devtools verify` - `uv run devtools verify --quick` - `uv run ruff check devtools/regression_cases.py devtools/regression_capture.py devtools/pipeline_probe.py devtools/command_catalog.py tests/unit/devtools/test_pipeline_probe.py tests/unit/devtools/test_regression_capture.py tests/unit/infra/test_growth_budgets.py tests/unit/infra/test_regression_cases.py` - `uv run mypy devtools/regression_cases.py devtools/regression_capture.py devtools/pipeline_probe.py tests/infra/growth_budgets.py` - `uv run pytest -q tests/unit/devtools/test_pipeline_probe.py tests/unit/devtools/test_regression_capture.py tests/unit/infra/test_growth_budgets.py tests/unit/infra/test_regression_cases.py tests/unit/devtools/test_devtools_main.py tests/unit/devtools/test_render_devtools_reference.py` Ref #196 Ref #274 Ref #192
Live/probe failures needed a deterministic path into local regression artifacts, and scale-related checks needed reusable budget assertions instead of ad hoc comparisons. Without those pieces, real failures could be observed during operator runs but not reduced into repeatable evidence for later verification. Introduces a typed `RegressionCase` model/store, command-catalog wiring, direct pipeline-probe capture flags (`pipeline-probe --capture-regression`), and test infrastructure for growth observations and budget reports. Adds a `devtools regression-capture` command. Refreshes the generated devtools reference so the new command is discoverable through the normal maintenance surface. Verification: ruff + mypy + pytest over devtools regression-capture, growth-budget, and regression-case suites; devtools verify and --quick green. Ref #196 Ref #274 Ref #192
Live/probe failures needed a deterministic path into local regression artifacts, and scale-related checks needed reusable budget assertions instead of ad hoc comparisons. Without those pieces, real failures could be observed during operator runs but not reduced into repeatable evidence for later verification. Introduces a typed `RegressionCase` model/store, command-catalog wiring, direct pipeline-probe capture flags (`pipeline-probe --capture-regression`), and test infrastructure for growth observations and budget reports. Adds a `devtools regression-capture` command. Refreshes the generated devtools reference so the new command is discoverable through the normal maintenance surface. Verification: ruff + mypy + pytest over devtools regression-capture, growth-budget, and regression-case suites; devtools verify and --quick green. Ref #196 Ref #274 Ref #192
Live/probe failures needed a deterministic path into local regression artifacts, and scale-related checks needed reusable budget assertions instead of ad hoc comparisons. Without those pieces, real failures could be observed during operator runs but not reduced into repeatable evidence for later verification. Introduces a typed `RegressionCase` model/store, command-catalog wiring, direct pipeline-probe capture flags (`pipeline-probe --capture-regression`), and test infrastructure for growth observations and budget reports. Adds a `devtools regression-capture` command. Refreshes the generated devtools reference so the new command is discoverable through the normal maintenance surface. Verification: ruff + mypy + pytest over devtools regression-capture, growth-budget, and regression-case suites; devtools verify and --quick green. Ref #196 Ref #274 Ref #192
|
Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.
Only the rows listed above are dispositioned. Held findings remain open. |
Summary
devtools regression-capturecommand and directpipeline-probe --capture-regressionintegration.Problem
Live/probe failures needed a deterministic path into local regression artifacts, and scale-related checks needed reusable budget assertions instead of ad hoc comparisons. Without those pieces, real failures could be observed during operator runs but not reduced into repeatable evidence for later verification.
Solution
This introduces a typed
RegressionCasemodel/store, command-catalog wiring, direct pipeline-probe capture flags, and test infrastructure for growth observations and budget reports. The generated devtools reference is refreshed so the new command is discoverable through the normal maintenance surface.Verification
uv run devtools verifyuv run devtools verify --quickuv run ruff check devtools/regression_cases.py devtools/regression_capture.py devtools/pipeline_probe.py devtools/command_catalog.py tests/unit/devtools/test_pipeline_probe.py tests/unit/devtools/test_regression_capture.py tests/unit/infra/test_growth_budgets.py tests/unit/infra/test_regression_cases.pyuv run mypy devtools/regression_cases.py devtools/regression_capture.py devtools/pipeline_probe.py tests/infra/growth_budgets.pyuv run pytest -q tests/unit/devtools/test_pipeline_probe.py tests/unit/devtools/test_regression_capture.py tests/unit/infra/test_growth_budgets.py tests/unit/infra/test_regression_cases.py tests/unit/devtools/test_devtools_main.py tests/unit/devtools/test_render_devtools_reference.pyRef #196
Ref #274
Ref #192