Repository navigation
fix(pipeline): wire embed stage dispatch, add webhook status check, fix upsert data loss (#546) - #558
Conversation
…ix upsert data loss - Wire execute_embed_stage into run_execution dispatch (was dead code) - Check webhook response status in _post_webhook, warn on non-2xx - Delete old content_blocks before upsert in _write_conversation - Move write_run_json before record_run to avoid inconsistent state - Add site stage to reprocess sequence - Hoist raw_records_ids set outside loop in validation_flow - Fix stale docstring claiming parse/write overlap Co-Authored-By: Claude Opus 4.7 <[email protected]>
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ 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 (8)
✨ 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. Review rate limit: 0/1 reviews remaining, refill in 59 minutes and 54 seconds.Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5aebdd625e
ℹ️ 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".
## Summary Add NotebookEdit tool dispatch to `extract_file_changes` in semantic_capture.py. ## Problem The function handled Read, Write, and Edit tool invocations but silently dropped NotebookEdit operations from Claude Code sessions. ## Solution Added NotebookEdit branch that extracts `new_source` content and records it as an edit operation. Note: the other two items from #552 (FTS suspend outside try block, missing embed stage dispatch) were already fixed in #554 and #558. Closes #552 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.7 <[email protected]>
|
@coderabbitai full review |
✅ Actions performedFull review triggered. |
…ix upsert data loss (#558) ## Summary Seven pipeline fixes from the post-hoc audit: embed stage dispatch, webhook status checking, content_blocks upsert data loss, write ordering, stage sequences, set rebuild optimization, and stale docstrings. ## Problem - `execute_embed_stage` was imported but never called — `stage="embed"` raised ValueError - Webhook responses were never checked — non-2xx silently treated as success - `_write_conversation` upserted content_blocks without deleting old ones - `write_run_json` could fail after `record_run` committed, leaving inconsistent state - Reprocess sequence omitted the site stage ## Solution Each fix is minimal and targeted at the specific call site. Closes #546 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.7 <[email protected]>
## Summary Add NotebookEdit tool dispatch to `extract_file_changes` in semantic_capture.py. ## Problem The function handled Read, Write, and Edit tool invocations but silently dropped NotebookEdit operations from Claude Code sessions. ## Solution Added NotebookEdit branch that extracts `new_source` content and records it as an edit operation. Note: the other two items from #552 (FTS suspend outside try block, missing embed stage dispatch) were already fixed in #554 and #558. Closes #552 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.7 <[email protected]>
|
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
Seven pipeline fixes from the post-hoc audit: embed stage dispatch, webhook status checking, content_blocks upsert data loss, write ordering, stage sequences, set rebuild optimization, and stale docstrings.
Problem
execute_embed_stagewas imported but never called —stage="embed"raised ValueError_write_conversationupserted content_blocks without deleting old oneswrite_run_jsoncould fail afterrecord_runcommitted, leaving inconsistent stateSolution
Each fix is minimal and targeted at the specific call site.
Closes #546
🤖 Generated with Claude Code