Repository navigation
feat: add Directory.digest and ModuleSource.digest - #8282
Merged
Merged
Conversation
jedevc
force-pushed
the
add-module-source-digests
branch
from
September 5, 2024 14:41
91b60a2 to
97b5e23
Compare
Contributor
|
I love the feature but I'm concerned about using these IDs as cache keys for uv's cache. Wouldn't any change produce a different ID and thus busting the cache every time? |
Contributor
Author
|
I think we'll only use the digest as the path name, so it'll only be the part of the uv cache that maps to the editable package Just like we have today, but today we're using the even more unstable ID, which seems to change every time. |
Contributor
|
Yeah, you're right! Giving a looksy 🙂 |
Signed-off-by: Justin Chadwell <[email protected]>
Signed-off-by: Justin Chadwell <[email protected]>
Signed-off-by: Justin Chadwell <[email protected]>
helderco
force-pushed
the
add-module-source-digests
branch
from
September 10, 2024 16:52
97b5e23 to
c89c2f5
Compare
scottames
referenced
this pull request
in scottames/dots
Sep 25, 2024
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [dagger/dagger](https://redirect.github.com/dagger/dagger) | minor | `v0.12.7` -> `v0.13.0` | --- ### Release Notes <details> <summary>dagger/dagger (dagger/dagger)</summary> ### [`v0.13.0`](https://redirect.github.com/dagger/dagger/blob/HEAD/CHANGELOG.md#v0130---2024-09-11) [Compare Source](https://redirect.github.com/dagger/dagger/compare/v0.12.7...v0.13.0) ##### 🔥 Breaking Changes - Remove deprecated fields and arguments by [@​jedevc](https://redirect.github.com/jedevc) in [https://github.com/dagger/dagger/pull/8065](https://redirect.github.com/dagger/dagger/pull/8065) - Remove `Container.withExec`'s `skipEntrypoint` argument - this is now the default (see `useEntrypoint`) - Remove `pipeline`, `Container.pipeline` and `Directory.pipeline` - Remove `GitModuleSource.cloneURL` (see `GitModuleSource.cloneRef`) ##### Added - Added new `Directory.digest` and `ModuleSource.digest` fields by [@​jedevc](https://redirect.github.com/jedevc) in [https://github.com/dagger/dagger/pull/8282](https://redirect.github.com/dagger/dagger/pull/8282) \ These fields mirror the behavior of the `File.digest` field, computing a unique cryptographic digest over the contents of the object. - TUI: add `--no-exit`/`-E` so you can poke around after the call completes by [@​vito](https://redirect.github.com/vito) in [https://github.com/dagger/dagger/pull/8389](https://redirect.github.com/dagger/dagger/pull/8389) ##### Changed - The trace url is printed just before the final output to make it easy to find by [@​rajatjindal](https://redirect.github.com/rajatjindal) in [https://github.com/dagger/dagger/pull/8366](https://redirect.github.com/dagger/dagger/pull/8366) \ Also, the url will be printed only for a subset of dagger commands to reduce noise. - Increase the minimum connect timeout from 1s to 3s by [@​neutronth](https://redirect.github.com/neutronth) in [https://github.com/dagger/dagger/pull/8328](https://redirect.github.com/dagger/dagger/pull/8328) \ Connecting to a distant remote engine could otherwise fail if it was not reachable in 1s. ##### Fixed - Fixed void types from core incorrectly being seen as named scalars by [@​helderco](https://redirect.github.com/helderco) in [https://github.com/dagger/dagger/pull/8336](https://redirect.github.com/dagger/dagger/pull/8336) - Fix setting secrets on module object in constructor by [@​sipsma](https://redirect.github.com/sipsma) in [https://github.com/dagger/dagger/pull/8149](https://redirect.github.com/dagger/dagger/pull/8149) - Allow top-level field access with no constructor by [@​jedevc](https://redirect.github.com/jedevc) in [https://github.com/dagger/dagger/pull/8331](https://redirect.github.com/dagger/dagger/pull/8331) \ Previously, if a field access was made immediately after the default constructor was called, then the access would fail. - Plain progress correctly displays carriage returns by [@​jedevc](https://redirect.github.com/jedevc) in [https://github.com/dagger/dagger/pull/8347](https://redirect.github.com/dagger/dagger/pull/8347) \ Carriage returns could previously render weirdly in the output, displaying empty lines, and similar visual glitches. - cli: Fix default value on `Platform` flag by [@​helderco](https://redirect.github.com/helderco) in [https://github.com/dagger/dagger/pull/8360](https://redirect.github.com/dagger/dagger/pull/8360) ##### What to do next? - Read the [documentation](https://docs.dagger.io) - Join our [Discord server](https://discord.gg/dagger-io) - Follow us on [Twitter](https://twitter.com/dagger_io) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 4pm on thursday" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/scottames/dots). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: scottames-github-bot[bot] <162828115+scottames-github-bot[bot]@users.noreply.github.com>
scottames
referenced
this pull request
in scottames/containers
Sep 25, 2024
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [dagger/dagger](https://redirect.github.com/dagger/dagger) | minor | `v0.12.7` -> `v0.13.0` | --- ### Release Notes <details> <summary>dagger/dagger (dagger/dagger)</summary> ### [`v0.13.0`](https://redirect.github.com/dagger/dagger/blob/HEAD/CHANGELOG.md#v0130---2024-09-11) [Compare Source](https://redirect.github.com/dagger/dagger/compare/v0.12.7...v0.13.0) ##### 🔥 Breaking Changes - Remove deprecated fields and arguments by [@​jedevc](https://redirect.github.com/jedevc) in [https://github.com/dagger/dagger/pull/8065](https://redirect.github.com/dagger/dagger/pull/8065) - Remove `Container.withExec`'s `skipEntrypoint` argument - this is now the default (see `useEntrypoint`) - Remove `pipeline`, `Container.pipeline` and `Directory.pipeline` - Remove `GitModuleSource.cloneURL` (see `GitModuleSource.cloneRef`) ##### Added - Added new `Directory.digest` and `ModuleSource.digest` fields by [@​jedevc](https://redirect.github.com/jedevc) in [https://github.com/dagger/dagger/pull/8282](https://redirect.github.com/dagger/dagger/pull/8282) \ These fields mirror the behavior of the `File.digest` field, computing a unique cryptographic digest over the contents of the object. - TUI: add `--no-exit`/`-E` so you can poke around after the call completes by [@​vito](https://redirect.github.com/vito) in [https://github.com/dagger/dagger/pull/8389](https://redirect.github.com/dagger/dagger/pull/8389) ##### Changed - The trace url is printed just before the final output to make it easy to find by [@​rajatjindal](https://redirect.github.com/rajatjindal) in [https://github.com/dagger/dagger/pull/8366](https://redirect.github.com/dagger/dagger/pull/8366) \ Also, the url will be printed only for a subset of dagger commands to reduce noise. - Increase the minimum connect timeout from 1s to 3s by [@​neutronth](https://redirect.github.com/neutronth) in [https://github.com/dagger/dagger/pull/8328](https://redirect.github.com/dagger/dagger/pull/8328) \ Connecting to a distant remote engine could otherwise fail if it was not reachable in 1s. ##### Fixed - Fixed void types from core incorrectly being seen as named scalars by [@​helderco](https://redirect.github.com/helderco) in [https://github.com/dagger/dagger/pull/8336](https://redirect.github.com/dagger/dagger/pull/8336) - Fix setting secrets on module object in constructor by [@​sipsma](https://redirect.github.com/sipsma) in [https://github.com/dagger/dagger/pull/8149](https://redirect.github.com/dagger/dagger/pull/8149) - Allow top-level field access with no constructor by [@​jedevc](https://redirect.github.com/jedevc) in [https://github.com/dagger/dagger/pull/8331](https://redirect.github.com/dagger/dagger/pull/8331) \ Previously, if a field access was made immediately after the default constructor was called, then the access would fail. - Plain progress correctly displays carriage returns by [@​jedevc](https://redirect.github.com/jedevc) in [https://github.com/dagger/dagger/pull/8347](https://redirect.github.com/dagger/dagger/pull/8347) \ Carriage returns could previously render weirdly in the output, displaying empty lines, and similar visual glitches. - cli: Fix default value on `Platform` flag by [@​helderco](https://redirect.github.com/helderco) in [https://github.com/dagger/dagger/pull/8360](https://redirect.github.com/dagger/dagger/pull/8360) ##### What to do next? - Read the [documentation](https://docs.dagger.io) - Join our [Discord server](https://discord.gg/dagger-io) - Follow us on [Twitter](https://twitter.com/dagger_io) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 4pm on thursday" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/scottames/containers). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: scottames-github-bot[bot] <162828115+scottames-github-bot[bot]@users.noreply.github.com>
scottames
referenced
this pull request
in scottames/daggerverse
Sep 25, 2024
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [dagger/dagger](https://redirect.github.com/dagger/dagger) | minor | `v0.12.7` -> `v0.13.0` | --- ### Release Notes <details> <summary>dagger/dagger (dagger/dagger)</summary> ### [`v0.13.0`](https://redirect.github.com/dagger/dagger/blob/HEAD/CHANGELOG.md#v0130---2024-09-11) [Compare Source](https://redirect.github.com/dagger/dagger/compare/v0.12.7...v0.13.0) ##### 🔥 Breaking Changes - Remove deprecated fields and arguments by [@​jedevc](https://redirect.github.com/jedevc) in [https://github.com/dagger/dagger/pull/8065](https://redirect.github.com/dagger/dagger/pull/8065) - Remove `Container.withExec`'s `skipEntrypoint` argument - this is now the default (see `useEntrypoint`) - Remove `pipeline`, `Container.pipeline` and `Directory.pipeline` - Remove `GitModuleSource.cloneURL` (see `GitModuleSource.cloneRef`) ##### Added - Added new `Directory.digest` and `ModuleSource.digest` fields by [@​jedevc](https://redirect.github.com/jedevc) in [https://github.com/dagger/dagger/pull/8282](https://redirect.github.com/dagger/dagger/pull/8282) \ These fields mirror the behavior of the `File.digest` field, computing a unique cryptographic digest over the contents of the object. - TUI: add `--no-exit`/`-E` so you can poke around after the call completes by [@​vito](https://redirect.github.com/vito) in [https://github.com/dagger/dagger/pull/8389](https://redirect.github.com/dagger/dagger/pull/8389) ##### Changed - The trace url is printed just before the final output to make it easy to find by [@​rajatjindal](https://redirect.github.com/rajatjindal) in [https://github.com/dagger/dagger/pull/8366](https://redirect.github.com/dagger/dagger/pull/8366) \ Also, the url will be printed only for a subset of dagger commands to reduce noise. - Increase the minimum connect timeout from 1s to 3s by [@​neutronth](https://redirect.github.com/neutronth) in [https://github.com/dagger/dagger/pull/8328](https://redirect.github.com/dagger/dagger/pull/8328) \ Connecting to a distant remote engine could otherwise fail if it was not reachable in 1s. ##### Fixed - Fixed void types from core incorrectly being seen as named scalars by [@​helderco](https://redirect.github.com/helderco) in [https://github.com/dagger/dagger/pull/8336](https://redirect.github.com/dagger/dagger/pull/8336) - Fix setting secrets on module object in constructor by [@​sipsma](https://redirect.github.com/sipsma) in [https://github.com/dagger/dagger/pull/8149](https://redirect.github.com/dagger/dagger/pull/8149) - Allow top-level field access with no constructor by [@​jedevc](https://redirect.github.com/jedevc) in [https://github.com/dagger/dagger/pull/8331](https://redirect.github.com/dagger/dagger/pull/8331) \ Previously, if a field access was made immediately after the default constructor was called, then the access would fail. - Plain progress correctly displays carriage returns by [@​jedevc](https://redirect.github.com/jedevc) in [https://github.com/dagger/dagger/pull/8347](https://redirect.github.com/dagger/dagger/pull/8347) \ Carriage returns could previously render weirdly in the output, displaying empty lines, and similar visual glitches. - cli: Fix default value on `Platform` flag by [@​helderco](https://redirect.github.com/helderco) in [https://github.com/dagger/dagger/pull/8360](https://redirect.github.com/dagger/dagger/pull/8360) ##### What to do next? - Read the [documentation](https://docs.dagger.io) - Join our [Discord server](https://discord.gg/dagger-io) - Follow us on [Twitter](https://twitter.com/dagger_io) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 4pm on thursday" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/scottames/daggerverse). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: scottames-github-bot[bot] <162828115+scottames-github-bot[bot]@users.noreply.github.com> Co-authored-by: Scott Ames <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Builds on #8114, adding
DigesttoDirectoryandModuleSource.The original need for these is internal, see the discussion in #8245 (comment). However, there's still a use for these in the public API as well, and it's just generally good consistency 🎉
I guess this actually validates our idea of keeping the digest with the metadata as the default - since it doesn't really make sense to compute a
Directory.digestwithout metadata, so we can just leave off that parameter.