I have a Git integration issue:
- Problem: Code push stopped working after renaming main → dev branch in both builder.io project and github project
- Previously working: Push code button worked fine with 'main' branch
- Current status: Push code button updates preview but doesn't push to GitHub
- GitHub webhook: Shows "This hook has never been triggered"
- Permissions: Builder.io app has "Read and write access to code" and "All repositories"
Can someone help why the Git push functionality broke after the branch rename?
Hi christoffer,
Thank you for contacting Builder.io Support! I look forward to helping you with your request.
When you rename, GitHub may prompt you to merge those changes into your main/original ( before rename) branch. This is a standard part of the version control workflow to ensure that updates are integrated properly.
To proceed, you simply need to compare the changes between the dev and main branches, open a pull request (PR), and then merge the changes.
This is a typical process on GitHub to manage code safely across branches. I tried to reproduce the same thing on my end, and got this on Github → Check the screenshot below. I simply compare the changes, raise the PR and merge the changes into my renamed branch.
Let me know if you need help walking through any of these steps!
Thank you,
But since i just changed the name of the main branch to dev, i can merge anything from one branch to another.
So i never had that merge before i changed name.
The main branch is not there anymore.
I also get this error msg from the console:
245.d49c5fd9.chunk.js:13308 [mobx.array] Attempt to read an array index (0) that is out of bounds (0). Please check length first. Out of bound indices will not be tracked by MobX
(anonymous) @ 245.d49c5fd9.chunk.js:13308
e @ fs.js:4
get @ 245.d49c5fd9.chunk.js:45
get @ 245.d49c5fd9.chunk.js:45
hstc.utils.each @ 5149643.js:20
hstc.utils.param @ 5149643.js:20
hstc.tracking.Tracker._getUserInfo @ 5149643.js:20
hstc.tracking.Tracker._generateURL @ 5149643.js:20
hstc.tracking.Tracker._loadImage @ 5149643.js:20
hstc.tracking.Tracker.trackConversion @ 5149643.js:20
i @ 5149643.js:20
(anonymous) @ collector.ts:510
(anonymous) @ collector.ts:126
execute @ main.995ca377.chunk.js:1038
(anonymous) @ 245.d49c5fd9.chunk.js:4978
(anonymous) @ 245.d49c5fd9.chunk.js:4978
step @ 245.d49c5fd9.chunk.js:4628
(anonymous) @ 245.d49c5fd9.chunk.js:4628
fulfilled @ 245.d49c5fd9.chunk.js:4628
Promise.then
step @ 245.d49c5fd9.chunk.js:4628
fulfilled @ 245.d49c5fd9.chunk.js:4628
Promise.then
step @ 245.d49c5fd9.chunk.js:4628
fulfilled @ 245.d49c5fd9.chunk.js:4628
Promise.then
step @ 245.d49c5fd9.chunk.js:4628
fulfilled @ 245.d49c5fd9.chunk.js:4628
Promise.then
step @ 245.d49c5fd9.chunk.js:4628
(anonymous) @ 245.d49c5fd9.chunk.js:4628
__awaiter2 @ 245.d49c5fd9.chunk.js:4628
Timeline.apply @ 245.d49c5fd9.chunk.js:4978
(anonymous) @ 245.d49c5fd9.chunk.js:4978
sentryWrapped @ 245.d49c5fd9.chunk.js:13305
setTimeout
(anonymous) @ 245.d49c5fd9.chunk.js:13308
Timeline.scheduleApply @ 245.d49c5fd9.chunk.js:4978
(anonymous) @ 245.d49c5fd9.chunk.js:4978
Timeline.push @ 245.d49c5fd9.chunk.js:4978
(anonymous) @ 245.d49c5fd9.chunk.js:4978
step @ 245.d49c5fd9.chunk.js:4628
(anonymous) @ 245.d49c5fd9.chunk.js:4628
(anonymous) @ 245.d49c5fd9.chunk.js:4628
__awaiter2 @ 245.d49c5fd9.chunk.js:4628
AmplitudeCore.process @ 245.d49c5fd9.chunk.js:4978
(anonymous) @ 245.d49c5fd9.chunk.js:4986
step @ 245.d49c5fd9.chunk.js:4976
(anonymous) @ 245.d49c5fd9.chunk.js:4976
(anonymous) @ 245.d49c5fd9.chunk.js:4976
__awaiter2 @ 245.d49c5fd9.chunk.js:4976
AmplitudeBrowser.process @ 245.d49c5fd9.chunk.js:4986
(anonymous) @ 245.d49c5fd9.chunk.js:4978
step @ 245.d49c5fd9.chunk.js:4628
(anonymous) @ 245.d49c5fd9.chunk.js:4628
(anonymous) @ 245.d49c5fd9.chunk.js:4628
__awaiter2 @ 245.d49c5fd9.chunk.js:4628
AmplitudeCore.dispatch @ 245.d49c5fd9.chunk.js:4978
AmplitudeCore.track @ 245.d49c5fd9.chunk.js:4978
(anonymous) @ 245.d49c5fd9.chunk.js:4976
trackAmplitudeEvent @ main.995ca377.chunk.js:925
track @ main.995ca377.chunk.js:942
onClick @ 33.06743a3e.chunk.js:638
Rb @ 245.d49c5fd9.chunk.js:7623
Xb @ 245.d49c5fd9.chunk.js:7623
Yb @ 245.d49c5fd9.chunk.js:7623
Ze @ 245.d49c5fd9.chunk.js:7623
se @ 245.d49c5fd9.chunk.js:7623
(anonymous) @ 245.d49c5fd9.chunk.js:7623
Jb @ 245.d49c5fd9.chunk.js:7627
Nb @ 245.d49c5fd9.chunk.js:7623
jd @ 245.d49c5fd9.chunk.js:7623
yc @ 245.d49c5fd9.chunk.js:7623
hd @ 245.d49c5fd9.chunk.js:7623
exports2.unstable_runWithPriority @ 245.d49c5fd9.chunk.js:7634
gg @ 245.d49c5fd9.chunk.js:7623
Hb @ 245.d49c5fd9.chunk.js:7627
gd @ 245.d49c5fd9.chunk.js:7623
sentryWrapped @ 245.d49c5fd9.chunk.js:13305Understand this warning
fs.js:4 FullStory namespace conflict. Please set window["_fs_namespace"].
fs.js:4 FullStory namespace conflict. Please set window["_fs_namespace"].
3245.d49c5fd9.chunk.js:13308 [mobx.array] Attempt to read an array index (0) that is out of bounds (0). Please check length first. Out of bound indices will not be tracked by MobX
(anonymous) @ 245.d49c5fd9.chunk.js:13308
e @ fs.js:4
get @ 245.d49c5fd9.chunk.js:45
get @ 245.d49c5fd9.chunk.js:45
hstc.utils.each @ 5149643.js:20
hstc.utils.param @ 5149643.js:20
hstc.tracking.Tracker._getUserInfo @ 5149643.js:20
hstc.tracking.Tracker._generateURL @ 5149643.js:20
hstc.tracking.Tracker._loadImage @ 5149643.js:20
hstc.tracking.Tracker.trackConversion @ 5149643.js:20
i @ 5149643.js:20
(anonymous) @ collector.ts:510
(anonymous) @ collector.ts:126
execute @ main.995ca377.chunk.js:1038
(anonymous) @ 245.d49c5fd9.chunk.js:4978
(anonymous) @ 245.d49c5fd9.chunk.js:4978
step @ 245.d49c5fd9.chunk.js:4628
(anonymous) @ 245.d49c5fd9.chunk.js:4628
fulfilled @ 245.d49c5fd9.chunk.js:4628
Promise.then
step @ 245.d49c5fd9.chunk.js:4628
fulfilled @ 245.d49c5fd9.chunk.js:4628
Promise.then
step @ 245.d49c5fd9.chunk.js:4628
fulfilled @ 245.d49c5fd9.chunk.js:4628
Promise.then
step @ 245.d49c5fd9.chunk.js:4628
fulfilled @ 245.d49c5fd9.chunk.js:4628
Promise.then
step @ 245.d49c5fd9.chunk.js:4628
(anonymous) @ 245.d49c5fd9.chunk.js:4628
__awaiter2 @ 245.d49c5fd9.chunk.js:4628
Timeline.apply @ 245.d49c5fd9.chunk.js:4978
(anonymous) @ 245.d49c5fd9.chunk.js:4978
sentryWrapped @ 245.d49c5fd9.chunk.js:13305
setTimeout
(anonymous) @ 245.d49c5fd9.chunk.js:13308
Timeline.scheduleApply @ 245.d49c5fd9.chunk.js:4978
(anonymous) @ 245.d49c5fd9.chunk.js:4978
Timeline.push @ 245.d49c5fd9.chunk.js:4978
(anonymous) @ 245.d49c5fd9.chunk.js:4978
step @ 245.d49c5fd9.chunk.js:4628
(anonymous) @ 245.d49c5fd9.chunk.js:4628
(anonymous) @ 245.d49c5fd9.chunk.js:4628
__awaiter2 @ 245.d49c5fd9.chunk.js:4628
AmplitudeCore.process @ 245.d49c5fd9.chunk.js:4978
(anonymous) @ 245.d49c5fd9.chunk.js:4986
step @ 245.d49c5fd9.chunk.js:4976
(anonymous) @ 245.d49c5fd9.chunk.js:4976
(anonymous) @ 245.d49c5fd9.chunk.js:4976
__awaiter2 @ 245.d49c5fd9.chunk.js:4976
AmplitudeBrowser.process @ 245.d49c5fd9.chunk.js:4986
(anonymous) @ 245.d49c5fd9.chunk.js:4978
step @ 245.d49c5fd9.chunk.js:4628
(anonymous) @ 245.d49c5fd9.chunk.js:4628
(anonymous) @ 245.d49c5fd9.chunk.js:4628
__awaiter2 @ 245.d49c5fd9.chunk.js:4628
AmplitudeCore.dispatch @ 245.d49c5fd9.chunk.js:4978
AmplitudeCore.track @ 245.d49c5fd9.chunk.js:4978
(anonymous) @ 245.d49c5fd9.chunk.js:4976
trackAmplitudeEvent @ main.995ca377.chunk.js:925
track @ main.995ca377.chunk.js:942
handleSendMessage @ main.995ca377.chunk.js:959
executeAction @ 245.d49c5fd9.chunk.js:30
res @ 245.d49c5fd9.chunk.js:30
runMiddleWares @ 245.d49c5fd9.chunk.js:14
runWithActionContext @ 245.d49c5fd9.chunk.js:14
res @ 245.d49c5fd9.chunk.js:14
handleChatFieldSubmit @ 254.5db5b875.chunk.js:36
(anonymous) @ 245.d49c5fd9.chunk.js:4846
transaction @ 245.d49c5fd9.chunk.js:45
(anonymous) @ 245.d49c5fd9.chunk.js:4846
onKeyDown @ 38.7dabbcfb.chunk.js:32
Rb @ 245.d49c5fd9.chunk.js:7623
Xb @ 245.d49c5fd9.chunk.js:7623
Yb @ 245.d49c5fd9.chunk.js:7623
Ze @ 245.d49c5fd9.chunk.js:7623
se @ 245.d49c5fd9.chunk.js:7623
(anonymous) @ 245.d49c5fd9.chunk.js:7623
Jb @ 245.d49c5fd9.chunk.js:7627
Nb @ 245.d49c5fd9.chunk.js:7623
jd @ 245.d49c5fd9.chunk.js:7623
yc @ 245.d49c5fd9.chunk.js:7623
hd @ 245.d49c5fd9.chunk.js:7623
exports2.unstable_runWithPriority @ 245.d49c5fd9.chunk.js:7634
gg @ 245.d49c5fd9.chunk.js:7623
Hb @ 245.d49c5fd9.chunk.js:7627
gd @ 245.d49c5fd9.chunk.js:7623
sentryWrapped @ 245.d49c5fd9.chunk.js:13305Understand this warning
245.d49c5fd9.chunk.js:13308 [Session Model] Done step received: {creditsUsed: 0, lastCreditsUsed: 0, newTotal: 0}creditsUsed: 0lastCreditsUsed: 0newTotal: 0[[Prototype]]: Object
245.d49c5fd9.chunk.js:13308 Showing notification
245.d49c5fd9.chunk.js:13308 [Session Model] Appending credit info for no credits used
Hi christoffer,
This is part of the version control workflow. Could you check with your developer on the GitHub side once?
Also, could you tell me what process you are trying to achieve that throws this error?
Thanks,
I was going to add i branch ,master, the master should run with github actions, and then deploy to vercel. so i added a master branch and changed the default main branch to dev, and also changed the settings for the project “Main branch name” to dev in builder io and saved. Now everything broke, its seems like the intregration with my github repo and builder is not synced.
Hi christoffer,
Thanks for the details.
From what you’ve described, it seems the issue is primarily related to the changes made on the GitHub side—specifically with branch renaming and GitHub Actions configuration. While Builder relies on those settings for integration, we don’t directly manage GitHub workflows or repository structure.
To fully understand and resolve this issue, we may also need to look at your GitHub repo settings.
Are you currently working with any developers? Who can look at your GitHub?
Best regards,
So the issue is the Issues with GitHub authentication.
Because iam getting this popup now when trying to push the code from builder :
But it doesnt open a new window for authentication.
If i follow builders error msg " Issues with GitHub authentication"
it loads my repos in github an i click the chrisMalm/stellarWorks:
If i use the existing project its doesnt reauthentice or do i miss something here?
Here is my project on github : GitHub - chrisMalm/stellarWorks: Created with Builder.io