Skip to content
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

drv: backport CA derivations support changes from hydra-eval-jobs #322

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

Mic92
Copy link
Member

@Mic92 Mic92 commented Aug 11, 2024

It is not possible to query output paths for CA derivations since they're not static / known at eval time. Instead, return JSON nulls for outputs paths.

This is a partial port of the following Hydra commits:

  • 9ba4417940ffdd0fadea43f68c61ef948a4b8d39
  • 069b7775c565f5999fe33e8c3f28c7b9306039ca
  • fcde5908d8e51f975b883329b34d24a9f30ea4b3

cc @zowoq (I believe this is the change needed for hydra)

It is not possible to query output paths for CA derivations since
they're not static / known at eval time. Instead, return JSON nulls for
outputs paths.

This is a partial port of the following Hydra commits:

- 9ba4417940ffdd0fadea43f68c61ef948a4b8d39
- 069b7775c565f5999fe33e8c3f28c7b9306039ca
- fcde5908d8e51f975b883329b34d24a9f30ea4b3

By the following authors:

Co-Authored-By: John Ericson <[email protected]>
Co-Authored-By: Théophane Hufschmitt <[email protected]>
Co-Authored-By: Alexander Sosedkin <[email protected]>
Co-Authored-By: Andrea Ciceri <[email protected]>
Co-Authored-By: Charlotte 🦝 Delenk [email protected]>
Co-Authored-By: Sandro Jäckel <[email protected]>
@Mic92 Mic92 force-pushed the fix-ca-derivations branch from 168bc7a to bc4f360 Compare August 11, 2024 12:19
@zowoq
Copy link

zowoq commented Aug 12, 2024

I believe this is the change needed for hydra

Yes, this seems to be all that is needed.

@Mic92
Copy link
Member Author

Mic92 commented Aug 12, 2024

Okay, once I have better internet, I want to test this with the content-addressing turned on.

@Mic92 Mic92 marked this pull request as ready for review September 20, 2024 18:57
@Mic92 Mic92 merged commit 6684d20 into main Sep 20, 2024
16 checks passed
@Mic92
Copy link
Member Author

Mic92 commented Sep 20, 2024

Finally tested.

@Mic92 Mic92 deleted the fix-ca-derivations branch September 20, 2024 19:10
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