Skip to content

test: capture probe regressions and growth budgets - #316

Merged
Sinity merged 3 commits into
masterfrom
feature/test/regression-growth-harness
Apr 21, 2026
Merged

Sinity merged 3 commits into
masterfrom
feature/test/regression-growth-harness

Conversation

@Sinity

@Sinity Sinity commented Apr 21, 2026 •

Copy link
Copy Markdown
Owner

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

@coderabbitai

coderabbitai Bot commented Apr 21, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@Sinity has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 7 minutes and 45 seconds before requesting another review.

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 @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: f695cf37-4115-4d2c-ba5c-b80d1f023cb3

📥 Commits

Reviewing files that changed from the base of the PR and between 04613f6 and aaeb222.

📒 Files selected for processing (13)
  • devtools/command_catalog.py
  • devtools/pipeline_probe.py
  • devtools/regression_capture.py
  • devtools/regression_cases.py
  • docs/devtools.md
  • tests/infra/growth_budgets.py
  • tests/infra/regression_cases.py
  • tests/unit/devtools/test_devtools_main.py
  • tests/unit/devtools/test_pipeline_probe.py
  • tests/unit/devtools/test_regression_capture.py
  • tests/unit/devtools/test_render_devtools_reference.py
  • tests/unit/infra/test_growth_budgets.py
  • tests/unit/infra/test_regression_cases.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/test/regression-growth-harness

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread devtools/command_catalog.py Resolved
@Sinity
Sinity merged commit dc0319e into master Apr 21, 2026
14 checks passed
@Sinity
Sinity deleted the feature/test/regression-growth-harness branch April 21, 2026 20:46
Sinity added a commit that referenced this pull request Apr 22, 2026
## 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
Sinity added a commit that referenced this pull request Apr 22, 2026
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
Sinity added a commit that referenced this pull request Apr 22, 2026
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
Sinity added a commit that referenced this pull request Apr 22, 2026
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
@Sinity

Sinity commented Apr 28, 2026

Copy link
Copy Markdown
Owner Author

🤖 Post-hoc audit note: this PR received bot review feedback verified against current HEAD as part of #544. 1 finding(s) confirmed still present → tracked in #547.

@Sinity
Sinity requested review from Copilot and removed request for Copilot May 1, 2026 00:43
@Sinity
Sinity removed the request for review from Copilot May 1, 2026 02:15
@Sinity

Sinity commented Oct 1, 2026

Copy link
Copy Markdown
Owner Author

Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.

  • 53.F061 / P2: stale at the checked revision: The obsolete pipeline-probe --json example and root pipeline-probe command are no longer in the command catalog or generated devtools reference. The current declared archive scenarios use the scenario entrypoint, so the reviewed unsupported-flag example is not a current user workflow. Current code: devtools/command_catalog.py:254; docs/devtools.md:72.

Only the rows listed above are dispositioned. Held findings remain open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant