During the development I had multiple chat sessions when each of the features were completed. But right now the agent has been going in loop unable to fix an error and i want to revert back to an old chat session checkpoint. But unable to do so. Why is this?
Why cant I roll back to a working check point in a chat session that ended?
You can use git, either the Git pane or from the command line. a rollback is just a git commit with some fanciness tying it into the database, so you can reset the code using git just be careful if you made database schema changes
I went and rolled back to the earlier git commit that had given proper webpage preview. But now, I keep on running into “server IP address could not be found. DNS address could not be found.”
What might be the issue?
A lot of checkpoints are getting billed, but is all useless because of this.
can you send me the link to your repl and invite @kodylow so i can help debug
Sounds like Kody is already at it.
I shared this on another post:
It sounds like you are only relying on agent’s rollback feature to keep the development history. I used to do the same thing but I find the best practice is to connect your Replit App to Github.
Once you built your app to be MVP, immediately push to Github as the main branch. Then you create a branch to add features to this. You can easily spin up another Replit project and sync that side branch with Replit and have the agent adding features to it. This way no matter how the agent messed up your code, you can always revert back to the state you are happy with and restart from there. it’s much easier and less costly than having a super long chat going.
Kody helped me set up my Github and showed me how to connect it with Replit App. I am happy to show you how as well if you have questions!
Hi, I have invited you.
https://replit.com/@NihalAlgo/GreenBridgeExchange
Thank you for this tip. Like you guys said, I restarted with another replit and pushed the first working app to Github.