trigger.dev
trigger.dev copied to clipboard
bug: managed deploy does not include .git, so submodule repos fail
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
- Use any monorepo that references workspace packages inside git submodules.
- Configure Managed Deploy.
- Set install/pre-build command to:
git submodule update --init --recursive && bun install - Deploy.
- Observe:
.gitmodulesexists,.gitis missing, submodule init fails, then workspace-not-found errors.
Additional information
No response