Tests Pass Locally, Fail in CI. Just Retry?
Your suite is green on your laptop but red in CI. A teammate wants to add a retry and re-run until green. Defend what you actually do.
the decision you defend
Your test suite passes on your laptop but fails in CI. A teammate says CI is just flaky, add a retry and re-run until it is green. What do you do, and why?
the situation
Your CI pipeline keeps failing a handful of tests, but the exact same tests pass every time on your laptop. Re-running the job sometimes makes it green.
context
The project does not pin all dependency versions, CI runs on a different OS than your laptop, and a few tests touch dates and a shared temp directory. A teammate suggests adding automatic retries so the build goes green and stops blocking the release.
How this challenge works
Take a position on the decision above and defend it. A senior-engineer AI will push back over up to 4 rounds. When you are done, you are scored against a verified rubric so you can see exactly what a complete answer covers - these are learning prompts, not gotchas.