fix(engine): set correct run status after requeue and snapshot status after dequeue#2367
fix(engine): set correct run status after requeue and snapshot status after dequeue#2367
Conversation
|
WalkthroughThe changes modify the handling and recording of task run statuses in execution snapshots within two internal modules of the run engine. In the dequeue system, the status for a new execution snapshot created after locking a task run is now taken from the freshly updated locked task run's status instead of the previous snapshot's runStatus. In the run attempt system, the Estimated code review effort🎯 2 (Simple) | ⏱️ ~7 minutes Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
🚧 Files skipped from review as they are similar to previous changes (3)
🧰 Additional context used📓 Path-based instructions (2)**/*.{ts,tsx}📄 CodeRabbit Inference Engine (.github/copilot-instructions.md)
Files:
**/*.test.{ts,tsx}📄 CodeRabbit Inference Engine (.github/copilot-instructions.md)
Files:
🧠 Learnings (3)📓 Common learnings📚 Learning: applies to **/*.test.{ts,tsx} : our tests are all vitest...Applied to files:
📚 Learning: in apps/webapp/app/services/runsrepository.server.ts, the in-memory status filtering after fetching ...Applied to files:
🧬 Code Graph Analysis (1)internal-packages/run-engine/src/engine/tests/waitpoints.test.ts (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (13)
🔇 Additional comments (2)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
badc103 to
e0636cd
Compare
what the title says