Optimize this CI pipeline step by step. Current pipeline: {{pipeline_config}} Current metrics: - Total duration: {{duration}} - Failure rate: {{failure_rate}} - Queue time: {{queue_time}} Think through systematically: 1. PIPELINE ANALYSIS: Break down time spent in each stage. 2. PARALLELIZATION: What can run in parallel that currently runs sequentially? 3. CACHING: What artifacts can be cached? Dependencies, build outputs? 4. TEST OPTIMIZATION: Can tests be parallelized or selectively run? 5. RESOURCE ALLOCATION: Are runners properly sized? Over/under-provisioned? 6. FLAKY TESTS: Which tests are flaky? How can we address them? 7. DEPENDENCIES: Are dependencies being fetched efficiently? 8. BUILD OPTIMIZATION: Can incremental builds be leveraged? 9. QUICK FEEDBACK: Can we fail fast on obvious issues? 10. IMPLEMENTATION PLAN: Prioritized optimization roadmap with expected gains.
CI Pipeline Optimization Strategy
Develop a CI optimization strategy by analyzing each pipeline stage.
13 copies0 forks
Share this prompt:
Details
Category
CodingUse Cases
CI pipeline optimizationDeveloper experience improvementBuild time reduction
Works Best With
claude-opus-4.5gpt-5.2gemini-2.0-flash
Created Updated Shared