Cloudflare Pages is building the same commit twice.
- hosted on GitLab
- happens on preview & production branches
- latest version of SvelteKit
- node 17.2.0 (to build)
It is not causing any problems at the moment. But it seems wasteful.
Cloudflare Pages is building the same commit twice.
It is not causing any problems at the moment. But it seems wasteful.
Is this happening on EVERY commit you push or just sometimes?
I also have this same issue. I am having it happen on every commit.
@M4rt1n Sorry I missed your original reply.
Yes, it is happening on every commit.
Here are ids for two build logs. They are for the same commit.
I can provide more info if you tell me what you might need.
Hey,
Could you all provide me with some info so we can dig into this
(thanks for the tag @M4rt1n )
Hi @Walshy
Hi @Walshy, is there any resolution available for this problem? Mine is building 5 times for each deployment.
Pages: dentagraphics.pages.dev
Git: Gitlab
I signed up yesterday for this product, has been happening since I signed up.
I suspect it’s related to deleting and re-doing projects because I didn’t understand the structure at first. I suspect there is some kind of build job trigger cache because I created new projects on the same repository as old projects.
Thanks!
Hey, we’re looking into it and I’ll post here when I have more updates.
In the meantime, please check to make sure you don’t have anything on GitLab like an integration or pipeline which could be causing this.
Could you please check if there’s multiple project hooks for Pages?
To check go to your project → Settings → Webhooks → Scroll down and look at the “Project Hooks”. Remove any duplicates for api.cloudflare.com
Thanks! I did verify I have only 1 pipeline running per Cloudflare deployment.
Looks like Webhooks were the problem for me! I had 5, they apparently don’t get deleted automatically.
Thank you for investigating!
Yep that’s it. We have it being tracked internally now and will get that fixed up.
Thanks for your patience
Thank you a ton! Cloudflare is amazing, and you were extremely helpful!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.