Skip to content

Collect coverage from MPI rank processes - #850

Merged
jpsamaroo merged 2 commits into
masterfrom
jps/fix/mpi-coverage
Dec 2, 2026
Merged

jpsamaroo merged 2 commits into
masterfrom
jps/fix/mpi-coverage

Conversation

@jpsamaroo

Copy link
Copy Markdown
Member

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.

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
jpsamaroo merged commit 5a496a6 into master Dec 2, 2026
55 of 59 checks passed
@jpsamaroo
jpsamaroo deleted the jps/fix/mpi-coverage branch December 2, 2026 03:04
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant