Repository navigation
Collect coverage from MPI rank processes - #850
Merged
Merged
Conversation
The launcher selected only the Julia executable and dropped enabled coverage options; MPI tests ran but emitted no rank reports, leaving MPIExt unmeasured. Preserve user/all/path instrumentation and collect/upload coverage in only the existing latest-Julia two-rank CPU cell, using the current processcoverage/Codecov pattern. Other nine cells retain their usual cost; no threshold, credentials or executable MPI feature changes. The same launcher bytes pass real two-rank user/path/none execution controls and all-mode child flag assertions under emptyHOME/no-network/clearenv isolation. PID-qualified rank coverage files contain nonzero MPI extension execution counts. Static matrix expansion remains10cells with exactly1instrumented. Julia1.10/current source definitions confirm coverage modes and tracked_path layout. Written by an AI agent on jpsamaroo's review feedback.
jpsamaroo
added a commit
to AnnaLena77/Dagger_AL.jl
that referenced
this pull request
Dec 1, 2026
The MPI test launcher kept only the parent's executable, so registered raw transport tests ran without instrumentation and contributed no coverage. Reuse the reviewed JuliaParallel#850 fix: preserve enabled user/all/path coverage flags, and process/upload one existing latest-Julia two-rank cell with the same settings already used by ordinary jobs. Leave thresholds and permissions unchanged, and keep the other MPI cells uninstrumented. On Julia 1.13.4, the unchanged registered raw-transport subtree passes 718 assertions per rank in each of three two-rank controls (4308 total, zero failures/errors). The original launcher drops requested coverage; the fix produces both ranks' sidecars and actual CoverageTools hits; disabled coverage still produces none. All source files remain unchanged and all processes are reaped. This is local functional/collection validation; the new hosted upload and Codecov verdict remain pending. Written by an AI agent on jpsamaroo's review feedback.
jpsamaroo
added a commit
to AnnaLena77/Dagger_AL.jl
that referenced
this pull request
Dec 2, 2026
…ation A reversed-order run already triggered by timing can explicitly reverse an allocation finding. The old helper retained every initial allocation result even when that repeat crossed the opposite threshold, so the report could still gate on contradicted evidence. Preserve standalone allocation gates, missing or neutral repeats, consistent regressions, thresholds, advisory pairing and the timing-only repeat trigger. Move only explicit allocs/memory direction conflicts into the existing inconclusive list, and show them accurately in CPU/GPU reports alongside the reversed allocation table. On Julia 1.10.11 and 1.13.4 the comparator suite passes 93 assertions; the old helper with the same regression tests gives 90 passes and 3 failures. Replaying the saved JuliaParallel#850 allocation scalars (1.37155 initial versus 0.73257 reversed, two actual trial samples each) gives 5 passes/2 failures before and 7/7 after. CPU and GPU renderer suites plus comment tests pass; no benchmarks or hosted CI were rerun, and no intrinsic allocation parity is claimed. Written by an AI agent on jpsamaroo's review feedback.
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 MPI launcher kept only Julia’s executable path, dropping the parent’s coverage flags. Rank tests therefore exercised MPIExt without producing rank coverage reports, leaving those paths absent from Codecov.
Forward enabled user, all, and path coverage modes to each rank. Instrument and upload coverage from the existing latest-Julia, two-rank CPU cell using the workflow’s existing coverage actions and upload pattern. The matrix still has ten cells; the other nine retain their existing cost.
Validation: real two-rank controls pass for user, path, and disabled coverage; child all-mode flag controls pass. Fresh master-based rank reports contain 341 and 331 executed MPIExt lines, including acceleration initialization. Independent review is in progress; hosted collection and Codecov upload remain to be verified.
Written by an AI agent on jpsamaroo’s review feedback.