#@Erik Sipsma Do you have a branch with
1 messages · Page 1 of 1 (latest)
I ended up mostly backing out of it afterall and just handling the problem I was hitting a different way.
The main blocker I had was related to needing to ensure the ID that got written to the filesystem was actually known to the cache and tracked as a dependency so it didn't get pruned unexpectedly, so I just added a way for the cache to very explicitly draw an edge between two results
- https://github.com/dagger/dagger/pull/11856/files#diff-1b002a987dad2e0e1474ae0677bc72c94c85535885d4a711c32207898f422408 (search for AddExplicitDependency in that core/sdk/module_typedefs.go file)
You'll see some other modifications in that file but I think it's mostly cosmetic, probably not contradicting anything you'd want to do, but let me know
Here's a more direct link since that PR is hard to load/render on github https://github.com/dagger/dagger/blame/469b74ccbf7441cdc843b85d30bc86e22f8ee6c5/core/sdk/module_typedefs.go#L170
Thanks, I'll have a look at that and see how my stuff can relate/fit/conflict (not sure yet 😅 )