Repository navigation
Conversation
This enables implementations of API calls to set a custom digest on returned IDs replacing the default digest calculated by the "call chain digest". Currently, this is used to enable content-based caching of certain calls that previously relied on the separate `blob` API. The `blob` API is thus removed as part of this change too. The intention is to setup more use cases for this, including customizing digests of different ModuleSource implementations and reducing cache invalidation of SDK calls. Signed-off-by: Erik Sipsma <[email protected]>
The type of introspectionJson changed from string to *File a long time ago, but for some reason dagql never error'd out despite the type mismatch (perhaps something to do with coercing an ID to a string?). The previous commit accidentally fixed that validation, so this test started correctly failing now and needs to be corrected. Signed-off-by: Erik Sipsma <[email protected]>
After the recent filesync improvements, there's no downside to loading multiple local dirs from the same client in parallel, so we may as well load all contextual dir args in parallel. Signed-off-by: Erik Sipsma <[email protected]>
Signed-off-by: Erik Sipsma <[email protected]>
Signed-off-by: Erik Sipsma <[email protected]>
Contributor
|
This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
Contributor
|
This PR was closed because it has been stalled for 7 days with no activity. |
Contributor
Author
|
revived here: #9505 |
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.
This is only half written, doesn't build yet, has commits from #9204, etc. But has enough to show usage of all the new caching features added in #9204. Sending out in case it's helpful for groking that PR and what the "grand plan" is.
Goals here are:
This will have some breaking changes in the current plans:
includefield will now be co-opted to only need to be set when a module imports code from local non-daggerized packages. It should never need to be set for any other case.excludeentirely since it's redundant with!include patternsviewsare likely gonna be removed since they don't serve much of a purpose anymore thanks to contextual args, though I'm not 100% set on this