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
{{ message }}
Repository navigation
ci: make timeout-clock regression test scheduler-independent #583
Make the timeout-clock no-retry regression test deterministic across supported hosts.
Background
The existing test uses a child command to record that a failing external timeout clock was not retried. The clock failure can terminate the supervised process group before that child gets scheduled, so the assertion depends on child startup timing rather than directly observing timeout-clock retries.
Scope
Update the focused BATS regression in lib/bash/std/tests/lib_std.bats to count executions of the fake timeout clock, excluding its --version capability probe.
Assert the failing clock is invoked exactly once and that the infrastructure diagnostic is reported.
Keep the change confined to test code; production timeout and retry behavior remain unchanged.
Acceptance Criteria
The regression verifies no retry by observing the timeout clock itself.
The test does not depend on the child command running before the clock failure.
Focused timeout/supervision tests and the full repository validator pass.
Validation
Run the focused timeout/supervision BATS tests and repeat the regression test ten times.
Run ./tests/validate.sh and git diff --check.
Non-Goals
Change production timeout or retry behavior, public APIs, release metadata, or runtime policy.
Add or maintain a repository-root .ai-context/ pack.
Activity