Context
ci.yml waits for the Redis service container using a fragile docker exec + --filter ancestor command that can match the wrong container or race container startup.
Problem
Flaky CI: tests start before Redis is ready (connection errors) or the wait command targets the wrong container after runner image changes.
Proposed approach
Replace with a bounded retry loop (until redis-cli ping), explicit container name via docker ps --filter name=, or use service health options (options: --health-cmd)
Acceptance criteria
- Wait step is deterministic across runner updates
- Failure produces clear logs
- CI green on repeated runs (document rerun evidence)
Context
ci.ymlwaits for the Redis service container using a fragiledocker exec+--filter ancestorcommand that can match the wrong container or race container startup.Problem
Flaky CI: tests start before Redis is ready (connection errors) or the wait command targets the wrong container after runner image changes.
Proposed approach
Replace with a bounded retry loop (
until redis-cli ping), explicit container name viadocker ps --filter name=, or use service health options (options: --health-cmd)Acceptance criteria