ci(fix): cap BenchmarkTools test compat at ~1.6#194
Merged
Conversation
`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>
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.
Why
CI on
mainhas been red since late April, for two unrelated reasons:The
Julia ltsandJulia 1jobs fail in thePkgJogger.@test_benchmarkssmoke tests with:BenchmarkToolsv1.7.0 (released 2026-04-01) changed the signature of its internally generated sample functions (two extraRefarguments for timing and return-value tracking).PkgJoggerv0.6.0 — its latest release — still calls the old two-argument form intest_benchmarks(src/utils.jl:150), so every benchmark errors.test/Project.tomlhad no compat bound onBenchmarkTools, so CI resolves v1.8.0.The
Julia prejob fails before tests even start with an unsatisfiable resolver conflict: noJETversion within the"0.9, 0.11"compat bound is installable on prerelease Julia, andZygote's bound onLogExpFunctionsconflicts as well.Changes
BenchmarkTools = "~1.6"to the[compat]section oftest/Project.tomluntilPkgJoggersupports the new sample-function signature.prefrom the CI test version matrix.🤖 Generated with Claude Code