Skip to content

download_queue: fix patch handling. #20353

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

Merged
merged 1 commit into from
Aug 1, 2025
Merged

Conversation

MikeMcQuaid
Copy link
Member

These were being downloaded twice simultaneously which causes a locking race condition.

While we're here, also improve the output of bottle manifests and patches in the download queue.

@carlocab should fix Homebrew/homebrew-core#231723 (comment)

These were being downloaded twice simultaneously which causes a locking
race condition.

While we're here, also improve the output of bottle manifests and
patches in the download queue.
@MikeMcQuaid MikeMcQuaid enabled auto-merge August 1, 2025 16:03
@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Aug 1, 2025
Merged via the queue into main with commit 55a578a Aug 1, 2025
36 checks passed
@MikeMcQuaid MikeMcQuaid deleted the fix_download_queue_patches branch August 1, 2025 17:51
@lembacon
Copy link
Contributor

lembacon commented Aug 3, 2025

Not sure whether this is intentional or not, but there were no more bottle manifest files for recently installed/upgraded formulae in $HOMEBREW_CACHE since this got merged.

It turns out that, for instance, fzf--0.65.1 now points to both bottle manifest and bottle tarball, while the latter was pointed by a separated fzf_bottle_manifest--0.65.1 file, and the latter will be clobbered once the bottle tarball is downloaded.

@carlocab
Copy link
Member

carlocab commented Aug 3, 2025

Probably not intentional, unfortunately. Can you open an issue? Or a fix is even better, if you're able to open a PR. Thanks!

@MikeMcQuaid
Copy link
Member Author

Should be fixed by #20370

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.

4 participants