[SOLV-544] chore: Increase intent exclusiveFor window from 1m to 5m #51
Conversation
📝 WalkthroughWalkthroughThis PR extends the exclusivity time window for intent order context encoding from 1 minute to 5 minutes. A module-level constant is introduced and the encoder is updated to use it, with corresponding unit test assertions validating the encoded deadline behavior. ChangesExclusivity Window Extension to 5 Minutes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
|
🚀 Preview deployed! Worker: |
Summary
contextbytes from 60s to 5 minutes (5 * ONE_MINUTE) via a newEXCLUSIVITY_WINDOWconstant insrc/lib/libraries/intent.ts.uint32deadline fromorder.outputs[0].contextand asserts it isnow + 5m.Linear: https://linear.app/lifi-linear/issue/SOLV-544/increase-intent-exclusivefor-window-from-1m-to-5m-for-solver-testing
Test plan
bun run test:unitbun run checkbun run lintSummary by CodeRabbit