-
fork: QE: assert the timeout class, not the word "exceeded" (FAR-318)
fork-tests / verify (pull_request) Skippedtrufflehog / scan (pull_request) Successful in 25sreleased this
2026-10-24 00:13:15 +00:00 The previous commit hardened the file against a fix that reworded the
timeout message, but it still pinned the word "exceeded" as the marker.
A correct fix whose message says "timed out after 45m" - the most
natural phrasing - would have been failed over punctuation, which
contradicts what this file says it does.What changes:
- The marker is now a class of timeout phrasings (exceed / timed out /
timeout / deadline) instead of one word. \b keeps "BAKE_TIMEOUT" from
matching "timeout", so a report that merely names the bound is not
mistaken for a claim that it elapsed. - The "must not" direction is asserted against the whole report
(stdout + stderr), not stderr alone, so a fix cannot pass by printing
the misattribution on the other stream. - The timeout side is pinned twice: by the class, and structurally - the
timeout report has to differ from the report of a failure before the
bound and from the report of a successful bake. A wrapper that
stops the bake and then says nothing is now caught, and a fix that
distinguishes the cases only by a number is caught too.
The criterion is unchanged: a bake that failed before the bound must
not be reported as a timeout, and a real timeout must be reported as
one. Evidence that it is unchanged: a mutation matrix over eleven
candidate implementations (four correct, seven wrong) - all four
correct ones pass this file, all seven wrong ones fail it, including
the reworded-but-still-broken one and the two timing traps.Downloads
- The marker is now a class of timeout phrasings (exceed / timed out /