Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release-1.11] Prevent pre-compilation package from triggering its own extensions (#56666) #56676

Merged

Conversation

topolarity
Copy link
Member

It is possible for an extension ExtAB to be loadable by one of its triggers, e.g. if A loads B. However, this loading is not supposed to happen during pre-compilation of A.

Getting this wrong means disagreeing with the scheduled pre-compile jobs (A is not scheduled to depend on or generate a cache file for ExtAB but accidentally attempts both) and leads to confusing errors about missing cache files.

We used to cover up this bad behavior w/ an erroneous cycle warning (fixed by #55910), but now we need to be sure this works.

…uliaLang#56666)

It is possible for an extension `ExtAB` to be loadable by one of its
triggers, e.g. if `A` loads `B`. However, this loading is not supposed
to happen during pre-compilation of `A`.

Getting this wrong means disagreeing with the scheduled pre-compile jobs
(`A` is not scheduled to depend on or generate a cache file for `ExtAB`
but accidentally attempts both) and leads to confusing errors about
missing cache files.

We used to cover up this bad behavior w/ an erroneous cycle warning
(fixed by JuliaLang#55910), but now we need to be sure this works.
@KristofferC KristofferC added the merge me PR is reviewed. Merge when all tests are passing label Nov 24, 2024
@topolarity topolarity merged commit 4a7b1d1 into JuliaLang:release-1.11 Nov 24, 2024
7 checks passed
@topolarity topolarity removed the merge me PR is reviewed. Merge when all tests are passing label Nov 24, 2024
@topolarity topolarity deleted the ct/backports-1.11-56666 branch November 25, 2024 03:35
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