Skip to content

Move downloading of data dependencies - #3616

Closed
peterebden wants to merge 2 commits into
masterfrom
peter/rex-downloads
Closed

peterebden wants to merge 2 commits into
masterfrom
peter/rex-downloads

Conversation

@peterebden

@peterebden peterebden commented Sep 21, 2026

Copy link
Copy Markdown
Collaborator

This happens too early now in remote.go. Move it out of Build() so that function just builds and doesn't download (handling a TODO in there) and trigger the downloads externally. This actually simplifies quite a bit since we have the same "walk all inputs" in DownloadInputsIfNeeded and we don't need to repeat that.

Added a test case for rex_test since that wasn't covering this super well. It's a bit fiddly though since it's quite timing-oriented.

@peterebden

Copy link
Copy Markdown
Collaborator Author

Wrong branch.

@peterebden peterebden closed this Sep 21, 2026
@peterebden
peterebden deleted the peter/rex-downloads branch September 21, 2026 20:07
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.

1 participant