Skip to content

bug: managed deploy does not include .git, so submodule repos fail #3375

@isshaddad

Description

@isshaddad

Provide environment information

n/a

Describe the bug

Managed Deploy checks out files but not Git metadata (.git). In repos that use git submodules for workspace packages, git submodule update --init --recursive fails with “not a git repository”, then install fails because submodule paths are missing.
Expected: recursive submodule checkout support, or include .git so pre-build can initialize submodules.

Reproduction repo

n/a

To reproduce

  1. Use any monorepo that references workspace packages inside git submodules.
  2. Configure Managed Deploy.
  3. Set install/pre-build command to:
    git submodule update --init --recursive && bun install
  4. Deploy.
  5. Observe: .gitmodules exists, .git is missing, submodule init fails, then workspace-not-found errors.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions