Repository navigation
feat: add read-surface SLO catalog and wire verify-slos lab gate (#872) - #976
Conversation
Problem: devtools/verify_slos.py referenced docs/plans/slo-catalog.yaml, but the catalog was missing on disk and the lint was unregistered, so the SLO check could neither be discovered nor exercised. What changed: - author docs/plans/slo-catalog.yaml with starting-point budgets for the read surfaces called out in #872: query, reader, facets, context, cost - register `devtools verify-slos` in devtools/command_catalog.py - include verify-slos in `devtools verify --lab` - add tests/unit/devtools/test_slo_catalog.py pinning the catalog shape and the pass/fail exit-code contract Initial budgets are conservative starting points calibrated against the existing synthetic-archive benchmark fixtures (test_search_filters.py, test_reader_api.py). Tighten as evidence accumulates. Ref #872 Co-Authored-By: Claude <[email protected]>
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ 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 (5)
✨ 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: 7bfcf7ab2b
ℹ️ 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".
|
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. |
|
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
Committed
docs/plans/slo-catalog.yamlwith query/reader/facets/context/cost SLO budgets and wireddevtools verify-slosintodevtools verify --lab. The verify_slos lint now loads the catalog and enforces budgets.Problem
devtools/verify_slos.pyreferenceddocs/plans/slo-catalog.yamlwhich didn't exist on disk — the lint had no input and was a no-op.Solution
docs/plans/slo-catalog.yaml: SLOs for 5 read surfaces with conservative initial budgetsdevtools/verify_slos.py: loads catalog, reports violations, exits non-zero on budget breachVerification
Certification
WORK
REALIZATION
DECLARATION
I declare every WORK item above to be fully realized. Budget values are conservative initial settings. Verified by: pytest tests/unit/devtools/ -q.
Refs #872