Skip to content

core: wire files, directories, and workspaces between modules - #13986

Merged
tiborvass merged 1 commit into
dagger:mainfrom
tiborvass:codex/allow-file-directory-module-wiring
Aug 28, 2026
Merged

tiborvass merged 1 commit into
dagger:mainfrom
tiborvass:codex/allow-file-directory-module-wiring

Conversation

@tiborvass

@tiborvass tiborvass commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

Allow File, Directory, and Workspace constructor arguments to resolve module:function references through the shared Address module-reference resolver, matching the existing Container and Service behavior.

Workspace settings now take precedence over ambient Workspace injection. Constructors consume wired workspaces and retain derived values, preserving the rule that Workspace itself cannot be stored on a module object.

Add integration coverage that wires all three object types through workspace settings and verifies their contents, update the module wiring documentation, and regenerate the schema and SDK clients for Address.workspace.

Tested with:

  • env -u SSH_AUTH_SOCK dagger api call engine-dev test --pkg ./core/integration --run=TestUp/TestUpModuleWiring
  • env -u SSH_AUTH_SOCK dagger generate -y

Fixes #13979

@tiborvass
tiborvass requested a review from a team as a code owner August 27, 2026 11:56
@tiborvass
tiborvass force-pushed the codex/allow-file-directory-module-wiring branch 2 times, most recently from ae25bbb to 5cb902e Compare August 27, 2026 15:00
@tiborvass
tiborvass requested review from a team as code owners August 27, 2026 15:00
@tiborvass tiborvass changed the title core: wire files and directories between modules core: wire files, directories, and workspaces between modules Aug 27, 2026
@tiborvass
tiborvass force-pushed the codex/allow-file-directory-module-wiring branch from 5cb902e to a31f06a Compare August 28, 2026 11:49
@tiborvass
tiborvass force-pushed the codex/allow-file-directory-module-wiring branch from a31f06a to e2ac32e Compare August 28, 2026 12:56
@tiborvass
tiborvass merged commit f53722d into dagger:main Aug 28, 2026
89 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

✨ Allow files and directories for module wiring

2 participants