Repository navigation
Allow the non-public qualified accesses strict QA flags - #1475
Merged
ChrisRackauckas merged 1 commit intoJul 29, 2026
Merged
ChrisRackauckas merged 1 commit into
ChrisRackauckas merged 1 commit into
Conversation
`all_qualified_accesses_are_public` runs only on Julia 1.11+, where `Base.ispublic` exists, so the LTS lane never exercises it. SciML#1472 was verified on the LTS only, and its QA lane is red on Julia 1.12: every Base and Core access it restored is flagged, because the `_via_owners` checks pass unlisted but the `_are_public` ones do not. Add the ignore list those accesses need: the compile-time hints (`@max_methods`, `Core.Compiler.return_type`), the type introspection with no public equivalent (`typename`, `unwrap_unionall`, `promote_typejoin`, `SizeUnknown`), the error-hint registration, and `StaticArraysCore.StaticArray`. Also require SciMLTesting 2.6 rather than 2.4. The generated-enum handling this test file depends on is not in 2.5. Verified with `GROUP=QA`: 35/35 on Julia 1.12, 33/33 on Julia 1.10 (two fewer, being the checks skipped on the LTS). Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01DFVmGLPUsWbRgkLJckxUGy
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.
Master's QA lane is red on Julia 1.12 right now.
GROUP=QAfails withall_qualified_accesses_are_publicflagging all eleven Base/Core accesses that #1472 restored.The reason it was not caught: SciMLTesting skips both
_are_publicchecks on Julia < 1.11, becauseBase.ispublicdoes not exist there. #1472 was verified on the 1.10 LTS, where those two checks silently do not run, so an 18/18 read looked like a full pass. The_via_ownerschecks do pass unlisted; the_are_publicones do not.This adds the ignore list those accesses need. Each entry buys compile-time behavior or a diagnostic with no public equivalent, which is why the accesses exist rather than being worked around in the source:
@max_methods,Experimental,Compiler/return_type.typename,unwrap_unionall,promote_typejoin,SizeUnknown.register_error_hint,NoFunctionWrapperFoundError.StaticArraysCore.StaticArray, which keeps the allocation-freetotallengthpath for static arrays.Also moves the
SciMLTestingcompat from"2.4"to"2.6". The generated-enum handling this test file depends on is not in 2.5, and 2.6.0 is registered now.Verification
Run locally with the real harness, not a hand-rolled
run_qacall:GROUP=QAon Julia 1.12: 35/35, exit 0.GROUP=QAon Julia 1.10: 33/33, exit 0 (two fewer, being the checks skipped on the LTS).Confirmed the failure reproduces on unmodified master at 1.12 before the change.
🤖 Generated with Claude Code
https://claude.ai/code/session_01DFVmGLPUsWbRgkLJckxUGy