grpc fix a race condition with log streaming#1426
Conversation
For very quickly solved problems, the log file might not exist before the job is marked complete, or the client might start streaming before the file exists. Create the log at submission time to avoid this.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThis PR ensures job log files exist at submission time and refactors log streaming to reliably detect file availability. After job ID generation, both submission paths create an empty per-job log file. The ChangesLog File Creation and Streaming
🎯 3 (Moderate) | ⏱️ ~22 minutes 🚥 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 unit tests (beta)
Comment |
|
/merge |
For very quickly solved problems, the log file might not exist before the job is marked complete, or the client might start streaming before the file exists. Create the log at submission time to avoid this.