Repository navigation
Fix @static_timeit for TimerOutputs ≥ 0.5.27 (#1224) - #1225
Merged
ChrisRackauckas merged 2 commits intoAug 30, 2026
Merged
Conversation
Pass `__source__` into `timer_expr`, matching the signature since TimerOutputs 0.5.27 / 1.x, so `enable_timer_outputs()` can precompile. Add a subprocess test that loads with the preference enabled. Co-authored-by: Cursor <[email protected]>
Keep the TimerOutputs ≥ 0.5.27 `timer_expr` signature fix. The extra test spawned a fresh process, developed NonlinearSolveBase into a temp env, forced `compilecache`, and injected a probe via `@eval`. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Grok <[email protected]> Agent-Harness: Grok CLI 1.0.13 Agent-Model: grok-4.6 Agent-Session: 01a05284-357b-7d52-bddf-1ca1ef8a15a2
ChrisRackauckas-Claude
marked this pull request as draft
August 30, 2026 12:04
ChrisRackauckas
marked this pull request as ready for review
August 30, 2026 12:16
ChrisRackauckas
added a commit
that referenced
this pull request
Sep 10, 2026
- Require all components to stall before resetting Broyden (#1184) - Add adaptive Jacobian reuse to first-order solvers (#1072) - Release 4.29.1 (#1220) - Release 2.49.1 (#1221) - Release 1.15.3 (#1222) - Fix @static_timeit for TimerOutputs ≥ 0.5.27 (#1224) (#1225) - NonlinearSolveBase: rebuild a pre-wrapped function when its signatures do not match u0/p (#1226) - Fix reverse AD through despecialized parameters (#1228) - Preserve Jacobian cache parameter representation (#1227) - Preserve TrustRegion cache parameter representation on reinit (#1229) Agent-Harness: Claude Code Agent-Model: claude-opus-5[1m] Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
ChrisRackauckas
referenced
this pull request
Sep 10, 2026
- Remove name duplicates in keyword arguments/named tuples (#1238) - Add 32-bit Core CI lane via test_groups.toml (#1239) - Add a native bounded trust-region solver (#1219) Agent-Harness: Claude Code Agent-Model: claude-opus-5[1m] Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
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.
Summary
__source__intoTimerOutputs.timer_exprsoenable_timer_outputs()precompiles on TimerOutputs ≥ 0.5.27 / 1.x (fixes enable_timer_outputs() breaks precompilation: @static_timeit calls TimerOutputs.timer_expr without the LineNumberNode argument #1224).Pkg.develop'd NonlinearSolveBase, forcedcompilecache, and@eval'd a probe.This does not restore TimerOutputs 0.5 compat (supersedes the approach in #1223). The OrdinaryDiffEq downstream resolution failure is fixed by widening TimerOutputs in AlgebraicMultigrid instead: JuliaLinearAlgebra/AlgebraicMultigrid.jl#137
Verification
enable_timer_outputs => trueand TimerOutputs 1.2.0:timer_outputs_enabled: okon Julia 1.10.11 and 1.12.7.GROUP=Core julia +1.10 --project=lib/NonlinearSolveBase -e 'using Pkg; Pkg.test()'passed (all Core testsets).GROUP=QAsame: 18 passed in 33.6s.--checkandtyposclean on the remaining diff.Not verified: GPU, downstream OrdinaryDiffEq/ModelingToolkit CI, allowed-to-fail jobs.
Please ignore this PR until it has been reviewed by @ChrisRackauckas.
🤖 Generated with Grok CLI 1.0.13 (model: grok-4.6)
Session: 01a05284-357b-7d52-bddf-1ca1ef8a15a2