trigger.dev icon indicating copy to clipboard operation
trigger.dev copied to clipboard

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

Open isshaddad opened this issue 7 months ago • 0 comments

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

isshaddad avatar Apr 14 '26 15:04 isshaddad