Repository navigation
ci: run parquet/file alone on macOS instead of serializing all packages - #1301
Merged
Merged
Conversation
apache#1275 added -p=1 on Darwin to stop parquet/file from OOM-killing the 7 GB macOS ARM64 runners. That serialized every parquet package across both the assert and assert,noasm passes under -race, costing ~4.5 minutes per macOS job and consuming the headroom against the 20-minute job timeout. Three macOS jobs on main have since been killed at the cap. Only parquet/file holds the large-value tests that exhaust the runner, so give that package its own invocation on Darwin and let the other 17 parquet packages keep their default parallelism. Non-Darwin behaviour is unchanged.
Member
Author
|
CI results, two runs of this branch (both green on every macOS job), against the
The non-CGO jobs — the ones that were actually being killed at the cap — average Two caveats worth stating rather than burying:
|
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.
Rationale for this change
#1275 added
-p=1for Darwin to keep the 7 GB macOS ARM64 runners fromOOM-killing
parquet/file. That works, but it serializes every parquetpackage, across both the
assertandassert,noasmpasses, under-race.The cost is about 4.5 minutes per macOS job, which ate the entire headroom
against the
timeout-minutes: 20cap on themacosjob.Job durations on
main, 631 samples over Aug 6 – Sep 8, split at the #1275merge on Sep 3:
Linux is flat across the same window (AMD64 Debian −0.1/+0.2, ARM64 Debian
−0.1/+0.4), which isolates the change to the Darwin-only branch rather than
new tests or runner drift.
Three macOS jobs on
mainhave since been killed at the 20-minute mark(20.1m, 20.4m, 20.4m), and the CGO jobs at 24.8m are one bad run from the
same fate.
What changes are included in this PR?
Only
parquet/fileholds the large-value regression tests that exhaust therunner, so give that one package its own
go testinvocation on Darwin andlet the other 17 parquet packages keep their default parallelism. The memory
fix from #1275 is preserved —
parquet/filestill never shares a runner withanother parquet package — without paying for it across the whole tree.
Non-Darwin behaviour is byte-identical to before: two invocations over
./..., no-pflag.Are these changes tested?
bash -n ci/scripts/test.shshellcheck ci/scripts/test.sh— cleanshfmt -d ci/scripts/test.sh— cleanserial package (
.../parquet/file) and 17 parallel, with no leakage offileinto the parallel set; on non-Darwin it yields exactly./....go test -tags assert -run XXX ./...andgo test -tags assert,noasm -run XXX ./...inparquet/both compile clean, confirming the invocation form.The real check is the macOS timings on this PR's own CI run.
Are there any user-facing changes?
No.