Skip to content

Prefetch data that are problematic and causing docs build failure - #1103

Open
Czaki wants to merge 2 commits into
napari:mainfrom
Czaki:prefetch_data
Open

Prefetch data that are problematic and causing docs build failure#1103
Czaki wants to merge 2 commits into
napari:mainfrom
Czaki:prefetch_data

Conversation

@Czaki

@Czaki Czaki commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

References and relevant issues

closes #1089

Description

This PR adds a step of prefetching fragile data required during the build of docs. It does not prevent docs build from failing, but it should happen in the first minute.

So it should be easier to understand why docs build fails and use less CI time.

The next step might be to use this script to download data from an alternative location and put it in the expected place.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Aug 10, 2026
@jni

jni commented Aug 10, 2026

Copy link
Copy Markdown
Member

@Czaki what about adding the download dirs to the actions cache so that they don't need to be re-downloaded?

@Czaki

Czaki commented Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

@Czaki what about adding the download dirs to the actions cache so that they don't need to be re-downloaded?

Is there a reason to keep it outside the default Pooch cache directory?

@DragaDoncila

Copy link
Copy Markdown
Contributor

@Czaki I had a look at this and it seems reasonable? But.. how do I check/know whether it's worked and the cached data is being used rather than refetched?

@brisvag brisvag left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Add some print? xD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Add prefetch steep to download all remote resources on begin of docs build

4 participants