For Workers & Pages, what is the name of the domain?
private dot me
What is the error message?
Failed: error occurred while updating repository submodules
What is the issue or error you’re encountering
Attempting to trigger a monorepo build results in all workspace modules failing to deploy with a non-descriptive build error
What steps have you taken to resolve the issue?
- Code and worker configuration review (no issues seen).
- CF build log review (non-descriptive error in build log).
- Github information on failed build trigger (no info)
What are the steps to reproduce the issue?
Attempt to puts to main branch of mono-repository. Builds trigger as expected but all three of the workers trying to deploy fail with the following message (same for all three)…
09:17:57.924 Initializing build environment…
09:18:05.037 Success: Finished initializing build environment
09:18:05.235 Cloning repository…
09:18:06.523 Failed: error occurred while updating repository submodules
It’s worth noting this was working just fine until I attempted to rename one of the workspace packages in the monorepo. I updated all names across the package.json file, wrangler.toml file, and updated all references in the git build area of the worker configuration in the dashboard including renaming the worker there as well.