Repository navigation
compiler cleanup - #121
Merged
Merged
compiler cleanup#121
Conversation
Now using the same pattern as Go's http package. - the `compiler.Compiler` struct can be used directly (and tests to do to avoid messing with the global version) - `compiler.DefaultCompiler` contains a public default Compiler instance - `compiler` exposes proxy functions (e.g. Compile) back to the DefaultCompiler Signed-off-by: Andrea Luzzardi <[email protected]>
shykes
added a commit
that referenced
this pull request
Jun 12, 2026
…state The section's checkboxes had drifted — nearly everything implemented shipped under a [ ] marker. Replace with explicit status legend: ✅ shipped on this branch 🟡 partially shipped (different shape than design) ⬜ designed, not yet implemented Categorized by surface area: - Shipped — top-level / module / api / cloud / workspace / config / schema / flag rename / removals / hidden aliases - 🟡 Partial — current --sdk-flag init shapes vs. designed positional dispatch (module init, api client init). Includes the note that --option on client init is dead plumbing today. - ⬜ Not yet implemented — handoff items with task references: - dagger sdk top-level group (tasks #120, #122-#124) - init reshape to positional + dynamic SDK flags (tasks #125-#128) - initModule/initClient capability semantics + targetRuntime wiring (task #129) - dagger exec → dagger api exec (task #130) - cloneModuleAsSDK empty-marker preservation (task #121) - Default-SDK inference, SDK codegen regen, --option removal - Known unfixed items reduced to just the legitimate one (workspace concept needs a one-liner definition). Status line updated from "Proposed" to reflect actual landing state.
2 tasks
eunomie
pushed a commit
to eunomie/dagger
that referenced
this pull request
Jun 16, 2026
…state The section's checkboxes had drifted — nearly everything implemented shipped under a [ ] marker. Replace with explicit status legend: ✅ shipped on this branch 🟡 partially shipped (different shape than design) ⬜ designed, not yet implemented Categorized by surface area: - Shipped — top-level / module / api / cloud / workspace / config / schema / flag rename / removals / hidden aliases - 🟡 Partial — current --sdk-flag init shapes vs. designed positional dispatch (module init, api client init). Includes the note that --option on client init is dead plumbing today. - ⬜ Not yet implemented — handoff items with task references: - dagger sdk top-level group (tasks dagger#120, dagger#122-dagger#124) - init reshape to positional + dynamic SDK flags (tasks dagger#125-dagger#128) - initModule/initClient capability semantics + targetRuntime wiring (task dagger#129) - dagger exec → dagger api exec (task dagger#130) - cloneModuleAsSDK empty-marker preservation (task dagger#121) - Default-SDK inference, SDK codegen regen, --option removal - Known unfixed items reduced to just the legitimate one (workspace concept needs a one-liner definition). Status line updated from "Proposed" to reflect actual landing state. Signed-off-by: Solomon Hykes <[email protected]>
eunomie
pushed a commit
to eunomie/dagger
that referenced
this pull request
Jun 16, 2026
…state The section's checkboxes had drifted — nearly everything implemented shipped under a [ ] marker. Replace with explicit status legend: ✅ shipped on this branch 🟡 partially shipped (different shape than design) ⬜ designed, not yet implemented Categorized by surface area: - Shipped — top-level / module / api / cloud / workspace / config / schema / flag rename / removals / hidden aliases - 🟡 Partial — current --sdk-flag init shapes vs. designed positional dispatch (module init, api client init). Includes the note that --option on client init is dead plumbing today. - ⬜ Not yet implemented — handoff items with task references: - dagger sdk top-level group (tasks dagger#120, dagger#122-dagger#124) - init reshape to positional + dynamic SDK flags (tasks dagger#125-dagger#128) - initModule/initClient capability semantics + targetRuntime wiring (task dagger#129) - dagger exec → dagger api exec (task dagger#130) - cloneModuleAsSDK empty-marker preservation (task dagger#121) - Default-SDK inference, SDK codegen regen, --option removal - Known unfixed items reduced to just the legitimate one (workspace concept needs a one-liner definition). Status line updated from "Proposed" to reflect actual landing state. Signed-off-by: Solomon Hykes <[email protected]>
eunomie
pushed a commit
that referenced
this pull request
Jun 17, 2026
…state The section's checkboxes had drifted — nearly everything implemented shipped under a [ ] marker. Replace with explicit status legend: ✅ shipped on this branch 🟡 partially shipped (different shape than design) ⬜ designed, not yet implemented Categorized by surface area: - Shipped — top-level / module / api / cloud / workspace / config / schema / flag rename / removals / hidden aliases - 🟡 Partial — current --sdk-flag init shapes vs. designed positional dispatch (module init, api client init). Includes the note that --option on client init is dead plumbing today. - ⬜ Not yet implemented — handoff items with task references: - dagger sdk top-level group (tasks #120, #122-#124) - init reshape to positional + dynamic SDK flags (tasks #125-#128) - initModule/initClient capability semantics + targetRuntime wiring (task #129) - dagger exec → dagger api exec (task #130) - cloneModuleAsSDK empty-marker preservation (task #121) - Default-SDK inference, SDK codegen regen, --option removal - Known unfixed items reduced to just the legitimate one (workspace concept needs a one-liner definition). Status line updated from "Proposed" to reflect actual landing state. Signed-off-by: Solomon Hykes <[email protected]>
eunomie
pushed a commit
that referenced
this pull request
Jun 18, 2026
…state The section's checkboxes had drifted — nearly everything implemented shipped under a [ ] marker. Replace with explicit status legend: ✅ shipped on this branch 🟡 partially shipped (different shape than design) ⬜ designed, not yet implemented Categorized by surface area: - Shipped — top-level / module / api / cloud / workspace / config / schema / flag rename / removals / hidden aliases - 🟡 Partial — current --sdk-flag init shapes vs. designed positional dispatch (module init, api client init). Includes the note that --option on client init is dead plumbing today. - ⬜ Not yet implemented — handoff items with task references: - dagger sdk top-level group (tasks #120, #122-#124) - init reshape to positional + dynamic SDK flags (tasks #125-#128) - initModule/initClient capability semantics + targetRuntime wiring (task #129) - dagger exec → dagger api exec (task #130) - cloneModuleAsSDK empty-marker preservation (task #121) - Default-SDK inference, SDK codegen regen, --option removal - Known unfixed items reduced to just the legitimate one (workspace concept needs a one-liner definition). Status line updated from "Proposed" to reflect actual landing state. Signed-off-by: Solomon Hykes <[email protected]>
tiborvass
pushed a commit
that referenced
this pull request
Jun 19, 2026
…state The section's checkboxes had drifted — nearly everything implemented shipped under a [ ] marker. Replace with explicit status legend: ✅ shipped on this branch 🟡 partially shipped (different shape than design) ⬜ designed, not yet implemented Categorized by surface area: - Shipped — top-level / module / api / cloud / workspace / config / schema / flag rename / removals / hidden aliases - 🟡 Partial — current --sdk-flag init shapes vs. designed positional dispatch (module init, api client init). Includes the note that --option on client init is dead plumbing today. - ⬜ Not yet implemented — handoff items with task references: - dagger sdk top-level group (tasks #120, #122-#124) - init reshape to positional + dynamic SDK flags (tasks #125-#128) - initModule/initClient capability semantics + targetRuntime wiring (task #129) - dagger exec → dagger api exec (task #130) - cloneModuleAsSDK empty-marker preservation (task #121) - Default-SDK inference, SDK codegen regen, --option removal - Known unfixed items reduced to just the legitimate one (workspace concept needs a one-liner definition). Status line updated from "Proposed" to reflect actual landing state. Signed-off-by: Solomon Hykes <[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.
Now using the same pattern as Go's http package.
compiler.Compilerstruct can be used directly (and tests to doto avoid messing with the global version)
compiler.DefaultCompilercontains a public default Compiler instancecompilerexposes proxy functions (e.g. Compile) back to theDefaultCompiler