Migrating Pages as-is to WOrkers breaks private Git submodules
As described, the project is using private GitHub repo
git@github.com:Vulnetix/vulnetix.git
That repo has a gitmodules file
[submodule "api"]
path = functions/api
url = git@github.com:Vulnetix/workers-api.git
[submodule "static"]
path = public
url = git@github.com:Vulnetix/saas-static.git
[submodule "frontend"]
path = src
url = git@github.com:Vulnetix/saas-frontend.git
[submodule "shared"]
path = shared
url = git@github.com:Vulnetix/shared-javascript.git
[submodule "scan-processor"]
path = queue-consumers/scan-processor
url = git@github.com:Vulnetix/scan-processor.git
This setup has the CloudFlare App permissions to work in Pages
When migrating to Workers and trying to reinstall the CloudFlare GitHub AP will all repos for personal and GitHub Organization (to rule out perms being the issue) this still persists
The last build is:
I have a dozen attempts to diagnose root cause of the problem and the build log is unchanged, nothing seems to produce a different result.
II am a paying Cloudflare customer NOW, so I can get support for this. but the support UX is so bad I can't figure out how to actually create a proper support ticket
8 Replies
@Community Champion if not a response to unblock me, at least advice on how to get real paid support would be helpful
?pings
Please do not ping community members for non-moderation reasons. Doing so will not solve your issue faster and will make people less likely to want to help you.
I was unaware of this, as said, I was directed here for paid support and getting the run around. perhaps that is a reason to send people away on purpose?
Hi @Chris (stof) Langton!
I would recommend submitting a ticket through https://dash.cloudflare.com/?to=/:account/support under "Technical - Other products" -> "Workers", and hopefully we can provide you more support there.
For the community I verified the problem is infact that the Workers build system has regressed from the Pages build system, and doesn't support git submodules
To check the GitHub App perms, I connected each 1 from the CloudFlare side I to new workers, then deleted them.
To rule out code related issues
I deleted the gitmodules file and .git folders, pushed to a repo, connected it to workers
It's now running in prod
I'll keep it this way now, despite it breaking all our maintainer workflows and causing serious ways of working changes in our team
Did a little bit of checking, looks like ssh urls in submodules are not currently supported
(You can use submodules through http)
Https + credentials for private repos, or https public? I'm fairly sure we tried and it worked public only