Repository navigation
Merge main (efbe16d72) into 1.0-beta - #13340
Merged
Merged
Conversation
Signed-off-by: Solomon Hykes <[email protected]> Co-authored-by: Tibor Vass <[email protected]>
Keep current docs mounted at the root while enabling Docusaurus version metadata. Convert docs-content imports and same-site links to version-safe relative paths so future snapshots do not depend on current docs content. Signed-off-by: Solomon Hykes <[email protected]>
Signed-off-by: Solomon Hykes <[email protected]>
Signed-off-by: Solomon Hykes <[email protected]>
Signed-off-by: Solomon Hykes <[email protected]>
Signed-off-by: Solomon Hykes <[email protected]>
Signed-off-by: Solomon Hykes <[email protected]>
Signed-off-by: Solomon Hykes <[email protected]>
Signed-off-by: Solomon Hykes <[email protected]>
Signed-off-by: Solomon Hykes <[email protected]>
Signed-off-by: Solomon Hykes <[email protected]>
Signed-off-by: Solomon Hykes <[email protected]>
Signed-off-by: Solomon Hykes <[email protected]>
Signed-off-by: Solomon Hykes <[email protected]>
Signed-off-by: Solomon Hykes <[email protected]>
Bump the Dang SDK to pull in its interface-conformance fix. A Dang type that `implements` an interface defined by a dependency module was wrongly required to provide the `id: ID!` field that Dagger synthesizes on every interface, so such modules failed to load (e.g. `dagger call fn list`). The bump also adapts core/sdk to Dang's renamed public API (class -> object, ModuleValue -> Object, and the value/type scope types). Adds an integration test covering interface definition and consumption both within a module and across a dependency boundary. Signed-off-by: Alex Suraci <[email protected]>
dagger-codex
Bot
force-pushed
the
codex/merge-main-into-1.0-beta-20260605
branch
from
June 5, 2026 21:24
3df7a9f to
09f7517
Compare
dagger-codex
Bot
force-pushed
the
codex/merge-main-into-1.0-beta-20260605
branch
from
June 5, 2026 21:28
09f7517 to
dd5d49f
Compare
dagger-codex
Bot
force-pushed
the
codex/merge-main-into-1.0-beta-20260605
branch
2 times, most recently
from
June 5, 2026 22:37
ac78864 to
5f6f7f0
Compare
* test: cover registry manifest metadata reuse Add an integration test with a counting OCI registry that serves a small tagged image and records manifest/config fetches. The test runs two sequential sessions against one nested engine and asserts that tag revalidation uses HEADs while manifest/config metadata is downloaded only once. Signed-off-by: Solomon Hykes <[email protected]> * fix: cache registry image metadata Store resolved image manifests and configs in the engine content store during default registry resolution. This lets canonical config resolution and later pulls reuse metadata after tag revalidation instead of issuing repeated manifest and config GETs. Signed-off-by: Solomon Hykes <[email protected]> * test: cover registry tag updates with metadata cache Signed-off-by: Solomon Hykes <[email protected]> --------- Signed-off-by: Solomon Hykes <[email protected]> Co-authored-by: Solomon Hykes <[email protected]>
dagger-codex
Bot
force-pushed
the
codex/merge-main-into-1.0-beta-20260605
branch
from
June 6, 2026 02:20
5f6f7f0 to
17cf675
Compare
* docs: make internal links relocatable Signed-off-by: Solomon Hykes <[email protected]> * docs: promote 1.0 beta docs to current Signed-off-by: Solomon Hykes <[email protected]> * docs: remove 1.0 beta from version selector Signed-off-by: Solomon Hykes <[email protected]> * chore: regenerate Signed-off-by: Tibor Vass <[email protected]> --------- Signed-off-by: Solomon Hykes <[email protected]> Signed-off-by: Tibor Vass <[email protected]> Co-authored-by: Tibor Vass <[email protected]>
dagger-codex
Bot
force-pushed
the
codex/merge-main-into-1.0-beta-20260605
branch
from
June 6, 2026 06:19
17cf675 to
0c1a2b1
Compare
dagger-codex
Bot
force-pushed
the
codex/merge-main-into-1.0-beta-20260605
branch
from
June 8, 2026 18:37
0c1a2b1 to
a09b716
Compare
Merges `main` into `1.0-beta`, resolving conflicts from the docs restructure/versioning work, the Dang API bump, and workspace/module config changes. Grouped sections below are explicit groupings: hunks are grouped only when they come from the same conflicting PRs and use the same resolution rule. Each grouped section includes example hunks so the resolution rule is visible. ## Docs conflicts ### `docs/current_docs/` and `docs/sidebars.ts` Related PRs: beta #13338, main #13345. This is a grouped conflict category. Main #13345 promoted the 1.0-beta docs into `current_docs`, while beta #13338 already had the active 1.0-beta current-docs surface. I kept the beta/current-docs surface for `docs/current_docs` and `docs/sidebars.ts`, including beta route aliases and `dagger.toml` terminology. Main's promoted docs payload is still accepted outside this current-docs surface as versioned/static docs. Example hunk 1: workspace setup keeps beta's current route and `dagger.toml` wording instead of main's relative link and `.dagger/config.toml` wording. ```diff diff --cc docs/current_docs/adopting/workspace-setup.mdx @@ +<<<<<<< HEAD +You've seen Dagger work on [hello-dagger](/quickstart). Now set it up on your own project. +======= +You've seen Dagger work on [hello-dagger](../getting-started/quickstart.mdx). Now set it up on your own project. +>>>>>>> origin/main @@ +<<<<<<< HEAD +`dagger mod install` creates a workspace configuration (`dagger.toml`) if needed and adds the selected module. +======= +`dagger mod install` creates a workspace configuration (`.dagger/config.toml`) if needed and adds the selected module. +>>>>>>> origin/main ``` Resolved: ```diff diff --git a/docs/current_docs/adopting/workspace-setup.mdx b/docs/current_docs/adopting/workspace-setup.mdx @@ You've seen Dagger work on [hello-dagger](/quickstart). Now set it up on your own project. @@ `dagger mod install` creates a workspace configuration (`dagger.toml`) if needed and adds the selected module. ``` Example hunk 2: Argo Workflows follows the same current-docs rule, keeping beta's current aliases and `dagger.toml` terminology instead of main's promoted relative links and old workspace config path. ```diff diff --cc docs/current_docs/adopting/triggers/argo-workflows.mdx @@ +<<<<<<< HEAD +For checks with no workflow YAML at all, enable [Cloud Checks](/adopting/triggers) with `dagger ws autocheck on`. +======= +For checks with no workflow YAML at all, enable [Cloud Checks](./index.mdx) with `dagger ws autocheck on`. +>>>>>>> origin/main @@ +<<<<<<< HEAD +- A repository with a Dagger workspace (`dagger.toml`) — see [Workspace Setup](/adopting/workspace-setup) +======= +- A repository with a Dagger workspace (`.dagger/config.toml`) — see [Workspace Setup](../workspace-setup.mdx) +>>>>>>> origin/main ``` Resolved: ```diff diff --git a/docs/current_docs/adopting/triggers/argo-workflows.mdx b/docs/current_docs/adopting/triggers/argo-workflows.mdx @@ For checks with no workflow YAML at all, enable [Cloud Checks](/adopting/triggers) with `dagger ws autocheck on`. @@ - A repository with a Dagger workspace (`dagger.toml`) — see [Workspace Setup](/adopting/workspace-setup) ``` ### `docs/versioned_docs/` archive Related PRs: beta #13338, main #13345. This is a grouped conflict category. Main #13345 archived old docs under `docs/versioned_docs`, while beta #13338 removed old pages from the active current-docs tree. I kept beta's current-doc deletions and kept main's archive files under `docs/versioned_docs`; those are different final destinations, so both sides are represented without resurrecting old pages under `docs/current_docs`. Example path conflict, not a content hunk: - Beta removed the old live current-docs page: `docs/current_docs/getting-started/ci-integrations/github-actions.mdx` - Main archived that old page at: `docs/versioned_docs/version-0.21.4/getting-started/ci-integrations/github-actions.mdx` Resolution: - keep the file removed from `docs/current_docs` - keep main's archived copy under `docs/versioned_docs/version-0.21.4/` No line-level content hunk was resolved for this page; the conflict was about whether the old current-docs path should remain live or only exist in the versioned archive.## Code conflicts ### `core/sdk/dang_helpers.go` Related PRs: beta #13296, main #13318. Main upgraded Dang and renamed class APIs to object APIs. Beta fixed rehydrated method calls by preserving the constructor closure so imports remain in scope. I used main's newer Dang API names and kept beta's captured `Closure` behavior. ```diff diff --cc core/sdk/dang_helpers.go @@ parentConstructor := parentModBase.(*dang.ConstructorFunction) +<<<<<<< HEAD + parentModType := parentConstructor.ClassType + // Use the class file's captured env so rehydrated method calls keep the + // imports that were in scope when the type was declared. + parentClosure := parentConstructor.Closure +======= + parentModType := parentConstructor.ObjectType +>>>>>>> origin/main @@ +<<<<<<< HEAD + bodyEnv := dang.CreateCompositeEnv(parentModEnv, parentClosure) +======= + bodyEnv := dang.CreateOverlayValueScope(parentModEnv, env) +>>>>>>> origin/main bodyEnv.EnterSelf(parentModEnv) - _, err = dang.EvaluateFormsWithPhases(ctx, parentConstructor.ClassBodyForms, bodyEnv) + _, err = dang.EvaluateFormsWithPhases(ctx, parentConstructor.ObjectBodyForms, bodyEnv) ``` Resolved: ```diff diff --git a/core/sdk/dang_helpers.go b/core/sdk/dang_helpers.go @@ parentConstructor := parentModBase.(*dang.ConstructorFunction) parentModType := parentConstructor.ObjectType // Use the class file's captured env so rehydrated method calls keep the // imports that were in scope when the type was declared. parentClosure := parentConstructor.Closure @@ bodyEnv := dang.CreateOverlayValueScope(parentModEnv, parentClosure) bodyEnv.EnterSelf(parentModEnv) _, err = dang.EvaluateFormsWithPhases(ctx, parentConstructor.ObjectBodyForms, bodyEnv) ``` ### `core/module.go` Related PRs: beta #13300, main #13329. Main added `LegacyArgCustomizations`, which is used by merged `modulesource.go` code. Beta renamed workspace configuration terminology for `dagger.toml` settings. I kept both the new field and beta's settings terminology. ```diff diff --cc core/module.go @@ LegacyDefaultPath bool + // LegacyArgCustomizations are workspace dagger.json argument customizations + // applied through asModule. + LegacyArgCustomizations []*modules.ModuleConfigArgument + - // Config values from workspace config.toml [modules.<name>.config]. + // Workspace setting values from dagger.toml [modules.<name>.settings]. // Typed map: strings, bools, ints, floats as-is from TOML. // When set, constructor args are resolved from this map first. WorkspaceConfig map[string]any ``` Resolved: ```diff diff --git a/core/module.go b/core/module.go @@ LegacyDefaultPath bool // LegacyArgCustomizations are workspace dagger.json argument customizations // applied through asModule. LegacyArgCustomizations []*modules.ModuleConfigArgument // Workspace setting values from dagger.toml [modules.<name>.settings]. // Typed map: strings, bools, ints, floats as-is from TOML. // When set, constructor args are resolved from this map first. WorkspaceConfig map[string]any ``` ## Test fixture conflicts Related PRs: beta #13217, main #13345. This is a grouped conflict category. Beta moved snippet files into integration test fixtures, while main #13345 archived the old docs snippets under `docs/versioned_docs`. These are path conflicts, not line-level content hunks. I kept beta's integration fixture paths and kept main's versioned docs archive paths. Example path conflict, not a content hunk: - Beta moved the old docs snippet into an integration fixture path: `core/integration/testdata/modules/java/path-context-git-04/.gitignore` - Main archived that old docs snippet at: `docs/versioned_docs/version-0.16.3/api/snippets/functions/arguments-array/java/.gitignore` - The old live docs path was: `docs/current_docs/cookbook/snippets/secret-variable/java/.gitignore` Resolution: - keep beta's integration fixture file - keep main's versioned docs archive file - do not restore the old live `docs/current_docs` snippet path No line-level content hunk was resolved for this example; the conflict was about preserving the right final paths on both sides. ## Notes - No separate `dagger generate -y` commit was added for this fresh merge. Current `origin/main` already includes the generated outputs that should be represented by the merge tree. Signed-off-by: Solomon Hykes <[email protected]>
dagger-codex
Bot
force-pushed
the
codex/merge-main-into-1.0-beta-20260605
branch
from
June 8, 2026 19:08
a09b716 to
50a9280
Compare
tiborvass
approved these changes
Jun 8, 2026
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.
Merge main (efbe16d) into 1.0-beta
Merges
maininto1.0-beta, resolving conflicts from the docs restructure/versioning work, the Dang API bump, and workspace/module config changes.Grouped sections below are explicit groupings: hunks are grouped only when they come from the same conflicting PRs and use the same resolution rule. Each grouped section includes example hunks so the resolution rule is visible.
Docs conflicts
docs/current_docs/anddocs/sidebars.tsRelated PRs: beta #13338, main #13345.
This is a grouped conflict category. Main #13345 promoted the 1.0-beta docs into
current_docs, while beta #13338 already had the active 1.0-beta current-docs surface. I kept the beta/current-docs surface fordocs/current_docsanddocs/sidebars.ts, including beta route aliases anddagger.tomlterminology. Main's promoted docs payload is still accepted outside this current-docs surface as versioned/static docs.Example hunk 1: workspace setup keeps beta's current route and
dagger.tomlwording instead of main's relative link and.dagger/config.tomlwording.Resolved:
diff --git a/docs/current_docs/adopting/workspace-setup.mdx b/docs/current_docs/adopting/workspace-setup.mdx @@ You've seen Dagger work on [hello-dagger](/quickstart). Now set it up on your own project. @@ `dagger mod install` creates a workspace configuration (`dagger.toml`) if needed and adds the selected module.Example hunk 2: Argo Workflows follows the same current-docs rule, keeping beta's current aliases and
dagger.tomlterminology instead of main's promoted relative links and old workspace config path.Resolved:
diff --git a/docs/current_docs/adopting/triggers/argo-workflows.mdx b/docs/current_docs/adopting/triggers/argo-workflows.mdx @@ For checks with no workflow YAML at all, enable [Cloud Checks](/adopting/triggers) with `dagger ws autocheck on`. @@ - A repository with a Dagger workspace (`dagger.toml`) — see [Workspace Setup](/adopting/workspace-setup)docs/versioned_docs/archiveRelated PRs: beta #13338, main #13345.
This is a grouped conflict category. Main #13345 archived old docs under
docs/versioned_docs, while beta #13338 removed old pages from the active current-docs tree. I kept beta's current-doc deletions and kept main's archive files underdocs/versioned_docs; those are different final destinations, so both sides are represented without resurrecting old pages underdocs/current_docs.Example path conflict, not a content hunk:
docs/current_docs/getting-started/ci-integrations/github-actions.mdxdocs/versioned_docs/version-0.21.4/getting-started/ci-integrations/github-actions.mdxResolution:
docs/current_docsdocs/versioned_docs/version-0.21.4/No line-level content hunk was resolved for this page; the conflict was about whether the old current-docs path should remain live or only exist in the versioned archive.## Code conflicts
core/sdk/dang_helpers.goRelated PRs: beta #13296, main #13318.
Main upgraded Dang and renamed class APIs to object APIs. Beta fixed rehydrated method calls by preserving the constructor closure so imports remain in scope. I used main's newer Dang API names and kept beta's captured
Closurebehavior.Resolved:
diff --git a/core/sdk/dang_helpers.go b/core/sdk/dang_helpers.go @@ parentConstructor := parentModBase.(*dang.ConstructorFunction) parentModType := parentConstructor.ObjectType // Use the class file's captured env so rehydrated method calls keep the // imports that were in scope when the type was declared. parentClosure := parentConstructor.Closure @@ bodyEnv := dang.CreateOverlayValueScope(parentModEnv, parentClosure) bodyEnv.EnterSelf(parentModEnv) _, err = dang.EvaluateFormsWithPhases(ctx, parentConstructor.ObjectBodyForms, bodyEnv)core/module.goRelated PRs: beta #13300, main #13329.
Main added
LegacyArgCustomizations, which is used by mergedmodulesource.gocode. Beta renamed workspace configuration terminology fordagger.tomlsettings. I kept both the new field and beta's settings terminology.Resolved:
diff --git a/core/module.go b/core/module.go @@ LegacyDefaultPath bool // LegacyArgCustomizations are workspace dagger.json argument customizations // applied through asModule. LegacyArgCustomizations []*modules.ModuleConfigArgument // Workspace setting values from dagger.toml [modules.<name>.settings]. // Typed map: strings, bools, ints, floats as-is from TOML. // When set, constructor args are resolved from this map first. WorkspaceConfig map[string]anyTest fixture conflicts
Related PRs: beta #13217, main #13345.
This is a grouped conflict category. Beta moved snippet files into integration test fixtures, while main #13345 archived the old docs snippets under
docs/versioned_docs. These are path conflicts, not line-level content hunks. I kept beta's integration fixture paths and kept main's versioned docs archive paths.Example path conflict, not a content hunk:
core/integration/testdata/modules/java/path-context-git-04/.gitignoredocs/versioned_docs/version-0.16.3/api/snippets/functions/arguments-array/java/.gitignoredocs/current_docs/cookbook/snippets/secret-variable/java/.gitignoreResolution:
docs/current_docssnippet pathNo line-level content hunk was resolved for this example; the conflict was about preserving the right final paths on both sides.
Notes
dagger generate -ycommit was added for this fresh merge. Currentorigin/mainalready includes the generated outputs that should be represented by the merge tree.