CI: условия этапов проверяются до выделения агента - #1757
Conversation
Пропускаемые этапы сначала занимали агент и клонировали репозиторий, а потом проверяли when. Когда клонирование тормозит, такой этап держит агент или валит сборку: в develop EvilBeaver#22 упал Build v1, который на develop не выполняется. С beforeAgent true агент берется, только если этап будет выполняться. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 1 remain after this review. 📝 WalkthroughWalkthroughSix Jenkins publishing and build stages now evaluate their branch or tag conditions before allocating an agent. ChangesPublishing stage conditions
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to The six branch/tag checks run before agent allocation, avoiding wasted agent time for skipped stages. No concrete regression is indicated, so the change appears ready for normal CI. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 1 system. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
Jenkins проверял
whenуже после выделения агента, поэтому пропускаемые этапы все равно занимали агент, аPublishing artifacts to clouds,Build v1иBuild v2еще и клонировали репозиторий. Обычно это секунды, но когда клонирование тормозит, пропускаемый этап держит агент или валит сборку. В develop #22 образ собрался, а сборка красная из-заBuild v1, который на develop не выполняется: клонирование упало по таймауту через 10 минут. В develop #13 пропущенныйPublishing artifacts to cloudsзанимал windows-server 10 минут.С
beforeAgent trueусловие проверяется до выделения агента. Условия зависят только от ветки и тега, агент для них не нужен.🤖 Generated with Claude Code
Summary by CodeRabbit