Repository navigation
States the host case runner's wall-clock bounds - #447
Merged
Merged
Conversation
Mix.Statifier.Corpus.HostCase waits for each configuration by polling the session, and every wait is bounded by the clock: a four-second configuration deadline, a 100 ms window for a pending timer, and the five-second default timeout of each Session.status/1 and snapshot/1 call. The moduledoc described the waiting but not those bounds. - The moduledoc now states each bound and its reason (every case must end with a verdict, so the wait is bounded by the clock rather than by the session) and its cost: a session held longer than a bound, such as one inside a Basic HTTP POST, fails the case whatever its document does, and running it again on an idle machine tells load from a real disagreement. - Documentation only; the runner is not changed. No changelog fragment (corpus tooling). Full mix quality (mix gate.verify) ran green on this commit's tree (write-tree 6a31d34). Refs: st-h4sp
johnnyt
force-pushed
the
st-h4sp-host-case-runner-bounds-doc
branch
from
October 11, 2026 15:48
c9f489f to
5396ea6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs: st-h4sp
What changes
Mix.Statifier.Corpus.HostCasewaits for each configuration by polling thesession, and every wait is bounded by the wall clock: the configuration
deadline (
@configuration_deadline_ms, four seconds), the window a pendingtimer gets before the next event (
@settle_window_ms, 100 ms), and thedefault five-second timeout of each
Statifier.Session.status/1andStatifier.Session.snapshot/1call the wait makes. The moduledoc describedthe waiting but not the bounds.
A new moduledoc paragraph states each bound, its reason (every case must
end with a verdict, so the wait is bounded by the clock rather than by the
session) and its cost: a session held longer than a bound, such as one
inside a Basic HTTP POST that
Statifier.Send.BasicHTTP.Transport.Httpcbounds at five seconds of its own, fails the case whatever its document
does, and running it again on an idle machine tells load from a real
disagreement.
This is the documentation route the bead's acceptance allows, decided by
the conductor under a standing consent, 2026-10-10: the bound is stated
with its reason and the runner is not rewritten. No code changes; no
changelog fragment (corpus tooling).
Gate
Full
mix quality(mix gate.verify) green on this commit's tree, and themerge profile (
mix quality --profile merge) green, the ADR judge skippedbecause no file is in a judged scope.
Review
Tier: gate (a moduledoc paragraph). In-turn review checked each stated
bound against the module's attributes,
Statifier.Session.status/1andsnapshot/1(plainGenServer.call/2) and the Httpc transport's@timeout_ms, and found nothing to change.