Repository navigation
Conversation
grouville
force-pushed
the
remove-entrypoint-resources
branch
from
October 13, 2026 23:17
0c90001 to
dd05a81
Compare
tiborvass
approved these changes
Oct 14, 2026
This was referenced Oct 14, 2026
grouville
force-pushed
the
remove-entrypoint-resources
branch
from
October 14, 2026 01:06
dd05a81 to
e4b0fb3
Compare
Signed-off-by: Guillaume de Rouville <[email protected]>
grouville
force-pushed
the
remove-entrypoint-resources
branch
from
October 14, 2026 02:10
e4b0fb3 to
925c2ca
Compare
eunomie
requested changes
Oct 14, 2026
eunomie
left a comment
Member
There was a problem hiding this comment.
just to hold on the merge, I want to verify some stuff before we rollback
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.
I think the confusion came from two things: giving the Go compiler the files it needs, and making sure a change to those files invalidates the function cache.
resourcessolved both at module load: it selected external checkout files and added their contents to the module's source digest. So changing a local Go dependency or an embedded file also changed the module's cache key.With the workspace approach, we move that responsibility to the Go SDK:
wson every exported constructor and function. Having it only on the constructor isn't enough.replacetargets andgo:embed, and materialize the files the compiler needs.So we don't need the engine to select or hash those external files as well. This PR removes the optional entrypoint
resourcessupport added in #14639, including its resource-loading code, tests and spec text. It doesn't change workspace routing.The SDK change is in go-sdk#64, stacked on Yves's #63. The repository module ports are separate in #14664. Modules that use resource-based invalidation need the workspace pattern before adopting this rollback; simply removing their resource declarations wouldn't fix caching.
Validation: the entrypoint and Dang v2 unit packages pass. SDK generation succeeds on both an unmodified beta.17 engine and an engine rebuilt from this rollback. Changing only the fixture's external embedded file changes its result on both engines, without regenerating the module. The
go-sdk/generate/staleCI check also fails on the current main commit (92eb2a4); the broader generated-client changes stay out of this standalone revert.