feat(supervisor): custom tolerations for scheduled runs#3297
Conversation
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📜 Recent review details⏰ 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). (27)
🧰 Additional context used📓 Path-based instructions (6)**/*.{ts,tsx}📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
**/*.{ts,tsx,js,jsx}📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
**/*.ts📄 CodeRabbit inference engine (.cursor/rules/otel-metrics.mdc)
Files:
**/*.{js,ts,jsx,tsx,json,md,yaml,yml}📄 CodeRabbit inference engine (AGENTS.md)
Files:
apps/supervisor/src/env.ts📄 CodeRabbit inference engine (apps/supervisor/CLAUDE.md)
Files:
apps/**/*📄 CodeRabbit inference engine (CLAUDE.md)
Files:
🧠 Learnings (8)📚 Learning: 2026-03-02T12:42:47.652ZApplied to files:
📚 Learning: 2026-03-27T18:11:55.459ZApplied to files:
📚 Learning: 2026-03-27T11:45:37.910ZApplied to files:
📚 Learning: 2025-08-14T18:35:44.370ZApplied to files:
📚 Learning: 2026-03-21T21:23:35.117ZApplied to files:
📚 Learning: 2026-03-26T09:02:07.973ZApplied to files:
📚 Learning: 2026-03-22T13:26:12.060ZApplied to files:
📚 Learning: 2026-03-22T19:24:14.403ZApplied to files:
🔇 Additional comments (3)
WalkthroughKubernetes schedule-affinity environment variables in the supervisor were renamed from Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 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 |
Adds support for taint tolerations for scheduled runs. Useful for selectively tolerating taints on dedicated node pools.
The new
KUBERNETES_SCHEDULED_RUN_TOLERATIONSenv variable accepts a comma-separated list in the format key=value:effect (or key:effect for the Exists operator).Drive-by: renames all
KUBERNETES_SCHEDULE_*affinity env vars to KUBERNETES_SCHEDULED_RUN_* for clarity — this feature isn't used in production yet or published in a tagged image; the name change is fine.