Repository navigation
Initialize the package module before precompile workloads - #150
Merged
ChrisRackauckas merged 1 commit intoSep 5, 2026
Merged
ChrisRackauckas merged 1 commit into
ChrisRackauckas merged 1 commit into
Conversation
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: OpenAI Codex <noreply@openai.com> Agent-Harness: Codex CLI 0.153.4 Agent-Model: gpt-6-astra Agent-Session: local transcript /home/crackauc/.codex/sessions/2026/09/05/rollout-2026-09-05T05-35-38-01a070ec-6fe3-7593-b7ea-92d4535aa542.jsonl
Member
Author
|
Final verification: all 16 GitHub checks succeeded at commit cf9d4f9, including Core on Linux/macOS/Windows with LTS/current/prerelease Julia, QA, downgrade, documentation, formatting, and spelling. The branch has no commits behind the freshly fetched base and is merge-clean. It remains a draft for @ChrisRackauckas review. Local failing-before/passing-after evidence, the bisected introducing commit, both local Core runs, and QA 20/20 are recorded in the PR body. No tests were skipped or weakened. Links:
🤖 Codex CLI 0.153.4; model gpt-6-astra; local transcript /home/crackauc/.codex/sessions/2026/09/05/rollout-2026-09-05T05-35-38-01a070ec-6fe3-7593-b7ea-92d4535aa542.jsonl. |
ChrisRackauckas
marked this pull request as ready for review
September 5, 2026 11:52
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.
Julia 1.12 cannot precompile RuntimeGeneratedFunctions with the supported PrecompileTools 1.2.1 dependency:
initdefinesgenerated_callfuncinside the workload's scope, so the subsequent call sees a method newer than its world age. Initialize the module at top level before entering the workload. A subprocess regression test exercises this dependency combination without changing the surrounding test environment.The regression starts at 73411b2. Its parent passes the same Julia 1.12.7 / PrecompileTools 1.2.1 smoke check. A freshly resolved environment selects PrecompileTools 1.3.4 and passes, but 1.2.1 remains within the declared compatibility range; the failure also reproduces in a fresh environment pinned to 1.2.1.
Verification
The new
test/shared/precompiletools_v1_2.jlscript was run with the same Julia 1.12.7 executable against a clean master checkout and the fixed checkout, with separate initially empty project environments:/home/crackauc/.juliaup/bin/julia +1.12.7 --startup-file=no \ --project=.validation/rgf-julia112-audit/permanent-before-env \ RuntimeGeneratedFunctions-worldage-audit/test/shared/precompiletools_v1_2.jl \ "$PWD/RuntimeGeneratedFunctions-worldage-before"Before, exit 1:
The identical script with
permanent-fixed-envandRuntimeGeneratedFunctions-worldage-auditexits 0. The full official Core runner includes this test:Both exit 0 and end with:
Pkg.resolve()was necessary before the 1.12 run because the local 1.10 manifest omitted the Serialization stdlib entry; the initial 1.12 invocation stopped before executing tests. The resolved full run passed.GROUP=QA /home/crackauc/.juliaup/bin/julia +1.12.7 --project=RuntimeGeneratedFunctions-worldage-audit -e 'using Pkg; Pkg.test()'Runic checks on all three changed Julia files,
typoson all changed files, andgit diff --checkpass. No test is skipped or weakened. Pkg is added only as a test extra; its MIT license matches the host package. No new runtime dependency or public API is introduced.Not verified: docs build (no documentation/docstring/public-API change), downstream packages, or Julia prerelease. The subprocess test resolves a small package environment and therefore requires registry/package availability, as the existing test setup does.
Ignore this draft until reviewed by @ChrisRackauckas.
🤖 Generated with Codex CLI 0.153.4 (model: gpt-6-astra; local transcript: /home/crackauc/.codex/sessions/2026/09/05/rollout-2026-09-05T05-35-38-01a070ec-6fe3-7593-b7ea-92d4535aa542.jsonl).