test(ci): calibrate the container-build timeout to its CI-measured 95s (INV-CI-4) - #68
Merged
Merged
Conversation
…s (INV-CI-4) The arm64 build+serve job (INV-CONTAINER-1) landed with a 20-minute timeout and no entry in _MEASURED_SECONDS, so INV-CI-4's 2x-40x band did not constrain it. Measured in CI on a NATIVE ubuntu-24.04-arm runner: 95s (`runner arch: aarch64`, `7 passed in 44.64s` of pytest, zero skips). Locally a cold build is 112s. 20min against 95s is 12.6x — looser than the ~3x used elsewhere, deliberately and now recorded why: this job pulls a base image and installs the whole specialist stack, so its runtime is dominated by network I/O a slow registry day can multiply, and unlike the other jobs a timeout here means the image was never proven to build at all. Mutation-tested both directions: 1min (0.6x, would flake) and 120min (decorative) are each caught. Suite 4085 passed / 15 skipped.
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.
The arm64 build+serve job added in #67 landed with a 20-minute timeout and no entry in
_MEASURED_SECONDS, so INV-CI-4's 2×–40× band did not constrain it. Closing that immediately, while the measurement is fresh.Measured in CI, on a native
ubuntu-24.04-armrunner:Locally, a cold build (Apple Silicon,
docker builder prune -affirst) is 112s.20 min against 95s is 12.6× — looser than the ~3× used for the other jobs, deliberately, and the reason is now recorded beside the number: this job pulls a base image and installs the whole specialist stack, so its runtime is dominated by network I/O that a slow registry day can multiply. And unlike the other jobs, a timeout here means the image was never proven to build at all — the failure mode is "we learned nothing", not "we lost a few minutes".
Mutation-tested both directions:
Full suite: 4085 passed / 15 skipped.
ruffclean.