fix(webapp,react-hooks): enforce stable hook ordering - #4688
Conversation
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review. 📜 Recent review details⏰ Context from checks skipped due to timeout. (25)
🧰 Additional context used🧠 Learnings (5)📚 Learning: 2026-04-13T21:43:58.707ZApplied to files:
📚 Learning: 2026-04-23T13:26:27.529ZApplied to files:
📚 Learning: 2026-04-30T21:28:35.705ZApplied to files:
📚 Learning: 2026-05-12T06:43:09.116ZApplied to files:
📚 Learning: 2026-05-19T21:04:49.990ZApplied to files:
🔇 Additional comments (1)
WalkthroughThe changes enable React rules-of-hooks lint checks for application and react-hooks source files. Shortcut hooks now run unconditionally in Switch and TextLink. useRealtimeStream normalizes overload arguments before one implementation call. TraceView now requires non-null trace data. The task route guards queue loading and queue derivation with foundTask before rendering the not-found state. Merge Risk: ⚪ Minimal · up to The hook-ordering changes present no actionable merge-blocking risk in the supplied evidence, so the PR is merge-ready after normal checks and review. 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✨ 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 |
@trigger.dev/build
trigger.dev
@trigger.dev/core
@trigger.dev/python
@trigger.dev/react-hooks
@trigger.dev/redis-worker
@trigger.dev/rsc
@trigger.dev/schema-to-json
@trigger.dev/sdk
commit: |
c451fd8 to
d0d985e
Compare
Summary
Enforce stable React hook ordering in the dashboard and React hooks package.
Conditional hook calls now keep a consistent order, and overloaded realtime stream arguments are resolved before entering the shared hook implementation.
Base:
main