Skip to content

Skip the knife-edge Brown almost linear problem for true-Jacobian Broyden - #1150

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:skip-brown-almost-linear-truejac-broyden
Aug 9, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:skip-brown-almost-linear-truejac-broyden

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

⚠️ Draft — please ignore until reviewed by @ChrisRackauckas.

What changed and why

Problem 8 (Brown almost linear function) with Broyden(; init_jacobian = Val(:true_jacobian)) (alg #2 in the 23-test-problems Broyden set) is marked in broken_tests, but as of LinearSolve 5.6 it converges on some runners, so the broken marker errors with Unexpected Pass:

8: Brown almost linear function | alg #2: Error During Test at test/Core/setup_robustnesstesting.jl:25
 Unexpected Pass
 Expression: norm(res, Inf) ≤ ϵ
 Got correct result, please change to @test if no longer broken.

Other runners still see it fail, so flipping the marker to a plain @test would just fail in the other direction. This is the same knife-edge this file already documents for the bad_broyden + true_jacobian variant (#1083, #1096), and the fix is the same: move it from broken_tests to skip_tests.

This currently fails NonlinearSolve's own CI on master:

and LinearSolve.jl's downstream job NonlinearSolve.jl/Core / Downstream Tests - Core on LinearSolve main (7 of the last 8 runs on 2026-08-08, e.g. https://github.com/SciML/LinearSolve.jl/actions/runs/31260420398/job/93110264191). The flake is runner-dependent: e.g. LinearSolve main run 31256578361 (12:08) passed between failures at 11:58 and 13:47 with no relevant code change, matching the CPU/BLAS dependence described in the existing comment.

Verification

Julia 1.10.11, NonlinearSolve master (4.26.0) dev'd with released LinearSolve v5.6.0, running test/Core/23_test_problems_tests__item7.jl.

Before (unmodified master, reproduces both CI failures):

8: Brown almost linear function | alg #2: Error During Test at .../test/Core/setup_robustnesstesting.jl:25
 Unexpected Pass
Test Summary:                                               | Pass  Error  Broken  Total   Time
item7 before fix                                            |   94      1      20    115  28.3s

After (this patch):

Test Summary:   | Pass  Broken  Total   Time
item7 after fix |   94      21    115  26.4s

julia -m Runic --check passes on the edited file.

Not verified: the full Core group on all CI Julia versions (1.10/1/pre) — only this test file was run locally, on Julia 1.10.11. The change is test-marker-only, no source is touched.

Links

🤖 Generated with Claude Code

https://claude.ai/code/session_01UGVN6qeNL2jGCtaYg1386X

…yden

Problem 8 with Broyden(; init_jacobian = Val(:true_jacobian)) (alg #2 in the
23-test-problems Broyden set) has started converging on some runners as of
LinearSolve 5.6, so its broken marker errors with Unexpected Pass on own CI
and on LinearSolve's downstream CI, while other runners still see it fail.
Move it from broken_tests to skip_tests, the mechanism this file already uses
for the same knife-edge with the bad_broyden + true_jacobian variant.

Co-Authored-By: Chris Rackauckas <[email protected]>
@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review August 9, 2026 03:07
@ChrisRackauckas
ChrisRackauckas merged commit 21fdf6b into SciML:master Aug 9, 2026
69 of 71 checks passed
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.

2 participants