Repository navigation
QA: ignore Compiler-owned BitVector/specialize_method in ExplicitImports checks - #75
Merged
ChrisRackauckas merged 1 commit intoJul 23, 2026
Conversation
…rts checks PR SciML#70 added `_CC.BitVector` and `_CC.specialize_method` accesses in src/hasbranching.jl (where `_CC` is the `Compiler` module). Under SciMLTesting 2.4 the ExplicitImports checks run by default, and these two names trip: - all_qualified_accesses_via_owners: both are owned by `Base` (per `Base.which` on 1.12) but reached through `Compiler`. - all_qualified_accesses_are_public: `BitVector` is not public in `Compiler`. Both must be reached via `Compiler` for version-portability: on Julia <= 1.11 the compiler bootstraps its own `BitVector` distinct from `Base.BitVector` (and `InferenceResult` accepts only that one), and `Base.specialize_method` does not exist on 1.10. Add them to the QA ignore lists with an explanatory comment. Verified locally: QA passes on Julia 1.12 (21/21) and 1.10 (19/19). Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.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.
Summary
Fixes the QA failure introduced by #70. That PR added
_CC.BitVectorand_CC.specialize_methodaccesses insrc/hasbranching.jl(where_CCis theCompilermodule) but did not update thetest/qa/qa.jlExplicitImports ignore lists. Under SciMLTesting 2.4 the ExplicitImports checks run by default, so onmainQA now errors on:all_qualified_accesses_via_owners— bothBitVectorandspecialize_methodare owned byBase(perBase.whichon 1.12) but reached throughCompiler.all_qualified_accesses_are_public—BitVectoris not public inCompiler(specialize_methodwas already ignored here).Both names must be reached via
Compilerfor version-portability, and this is genuinely irreducible:BitVector, distinct fromBase.BitVector, andInferenceResultaccepts only the compiler-owned one.Base.specialize_methoddoes not exist on 1.10; it is only reachable throughCompiler.So the fix is to add them to the QA ignore lists (with an explanatory comment), matching the existing pattern for the other Core/Base compiler-introspection internals this package deliberately depends on.
Verification
Ran the QA group locally:
Quality Assurance | 21 pass / 21 total(previously 19 pass + 2 errored)Quality Assurance | 19 pass / 19 total(public-API sub-checks correctly skipped on < 1.11)Runic clean on the changed file.
Please ignore until reviewed by @ChrisRackauckas.
🤖 Generated with Claude Code
https://claude.ai/code/session_01PUqzmEnsjgBHHuMVzQo1GE