Repository navigation
Conversation
The combined benchmark report can finish while unrelated macOS jobs remain queued. Add an explicit CI run-ID dispatch path that checks benchmark readiness and the current open PR before rendering with default-branch code. Keep rendering read-only and publication separate; recheck cancellation, run attempt and exact PR head before writing, and leave identical bot comments untouched. Validation: existing report/comment tests plus run-resolution regressions pass 16/16. The queued-macOS fixture selects the completed benchmark summary; cancelled, stale, foreign, ambiguous and incomplete inputs fail closed. No hosted workflow dispatch was run. Written by an AI agent on jpsamaroo's review feedback.
Check recent current-head CI runs every five minutes so a finished benchmark matrix can be reported while unrelated tests still wait. Inspect at most ten rotated candidates from the latest hundred runs and open PRs, choose only the newest run per head, and reuse the same readiness, artifact and exact-head publication checks. Track the run attempt so an earlier report cannot hide rerun results. Skip reported runs and full comment pages; explicit dispatch covers older or busy cases. No PR code is checked out or executed. Validation: all 25 existing/new Node tests pass, including queued macOS, invalid/cancelled/stale heads, absent/expired artifacts, bounded rotating discovery, newest-run selection, rerun attempts and identical-comment no-op. Workflow YAML/security structure and all inline JavaScript parse checks pass. No actual workflow dispatch, schedule or comment write was performed. Written by an AI agent on jpsamaroo's review feedback.
Resolve the append-only AGENTS conflict by retaining every current-master lesson and the benchmark-comment lesson, renumbered locally. Preserve the reviewed workflow and recovery helpers unchanged. Import the current shared benchmark renderer and its inconclusive-allocation regression through an ordinary master merge, keeping both sets of tests registered. Validation: Slurm job102 on helios passes all26 report/comment/recovery Node tests with2CPUs/2GiB and a checked private Node24.11.1 runtime inside no-network credential-free bwrap. Initial job99 stopped before tests because Node was absent; its failure is retained. git diff --check passes. No hosted workflow dispatch or Julia/benchmark run was performed; the latest old-head default-array timing gate remains failed and separate. Written by an AI agent on jpsamaroo's review feedback.
Contributor
Dagger benchmarks:
|
| Backend | Regressions | Improvements | Within noise | Inconclusive metrics | Suites |
|---|---|---|---|---|---|
| Threads | 1 | 0 | 6 | 0 | 4/4 |
| Distributed | 0 | 4 | 0 | 1 | 4/4 |
| Distributed+Threads | 0 | 0 | 0 | 2 | 4/4 |
| MPI | 0 | 1 | 3 | 2 | 4/4 |
| MPI+Threads | 0 | 0 | 2 | 0 | 4/4 |
| Total | 1 | 5 | 11 | 5 | 20/20 |
Regressions across all backends
| Backend | Benchmark | Metric | Change |
|---|---|---|---|
| Threads | linalg/dagger/N=1024 (block 128)/svd |
allocs | +38.2% |
Improvements across all backends
| Backend | Benchmark | Metric | Change |
|---|---|---|---|
| MPI | array/dagger/N=1024 (block 512)/transpose (permutedims) |
time | -70.7% |
| Distributed | sparse/dagger/N=256 (block 16)/spgemm (S*S) |
memory | -38.5% |
| Distributed | sparse/dagger/N=1024 (block 64)/spgemm (S*S) |
allocs | -36.5% |
| Distributed | sparse/dagger/N=256 (block 16)/spgemm (S*S) |
allocs | -36.2% |
| Distributed | sparse/dagger/N=1024 (block 64)/spgemm (S*S) |
memory | -31.8% |
Threads (1 process × 4 threads) — 1 regressions, 0 improvements
| Suite | Regressions | Improvements | Within noise | Inconclusive metrics |
|---|---|---|---|---|
| array | 0 | 0 | 3 | 0 |
| linalg | 1 | 0 | 3 | 0 |
| sparse | 0 | 0 | 0 | 0 |
| stencil | 0 | 0 | 0 | 0 |
Regressions
| Benchmark | Metric | Change |
|---|---|---|
linalg/dagger/N=1024 (block 128)/svd |
allocs | +38.2% |
Within noise
| Benchmark | Metric | Change |
|---|---|---|
linalg/dagger/N=256 (block 128)/qr |
time | +89.8% |
array/dagger/N=1024 (block 512)/reduce (sum) |
time | +78.5% |
array/dagger/N=256 (block 256)/add (X + X) |
time | +45.2% |
linalg/dagger/N=256 (block 256)/matvec (A*x) |
time | +44.4% |
array/dagger/N=1024 (block 512)/transpose (permutedims) |
time | +33.6% |
linalg/dagger/N=256 (block 128)/matvec (A*x) |
time | -43.4% |
Distributed (4 processes × 1 thread) — 0 regressions, 4 improvements
| Suite | Regressions | Improvements | Within noise | Inconclusive metrics |
|---|---|---|---|---|
| array | 0 | 0 | 0 | 0 |
| linalg | 0 | 0 | 0 | 1 |
| sparse | 0 | 4 | 0 | 0 |
| stencil | 0 | 0 | 0 | 0 |
Improvements
| Benchmark | Metric | Change |
|---|---|---|
sparse/dagger/N=256 (block 16)/spgemm (S*S) |
memory | -38.5% |
sparse/dagger/N=1024 (block 64)/spgemm (S*S) |
allocs | -36.5% |
sparse/dagger/N=256 (block 16)/spgemm (S*S) |
allocs | -36.2% |
sparse/dagger/N=1024 (block 64)/spgemm (S*S) |
memory | -31.8% |
Inconclusive metric changes
| Benchmark | Metric | Change |
|---|---|---|
linalg/dagger/N=256 (block 128)/svd |
time | +45.5% |
Distributed+Threads (2 processes × 2 threads) — 0 regressions, 0 improvements
| Suite | Regressions | Improvements | Within noise | Inconclusive metrics |
|---|---|---|---|---|
| array | 0 | 0 | 0 | 1 |
| linalg | 0 | 0 | 0 | 0 |
| sparse | 0 | 0 | 0 | 0 |
| stencil | 0 | 0 | 0 | 1 |
Inconclusive metric changes
| Benchmark | Metric | Change |
|---|---|---|
array/dagger/N=1024 (block 128)/map (sin.(X)) |
time | +68.8% |
stencil/dagger/N=1024 (block 512)/neighbors (Wrap) |
time | +45.1% |
MPI (4 ranks × 1 thread) — 0 regressions, 1 improvements
| Suite | Regressions | Improvements | Within noise | Inconclusive metrics |
|---|---|---|---|---|
| array | 0 | 1 | 0 | 0 |
| linalg | 0 | 0 | 3 | 2 |
| sparse | 0 | 0 | 0 | 0 |
| stencil | 0 | 0 | 0 | 0 |
Improvements
| Benchmark | Metric | Change |
|---|---|---|
array/dagger/N=1024 (block 512)/transpose (permutedims) |
time | -70.7% |
Within noise
| Benchmark | Metric | Change |
|---|---|---|
linalg/dagger/N=1024 (block 512)/matvec (A*x) |
time | +123.3% |
linalg/dagger/N=256 (block 128)/solve (A\b via lu) |
time | +120.3% |
linalg/dagger/N=256 (block 256)/lu |
time | +83.4% |
Inconclusive metric changes
| Benchmark | Metric | Change |
|---|---|---|
linalg/dagger/N=1024 (block 512)/matmul (A*A) |
time | +68.9% |
linalg/dagger/N=1024 (block 512)/lu |
time | +49.7% |
MPI+Threads (2 ranks × 2 threads) — 0 regressions, 0 improvements
| Suite | Regressions | Improvements | Within noise | Inconclusive metrics |
|---|---|---|---|---|
| array | 0 | 0 | 1 | 0 |
| linalg | 0 | 0 | 0 | 0 |
| sparse | 0 | 0 | 0 | 0 |
| stencil | 0 | 0 | 1 | 0 |
Within noise
| Benchmark | Metric | Change |
|---|---|---|
array/dagger/N=256 (block 256)/norm |
time | +43.6% |
stencil/dagger/N=1024 (block 512)/assign (const) |
time | -44.0% |
Full results and plots (download the benchmark-results-* artifacts).
This branch has not been deployed
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.
Benchmark artifacts and the combined summary can finish while unrelated CI jobs remain queued. On #858, all twenty benchmark jobs and the combined report finished, but the comment workflow could not start because it waited for the entire CI workflow to complete.
Add an explicit CI run-ID recovery dispatch and a bounded scheduled recovery path. Both validate the correct CI workflow, current open PR repository/branch/head, completed benchmark summary and available result artifacts. Rendering still uses default-branch code with read-only permissions; only a separate publication job can write comments, after rechecking cancellation, run attempt and current PR head. Identical bot comments are left untouched. Publication markers include the run attempt so a rerun of the same run ID and head can update its results.
Scheduled discovery inspects at most ten rotated candidates from the latest hundred CI runs and open PRs, selects only the newest run per head, and publishes at most one report per invocation. It skips full hundred-comment pages rather than trusting a partial inventory; explicit dispatch covers older or busy cases. GitHub schedules are best-effort, so this is recovery rather than a delivery-time guarantee. The existing workflow-completion trigger remains.
Validation: 25 Node tests pass, including existing rendering/escaping/comment tests and new readiness, stale/cancelled/foreign/ambiguous head, expired artifact, fairness, newest-run and no-op cases. YAML/security structure and all three inline JavaScript bodies parse. No hosted workflow dispatch, schedule or comment write was performed. actionlint was not installed. No benchmark workload, threshold or numerical code changed.
Written by an AI agent on jpsamaroo's review feedback.