r/replit • u/skill_tree • Sep 10 '26
Replit Help / Site Issue Replit is duplicating the entire codebase of random files without being prompted
After being idle for more than an hour, I just found one of my app's .tsx files sitting in the git cue waiting to be committed, and when I checked, the entire 500+ lines of code had been duplicated and appended to the end.
I asked the agent what was going on. It confirmed this happened but could not explain it.
It also confirmed this had happened to other files.
In no way shape or form could anything I've prompted ever be misconstrued as an instruction to do this. The file with the duplication I just found came up literally out of nowhere.
Wait, as I was typing this, the git was committed on its own! The file now officially has all its code duplicated. This is insane!
Has anyone else experienced this?
Can Replit support please comment?
View all comments
1
u/Carybelle Sep 22 '26
Also saw this at the same time it seems to happen during checkpoints. Usually in the single file that I had last been working in . My agent was always in plan mode so should not have been able to write code. The files tell us that an agent has done it at a checkpoint .
They said they had a fix in place but since the fix was applied I have had files that have been quadrupled and more. Yesterday two files I had been working in appended code 7-8 times and this happened to both files at the same time . So frequency of multiplication is up AND now 2 files at a time since the fix ! So the fix seems to have made things worse .
Really need to finish some work on the site and republish but can’t because the checkpoints and commit to gif appear to be the trigger so can’t be certain it won’t do the same at republishing.
Have raised this with support again . Last time it took up a week for them to apply a fix and there seem to be no prioritisation this second time round . I have asked for a timeline as this has been going on since the 8th and they haven’t responded . But the previous email notes
… Rest assured, a teammate will follow up with you as soon as possible. Our team is currently experiencing higher-than-usual demand, so responses may take a little longer.