Repository navigation
Analyze the Extrapolation Polyester extension in the QA lane - #4273
Merged
ChrisRackauckas merged 1 commit intoAug 17, 2026
Merged
ChrisRackauckas merged 1 commit into
ChrisRackauckas merged 1 commit into
Conversation
`Pkg.test()` for OrdinaryDiffEqExtrapolation (GROUP=ALL) fails while GROUP=QA and GROUP=Core each pass: the Core group loads Polyester, so the QA group's ExplicitImports run then analyzes OrdinaryDiffEqExtrapolationPolyesterExt and flags its import of the package-internal `_polyester_foreach` hook as a non-public import (an extension is a separate module root to ExplicitImports). Load Polyester in qa.jl so the extension is always analyzed, and approve the internal hook in the all_explicit_imports_are_public ignore list. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WiHL8AqRSy2VQZF6j68ovM
ChrisRackauckas-Claude
force-pushed
the
fix/extrapolation-polyester-ext-qa
branch
from
August 16, 2026 09:49
7cffc23 to
241521b
Compare
Member
Author
|
Rebased and pushed as Local verification on the pushed commit:
No documentation or public API definitions are changed by this QA-only PR, so no docs build was required. |
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 / why
lib/OrdinaryDiffEqExtrapolation'sPkg.test()(defaultGROUP=ALL) fails onmasterin the QA lane whileGROUP=QAandGROUP=Coreeach pass on their own. TheCoregroup'sthreading_linsolve_tests.jldoesusing Polyester, which loadsOrdinaryDiffEqExtrapolationPolyesterExtinto the process; the QA group then runsExplicitImports.check_all_explicit_imports_are_public, which analyzes any loaded extension of the package, and flags the extension'simport OrdinaryDiffEqExtrapolation: _polyester_foreachbecause ExplicitImports treats an extension as a separate module root (so a package-internal hook looks like a non-public cross-package import). CI is green only because it runsCoreandQAin separate jobs; the extension is never analyzed in theQAjob. Introduced with the extension in #4135.Change (test-only, 10 lines):
test/qa/qa.jl:using Polyesterso the extension always exists and is analyzed in the QA lane, and add_polyester_foreachto theall_explicit_imports_are_publicignore list. It is a package-internal hook implemented by the extension (same shape asOrdinaryDiffEqCore._polyester_batch, deliberately not public).test/qa/Project.toml: addPolyester(already a weakdep of the package) to the QA env with compat0.7.Found while working on #4269 (that branch's full
Pkg.test()for the sublibrary tripped over it).Verification (Julia 1.12.4, SciMLTesting v2.10.0, ExplicitImports v1.15.0)
All commands run from
lib/OrdinaryDiffEqExtrapolationwithjulia --project -e 'using Pkg; Pkg.test()'.Clean
master,GROUP=QA— passes (extension not loaded, so not analyzed):Clean
master,GROUP=ALL— fails (reproduces the report):Discriminating before/after on this branch,
GROUP=QA:Before (qa.jl with
using Polyesterbut without the ignore) — the test now fails on its own:After (this commit):
This branch,
GROUP=ALL— the original failure mode passes:Runic
--checkandtyposon the changed files: clean.Not verified
using Polyesterin the QA env is the only new behavior on 1.10.OrdinaryDiffEqCorehas the same latent shape (OrdinaryDiffEqCorePolyesterExtimports the non-public_polyester_batch,OrdinaryDiffEqCoreSparseArraysExtimports_isdiagetc.) when its extensions are loaded before its QA lane runs — out of scope here, flagging for a follow-up.Reviewer judgment call
Approving the internal hook via an ignore rather than declaring
_polyester_foreachpublic. Core keeps its equivalent_polyester_batchout of the public solver-author API on purpose, so I kept this consistent; say the word if you'd rather make it public.🤖 Generated with Claude Code
https://claude.ai/code/session_01WiHL8AqRSy2VQZF6j68ovM