Skip to content

Allow the non-public qualified accesses strict QA flags - #1475

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:agent/qa-nonpublic-allowlist
Jul 29, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:agent/qa-nonpublic-allowlist

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

Ignore until reviewed by @ChrisRackauckas.

Master's QA lane is red on Julia 1.12 right now. GROUP=QA fails with all_qualified_accesses_are_public flagging all eleven Base/Core accesses that #1472 restored.

The reason it was not caught: SciMLTesting skips both _are_public checks on Julia < 1.11, because Base.ispublic does 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_owners checks do pass unlisted; the _are_public ones 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:

  • Compile-time hints and inference entry points: @max_methods, Experimental, Compiler/return_type.
  • Type introspection with no public equivalent on any supported version: typename, unwrap_unionall, promote_typejoin, SizeUnknown.
  • Error-hint registration and the wrapper-lookup error type it reports on: register_error_hint, NoFunctionWrapperFoundError.
  • StaticArraysCore.StaticArray, which keeps the allocation-free totallength path for static arrays.

Also moves the SciMLTesting compat 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_qa call:

  • GROUP=QA on Julia 1.12: 35/35, exit 0.
  • GROUP=QA on 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

`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
@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review July 29, 2026 01:37
@ChrisRackauckas
ChrisRackauckas merged commit e0733ef into SciML:master Jul 29, 2026
14 of 63 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