Repository navigation
Output conformance: bound every subprocess and keep failing cases' evidence (task #99) - #261
Merged
StuartCameronCode merged 6 commits intoNov 24, 2026
Conversation
…o workflow (task #99) The output conformance matrix's measuring ffprobe/ffmpeg runs had no time limit and a hung job ran into the test's own 3-minute timeout, naming and killing nothing. Every subprocess now has a named limit (runBounded), the job's is below the case's, a hang is sampled before the kill, and a failing case prints the job log tail, packet and decoded counts, the decoder and the job, and is kept under VAPOURBOX_CONFORMANCE_KEEP (nightly uploads it). repro-output-conformance.yml loops the AV1 cases on the nightly's macOS runners and replays the encoder and the test's decodes alone. The worker logs its encoder arguments, as it does the decoder's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tors (task #99) --detect-native in integration_reserved_colour_tags_test.dart took 23-30 s on the 4-core macOS x64 runner and failed 8 nightly legs at package:test's 30 s default; task #41's AAC test failed 2 the same way. Each now states a 5-minute timeout, as do five more tests measured at 23-31 s there; the detectors run through runBounded with a 2-minute limit that names the flag and its last stderr (NATIVE_RES_STAGE lines). conformance_timeouts_test.dart (push gate) checks the helper and that the limits stay in place. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…refuses them) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…le/gdb (task #99 review) A sample that timed out threw away the whole report, and the per-process 30 s limit could outrun the 30 s between the job's and the case's limits. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
StuartCameronCode
force-pushed
the
stuart/99-macos-x64-nightly-heavy-output-conforman
branch
from
November 24, 2026 11:44
e62bebd to
6665967
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.
Why
On the macOS x64 nightly, some AV1-into-MP4 cases of
integration_output_conformance_test.dartfailed now and then, each time a different case with a different symptom: a white flash missing, 99 pictures for 100, a 3-minute timeout. arm64 never failed them.What we found
The two unexplained
mp4+av1/passthrough/delayed-avifailures did not reproduce onmacos-15-intel: 0 failures in 960 case runs (alone and under CPU load), 1,800 encoder replays (all one hash) and 9,600 decodes (all 100 pictures, none hung), on both x64 tiers with an arm64 control. So this PR re-pins no encoder, adds no retry and lists nothing inknownFailures. Instead it adds what will name the cause the next time a case fails. The full write-up isdocs/reports/task-99-av1-conformance-flake.Changes
test/support/bounded_process.dart):runBoundedkills a process tree at its limit and names the command. Every subprocess in the conformance matrix,ffprobeJsonand the A/V sync helpers now uses it. Before the kill, a hang is sampled (sampleon macOS,gdbon Linux), within a 20 s budget.TimeoutException.VAPOURBOX_CONFORMANCE_KEEP, which the nightly uploads asconformance-failures-<bundle>.VAPOURBOX_CONFORMANCE_REPEAT=Nruns each case N times, and the newrepro-output-conformance.ymlworkflow loops a case, replays the encoder and repeats the decodes on the nightly's runners.conformance_timeouts_test.dart(push gate) holds the job/case limit order, the stated timeouts anddescribeHang's budget.Testing
cargo test: all pass.conformance_timeouts_test5/5, and one heavymp4+av1case passed.🤖 Generated with Claude Code