Skip to content

[Bug]: Does not work with git submodules #161

@gerhard

Description

@gerhard

What happened?

⏺ container-use:environment_create (MCP)(title: "Add version extraction from image property", environment_source:
                                        "/Users/gerhard/github.com/dagger/dagger.io-worktree/api-parc-use-cli-version-in-cache-volume", explanation:
                                        "Creating environment to implement version extraction from enginespec image property")
  ⎿  Error: failed to create environment: failed to commit worktree changes: git command failed (exit code 128): exit status 128
     Output: fatal: not a git repository: dagviz/dagger/../../.git/modules/dagviz/dagger

As discovered with @aluzzardi

Image

Version

cu version
cu version 0.1.1
commit: b1f20ab328c1e6b33d55cfc332607e5de45bbbaa
built: 2025-06-30T17:35:03Z

Logs

We don't need this. The template should not make this a required value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions