Repository navigation
fix(web): honor webhook trace terminal status - #19087
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe webhook sheet now delegates trace status classification to ChangesWebhook trace status
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to The change makes webhook traces display loading, failed, cancelled, waiting, and successful outcomes according to their terminal status. It is localized and merge-ready after normal checks, with no actionable merge-blocking risk remaining. Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 3 files. 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 |
|
@cike8899 Thank you for enabling CI. The web checks passed, while the native backend job timed out fetching the external DeepDoc test data ( |
Fix webhook trace status — cancelled/waiting-for-user/unsuccessful finishes now show as failed (were successful). Loading stays running.
Summary
Webhook trace polling marks a response as finished after any terminal event, but the sheet previously treated every finished trace without a node error as successful. This made cancelled runs, wait-for-user terminations, unsuccessful finished events, and the initial loading state appear successful.
This change:
Validation: