Skip to content

ci(fix): cap BenchmarkTools test compat at ~1.6#194

Merged
adrhill merged 2 commits into
mainfrom
ci/cap-benchmarktools-compat
Jun 11, 2026
Merged

ci(fix): cap BenchmarkTools test compat at ~1.6#194
adrhill merged 2 commits into
mainfrom
ci/cap-benchmarktools-compat

Conversation

@adrhill

@adrhill adrhill commented Jun 11, 2026

Copy link
Copy Markdown
Member

Why

CI on main has been red since late April, for two unrelated reasons:

  1. The Julia lts and Julia 1 jobs fail in the PkgJogger.@test_benchmarks smoke tests with:

    MethodError: no method matching var"##sample#..."(::Tuple{...}, ::BenchmarkTools.Parameters)
    → 50 passed, 0 failed, 8 errored
    

    BenchmarkTools v1.7.0 (released 2026-04-01) changed the signature of its internally generated sample functions (two extra Ref arguments for timing and return-value tracking). PkgJogger v0.6.0 — its latest release — still calls the old two-argument form in test_benchmarks (src/utils.jl:150), so every benchmark errors. test/Project.toml had no compat bound on BenchmarkTools, so CI resolves v1.8.0.

  2. The Julia pre job fails before tests even start with an unsatisfiable resolver conflict: no JET version within the "0.9, 0.11" compat bound is installable on prerelease Julia, and Zygote's bound on LogExpFunctions conflicts as well.

Changes

  • Add BenchmarkTools = "~1.6" to the [compat] section of test/Project.toml until PkgJogger supports the new sample-function signature.
  • Remove pre from the CI test version matrix.

🤖 Generated with Claude Code

adrhill and others added 2 commits June 11, 2026 12:03
`BenchmarkTools` v1.7.0 changed the signature of its internally
generated sample functions, which breaks `PkgJogger.@test_benchmarks`
on `PkgJogger` v0.6.0 (its latest release) with a `MethodError`.
This has been failing the `Julia lts` and `Julia 1` CI jobs since
late April. Cap `BenchmarkTools` at `~1.6` in `test/Project.toml`
until `PkgJogger` supports the new signature.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The prerelease Julia job fails before tests start: no `JET` version
within the `"0.9, 0.11"` compat bound is installable on prerelease
Julia, and `Zygote`'s bound on `LogExpFunctions` conflicts as well.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@adrhill adrhill merged commit c344a5a into main Jun 11, 2026
5 checks passed
@adrhill adrhill deleted the ci/cap-benchmarktools-compat branch June 11, 2026 10:16
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