Skip to content

Conversation

@vtjnash
Copy link
Member

@vtjnash vtjnash commented Sep 26, 2025

  • The PR for LOADING_CACHE failed to acquire the lock in many places it was newly made mandatory.
  • The stale_cache_key did not include many relevant parameters.
  • The isprecompiled implementation failed to account for the preferred stdlib logic of loading.
  • The isprecompiled cache failed to account for either newly compiled packages or other changes to the file system.
  • After parallel precompile noticed a package fails, it would retry with serial precompile, which was very pointless.
  • Semaphore could be <= 0, leading to deadlock.
  • After parallel precompile noticed a failure, it would crash, instead of allowing the program to continue on to load the package normally. We had tests for this, but they had gotten removed.

Marked as draft since this is against the quieter-logging PR (#59652).

@vtjnash vtjnash added the backport 1.12 Change should be backported to release-1.12 label Sep 26, 2025
Base automatically changed from jn/59527 to master September 30, 2025 14:03
 * The LOADING_CACHE PR failed to acquire the lock in many places it was
   new made mandatory.
 * The stale_cache_key did not include many relevant parameters.
 * The `isprecompiled` implementation failed to account for the
   preferred stdlib logic of loading.
 * The `isprecompiled` cache failed to account for either newly compiled
   packages or other changes to the file system.
 * After parallel precompile noticed a package fails, it would retry
   with serial precompile, which was very pointless.
 * Semaphore could be <= 0, leading to deadlock.
@vtjnash vtjnash force-pushed the jn/precompilation-quality branch from 13e4fd0 to 773987b Compare September 30, 2025 14:04
@KristofferC KristofferC mentioned this pull request Sep 30, 2025
47 tasks
@vtjnash vtjnash marked this pull request as ready for review October 2, 2025 17:55
@vtjnash vtjnash merged commit f362f47 into master Oct 3, 2025
6 of 8 checks passed
@vtjnash vtjnash deleted the jn/precompilation-quality branch October 3, 2025 17:50
KristofferC pushed a commit that referenced this pull request Oct 10, 2025
…59670)

* The PR for LOADING_CACHE failed to acquire the lock in many places it
was newly made mandatory.
 * The stale_cache_key did not include many relevant parameters.
* The `isprecompiled` implementation failed to account for the preferred
stdlib logic of loading.
* The `isprecompiled` cache failed to account for either newly compiled
packages or other changes to the file system.
* After parallel precompile noticed a package fails, it would retry with
serial precompile, which was very pointless.
 * Semaphore could be <= 0, leading to deadlock.
* After parallel precompile noticed a failure, it would crash, instead
of allowing the program to continue on to load the package normally. We
had tests for this, but they had gotten removed.

(cherry picked from commit f362f47)
@aviatesk
Copy link
Member

It looks like backporting this to 1.12 requires backporting #59212 too.

KristofferC pushed a commit that referenced this pull request Oct 12, 2025
…59670)

* The PR for LOADING_CACHE failed to acquire the lock in many places it
was newly made mandatory.
 * The stale_cache_key did not include many relevant parameters.
* The `isprecompiled` implementation failed to account for the preferred
stdlib logic of loading.
* The `isprecompiled` cache failed to account for either newly compiled
packages or other changes to the file system.
* After parallel precompile noticed a package fails, it would retry with
serial precompile, which was very pointless.
 * Semaphore could be <= 0, leading to deadlock.
* After parallel precompile noticed a failure, it would crash, instead
of allowing the program to continue on to load the package normally. We
had tests for this, but they had gotten removed.

(cherry picked from commit f362f47)
KristofferC pushed a commit that referenced this pull request Oct 12, 2025
…59670)

* The PR for LOADING_CACHE failed to acquire the lock in many places it
was newly made mandatory.
 * The stale_cache_key did not include many relevant parameters.
* The `isprecompiled` implementation failed to account for the preferred
stdlib logic of loading.
* The `isprecompiled` cache failed to account for either newly compiled
packages or other changes to the file system.
* After parallel precompile noticed a package fails, it would retry with
serial precompile, which was very pointless.
 * Semaphore could be <= 0, leading to deadlock.
* After parallel precompile noticed a failure, it would crash, instead
of allowing the program to continue on to load the package normally. We
had tests for this, but they had gotten removed.

(cherry picked from commit f362f47)
KristofferC pushed a commit that referenced this pull request Oct 15, 2025
…59670)

* The PR for LOADING_CACHE failed to acquire the lock in many places it
was newly made mandatory.
 * The stale_cache_key did not include many relevant parameters.
* The `isprecompiled` implementation failed to account for the preferred
stdlib logic of loading.
* The `isprecompiled` cache failed to account for either newly compiled
packages or other changes to the file system.
* After parallel precompile noticed a package fails, it would retry with
serial precompile, which was very pointless.
 * Semaphore could be <= 0, leading to deadlock.
* After parallel precompile noticed a failure, it would crash, instead
of allowing the program to continue on to load the package normally. We
had tests for this, but they had gotten removed.

(cherry picked from commit f362f47)
@KristofferC KristofferC removed the backport 1.12 Change should be backported to release-1.12 label Oct 21, 2025
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.

3 participants