Skip to content

Conversation

@zanieb
Copy link
Member

@zanieb zanieb commented Mar 17, 2025

In #565 we note we're seeing rate-limiting on downloads of bzip2 — which is blocking development here. There, we increase the exponential backoff but we need to reduce the number of downloads to address the root cause of the issue. @geofft suggested caching these downloads, which makes a lot of sense for us — there's already logic to validate the file if it exists on disk.

I'm just starting with Linux.

@zanieb zanieb added the platform:linux Specific to the Linux platform label Mar 17, 2025
@zanieb zanieb mentioned this pull request Mar 17, 2025
Comment on lines +223 to +226
key: ${{ matrix.target_triple }}-${{ hashFiles('pythonbuild/downloads.py')}}
restore-keys: |
${{ matrix.target_triple }}-${{ hashFiles('pythonbuild/downloads.py')}}
${{ matrix.target_triple }}-
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could also add the OS to the key and use that as a final level match?

@zanieb zanieb marked this pull request as ready for review March 17, 2025 18:24
@zanieb zanieb changed the title Cache dependency downloads Cache dependency downloads on Linux Mar 17, 2025
zanieb added a commit that referenced this pull request Mar 17, 2025
A more targeted solution to

- #566 
- #565
@zanieb zanieb merged commit bdb0722 into main Mar 17, 2025
346 checks passed
@zanieb zanieb deleted the zb/cache-downloads branch March 17, 2025 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform:linux Specific to the Linux platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants