Repository navigation
Declare the BDF LHL test's dependencies so the test can run - #4375
Closed
ChrisRackauckas-Claude wants to merge 1 commit into
Closed
ChrisRackauckas-Claude wants to merge 1 commit into
ChrisRackauckas-Claude wants to merge 1 commit into
Conversation
`lhl_factorization_tests.jl` (SciML#4266) does `using SciMLOperators`, which is in neither `[deps]` nor `[extras]`, so the file cannot load and the whole testset errors out. Once it loads, `FIRK refuses a reduction it cannot reuse` still fails: the `ArgumentError` it expects lives in the in-repo `OrdinaryDiffEqFIRK`, but `[sources]` does not list it, so the test env resolves the registered v2.7.0 instead of the repo's v2.8.0. Add `SciMLOperators` to the test target and point `OrdinaryDiffEqFIRK` at the in-repo path. Project.toml only; no code or test changes. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude <[email protected]> Claude-Session: https://claude.ai/code/session_01WiHL8AqRSy2VQZF6j68ovM
Member
|
Closing as superseded: already on master or replaced by later work. 🤖 Posted by an AI agent — harness: Claude Code, model: claude-opus-5[1m]. Chris asked for these closures directly. |
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.
Ignore until reviewed by @ChrisRackauckas.
What changed and why
lib/OrdinaryDiffEqBDF/test/lhl_factorization_tests.jl(added by #4266) has two undeclared dependencies, so the testset has never actually run:using SciMLOperators: WOperator, jacobian_stale, butSciMLOperatorsis in neither[deps]nor[extras]oflib/OrdinaryDiffEqBDF/Project.toml. The file fails to load, anddowngrade-sublibraries / test (lib/OrdinaryDiffEqBDF)is red on master and on every PR branched from it.FIRK refuses a reduction it cannot reusefails. TheArgumentErrorit expects is raised in the in-repolib/OrdinaryDiffEqFIRK/src/firk_operators.jl:153, butOrdinaryDiffEqFIRKis not in BDF's[sources], so the test environment resolves the registeredOrdinaryDiffEqFIRK v2.7.0— which predates that change — instead of the repo'sv2.8.0.Fix: add
SciMLOperatorsto[extras],[compat]and[targets].test, and addOrdinaryDiffEqFIRK = {path = "../OrdinaryDiffEqFIRK"}to[sources]. Project.toml only; no code or test changes.Verification
GROUP=Core Pkg.test()onlib/OrdinaryDiffEqBDF, clean master13da423dd, Julia 1.12.4.Before — the testset cannot load:
With only the
SciMLOperatorsentry — it loads, and the real failure appears:(resolved
OrdinaryDiffEqFIRK v2.7.0— the registered one)After — both entries, same command:
Whole
GROUP=Coregroup green;typoson the changed file clean.Not verified
Only BDF's
Coregroup was run. The QA group, other sublibraries, GPU lanes and downstream packages were not.Note for the reviewer
Worth deciding whether the in-repo-path question generalises: any sublibrary test that exercises unreleased behaviour of a sibling sublibrary needs that sibling in
[sources], otherwise it silently tests the registered version and the assertion passes or fails for the wrong reason.🤖 Generated with Claude Code
https://claude.ai/code/session_01WiHL8AqRSy2VQZF6j68ovM