test/fix: update fixtures for NEW-N/governance validators + storage decomposition (audit findings) - #291
Conversation
…e validators; skip-low-priority benchmark; format
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (42)
📝 WalkthroughWalkthroughThis PR is primarily a large-scale code formatting pass across production and test files (line-wrapping, single/multi-line conversions, import reordering), combined with small targeted changes: renaming test fixture identifiers to uppercase, dynamic ID usage in playbook optimizer tests, a new test skip decorator, and an added assertion in a billing test. ChangesFormatting cleanup and minor fixes
Estimated code review effort: 2 (Simple) | ~15 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 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 |
Update test fixtures for hardened validators + storage decomposition (found by the test-skill audit)
A live audit run surfaced test-vs-code drift where fixtures weren't updated after model/validation refactors. All are test/fixture fixes (+ lint/format); no product-logic change.
new_id='n1', which the_coerce_new_idNEW-Nvalidator now rejects. Updated toNEW-1/NEW-N(helpers,_case(),illustrative_cases.json,test_real_judge_smoke).set_source_windows_for_agent_playbookgained a governance existence-check; tests now create theUserPlaybookrows first.test_retrieval_latency_smokeneeds real embeddings; added@skip_low_priorityso it isn't run in the standard tier.# noqa: S101on a pyright-invariant assert; SIM117/UP031 cleanups;ruff formatnormalization.Test plan
uv run pytest tests/eval/consolidation/test_consolidation_eval.py tests/server/services/playbook_optimizer/test_playbook_optimizer.py -o 'addopts='→ 57 passed, 2 skipped.ruff check+ruff format --checkclean.Summary by CodeRabbit
Bug Fixes
Tests
Style