You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add CancelHealthCheckOnNewRevision feature to avoid getting stuck on failing commits
This feature allows health checks to be cancelled when a new source revision
becomes available, preventing the controller from getting stuck waiting for
full timeout durations when fixes are already available.
Features:
- New opt-in feature flag: CancelHealthCheckOnNewRevision (default: false)
- Health checks are cancelled early when new revisions are detected
- Reduces delay from ~30s timeout to ~5s when fixes are pushed
- Preserves existing behavior when feature is disabled
- Comprehensive test coverage demonstrating both behaviors
The implementation monitors source revisions during health checks and cancels
ongoing checks when new revisions are available, allowing immediate processing
of potential fixes instead of waiting for full timeout periods.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
0 commit comments