Skip to content

Fix/13605 go sdk codegen bootstrap - #13713

Closed
hitesh0106 wants to merge 1 commit into
dagger:mainfrom
hitesh0106:fix/13605-go-sdk-codegen-bootstrap
Closed

hitesh0106 wants to merge 1 commit into
dagger:mainfrom
hitesh0106:fix/13605-go-sdk-codegen-bootstrap

Conversation

@hitesh0106

Copy link
Copy Markdown

No description provided.

@hitesh0106
hitesh0106 requested a review from a team as a code owner July 22, 2026 04:39
@hitesh0106
hitesh0106 force-pushed the fix/13605-go-sdk-codegen-bootstrap branch 8 times, most recently from 65103fb to e99fab1 Compare July 22, 2026 07:01
Fixes the self-bootstrap chicken-and-egg issue where dagger generate golang fails if sdk/go/dagger.gen.go is empty, corrupted, or deleted.

1. Creates cmd/codegen/internal/bootstrap containing self-contained Dagger client and GraphQL query builder types that do not depend on sdk/go/dagger.gen.go.

2. Creates sdk/go/sdkfs subpackage embedding Go SDK module files without triggering compilation of generated SDK client files.

3. Decouples cmd/codegen from dagger.io/dagger imports by migrating to bootstrap.

Fixes dagger#13605

Signed-off-by: Hitesh Prajapati <[email protected]>
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
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.

@github-actions

Copy link
Copy Markdown
Contributor

This PR was closed because it has been stalled for 7 days with no activity.

@github-actions github-actions Bot closed this Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant