chore: drop dead type-stubs + fix citation test transaction nesting#263
Conversation
- Remove orphaned MRO type-stub attributes left by the playbook decomposition that are now unused in their sub-mixin (sqlite _agent.py: _fts_delete/_vec_delete/ _has_sqlite_vec/_subject_ref_for_user_id/_assert_subject_writable_locked; _user.py: _execute/_fts_delete/_vec_delete/_has_sqlite_vec). Type-only, pyright clean. - test_get_citations_by_session_ids_extracts_cited_rows: commit the raw UPDATE on the shared connection so the following add_request()'s BEGIN IMMEDIATE no longer raises 'cannot start a transaction within a transaction'.
|
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 (3)
💤 Files with no reviewable changes (2)
📝 WalkthroughWalkthroughRemoves now-unused class-level type-hint attributes ( ChangesPlaybook Mixin and Test Fix
Estimated code review effort: 1 (Trivial) | ~5 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 |
Post-decomposition cleanup: dead type-stubs + a brittle-test fix
Small follow-up to the playbook decomposition (#262).
sqlite_storage/playbook/_agent.py,_user.py). Type-only annotations with zero runtime effect; each removed stub was verified unused in its file and pyright stays clean. (Surfaced by the whole-branch review.)test_get_citations_by_session_ids_extracts_cited_rows(pre-existing brittle test): it ran a rawstorage.conn.execute("UPDATE ...")on the shared connection without committing, leaving an implicit transaction open, so the nextadd_request()'sBEGIN IMMEDIATEraised "cannot start a transaction within a transaction." Commit the raw UPDATEs.Full OSS storage suite: 844 passed, 0 failures (this was the last remaining red). pyright + ruff clean.
Summary by CodeRabbit