Skip to content

Remove tunable timing margins from tests and isolate process timeouts. - #17

Merged
csjones merged 1 commit into
mainfrom
NEVER-WAIT
Aug 30, 2026
Merged

csjones merged 1 commit into
mainfrom
NEVER-WAIT

Conversation

@csjones

@csjones csjones commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Build-machine failures showed that checks waiting for real programs to finish before a guessed timeout are really claims about machine load. This change enforces constitution v1.5.0: time-dependent code accepts a Clock, tests supply a controlled one where reachable, and tests driving the built binary use a never-answer stand-in under a .timeLimit. ProcessLauncher extracts givingUpAfter so the timeout path can be unit-tested without a real program, and the design/AGENTS prose is updated to match.

Build-machine failures showed that checks waiting for real programs to finish before a guessed timeout are really claims about machine load. This change enforces constitution v1.5.0: time-dependent code accepts a Clock, tests supply a controlled one where reachable, and tests driving the built binary use a never-answer stand-in under a `.timeLimit`. ProcessLauncher extracts `givingUpAfter` so the timeout path can be unit-tested without a real program, and the design/AGENTS prose is updated to match.
@csjones
csjones merged commit 58b0c72 into main Aug 30, 2026
2 checks passed
@csjones
csjones deleted the NEVER-WAIT branch August 30, 2026 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant