fix(sentry): summarize conversation id + wizard mapping - #1552
Conversation
Wire setAgentConversationId on document summarize, document the Agent Monitoring wizard mapping, and keep inputs/outputs/user off.
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 24 minutes Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe document summarize route now assigns a synthetic interaction ID to agent monitoring before summarization. The route reuses the ID in feedback metadata and observability. Tests verify call order and UUID reuse. Documentation records the monitoring configuration. ChangesDocument summary monitoring
Estimated code review effort: 2 (Simple) | ~10 minutes Sequence Diagram(s)sequenceDiagram
participant Client
participant Route as Document summarize route
participant Monitoring as Agent monitoring
participant Summarizer as summarizeDocument
participant Observability
Client->>Route: POST summarize request
Route->>Monitoring: Set interaction ID
Route->>Summarizer: Summarize document
Route->>Observability: Record interaction ID
Route-->>Client: Return summary and interaction ID
Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
Comment |
🔒 Upgrade RequiredPrivate repository analysis requires Pro or Enterprise. Upgrade: https://ecc.tools/pricing?plan=pro ECC Tools keeps the core app open, and puts private repos, team features, and enterprise controls behind paid tiers. |
Drop unknown rest spreads that failed tsc TS2556 on Static PR checks.
🔒 Upgrade RequiredPrivate repository analysis requires Pro or Enterprise. Upgrade: https://ecc.tools/pricing?plan=pro ECC Tools keeps the core app open, and puts private repos, team features, and enterprise controls behind paid tiers. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
🔒 Upgrade RequiredPrivate repository analysis requires Pro or Enterprise. Upgrade: https://ecc.tools/pricing?plan=pro ECC Tools keeps the core app open, and puts private repos, team features, and enterprise controls behind paid tiers. |
PR Summary by QodoFix Sentry agent-monitoring conversation IDs for document summaries
AI Description
Diagram
High-Level Assessment
Files changed (3)
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTo customize comments, go to the Qodo configuration screen, or learn more in the docs. |
🔒 Upgrade RequiredPrivate repository analysis requires Pro or Enterprise. Upgrade: https://ecc.tools/pricing?plan=pro ECC Tools keeps the core app open, and puts private repos, team features, and enterprise controls behind paid tiers. |
Co-authored-by: Cursor <cursoragent@cursor.com>
🔒 Upgrade RequiredPrivate repository analysis requires Pro or Enterprise. Upgrade: https://ecc.tools/pricing?plan=pro ECC Tools keeps the core app open, and puts private repos, team features, and enterprise controls behind paid tiers. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/error-tracking.md`:
- Line 46: Align the `@sentry/nextjs` version entries in both tables of
error-tracking.md: use the current repository dependency range consistently, or
explicitly label 10.67 as the minimum supported version if that distinction is
intended. Ensure the documentation does not present conflicting dependency
ranges or installed versions.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 8d113554-0b31-4425-ad8a-3d0d738edf11
📒 Files selected for processing (3)
docs/error-tracking.mdsrc/app/api/documents/[id]/summarize/route.tstests/summarize-agent-conversation.test.ts
🔒 Upgrade RequiredPrivate repository analysis requires Pro or Enterprise. Upgrade: https://ecc.tools/pricing?plan=pro ECC Tools keeps the core app open, and puts private repos, team features, and enterprise controls behind paid tiers. |
Summary
.dark .ckb-v2after the cascade port so light.ckb-v2matching inside dark subtrees cannot resolve light ink on dark surfaces.origin/mainto clear DIRTY mergeability (prefer main’s post-feat(design-system): v2 token layer + 26 components — reconciled, cascade-ported, forced-colours owned #1538/fix(design-system): critique fixes + post-merge truth sweep (bundled hygiene PR) #1541 component copies; keep this tip’s dark-ink contract + HCM transparent overlay-backdrop rationale).aria-controlsonly on the selected tab when a panel is owned (unselected tabs no longer point at missing IDs).RAG impact: no retrieval behaviour change — design-system token dark-cascade fix and unadopted UI component a11y only; no file under
src/lib/rag/**, clinical-search, retrieval-selection, ranking, eval harness, golden fixtures, or retrieval RPCs is touched.Verification
npm run verify:pr-localvitesttests/ckb-v2-token-contract.test.ts+tests/ui-v2-components.dom.test.tsx— 35 passednpm run verify:cheap— 457 files / 4782 passed.ckb-v2/ these components yet; phone-chrome and visual journeys unchanged. Prefer CI Production UI on this tip.Risk and rollout
Clinical Governance Preflight
Clinical KB Database(sjrfecxgysukkwxsowpy)Notes
Summary by CodeRabbit
Enhancements
Tests