Repository navigation
fix: address review feedback on #959 (#944 follow-up) - #960
Conversation
- Add schema v12 in-place migration (ALTER TABLE for cost/token columns on messages and session_profiles) - Fix outlook cycle-end calculation: use start.month, not now.month - Make _as_float robust against ValueError/TypeError - Update SessionProfileDocument TypedDict with cost fields; hydrate session profile dict with cost provenance - source_name extraction: use isinstance check instead of str() at all 3 sites - Remove unconditional legacy DB fallback in ConversationFormatter - Restore stricter FTS-index-incomplete assertion in test_check.py - Preserve connection-cleanup contract in test_vec.py - Restore attachment idempotency assertions in test_prepare.py - Tighten daemon-status and session-status assertions - Add all() empty-guard in test_artifact_graph.py - Restore test_cost_queries specificity with get_credit_rate check - Document --no-* flags in NixOS module - Use compiled regex for <file path= context-dump detection - Add mutation operation contract assertions in test_specs.py - Fix PR number reference in SCHEMA_VERSION comment - Addresses all 21 review comments on #959
|
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 (17)
✨ 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: 194b6223b9
ℹ️ 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".
Three test assertions tightened in #960 claimed invariants the code doesn't provide. Restore original assertions that accept actual behavior: idempotency is hash-dependent, FTS readiness model accepts empty indexes on seeded archives, freshness_info is legitimately probed twice.
|
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
Addresses all 21 review comments on #959.
Changes
start.month, notnow.month)_as_floatrobust againstValueError/TypeErrorSessionProfileDocumentTypedDict with cost fieldssource_nameextraction: useisinstance(str)check at all 3 sitesConversationFormattertest_check.py,test_prepare.py,test_status.py,test_daemon_status.py,test_vec.py,test_cost_queries.pyall()empty-guard in test_artifact_graph.py--no-*flags in NixOS module<file path=context-dump detectiontest_specs.py17 files changed, +82/-29.