I’m trying to get the RDB video game characters lesson to run locally. But no matter what I do, when I click the Run button in CodeRoad, it says “Test Runner Failed.”
Deleting and recreating the entire project folder and Docker container (not forgetting the user token)
Running commands from WSL instead of git bash
I found this issue on GitHub, but using git init didn’t work for me as seen in the above screenshot. This issue looks closer to what I’m experiencing, but it’s (also) unresolved.
Thanks for the pointer about the prompt being wrong. I did some digging (with the help of Gemini 3), and apparently the ~/.bashrc in my container is incorrect. It seems like it was replaced with some Linux default .bashrc instead of the presumably custom one necessary for CodeRoad to read my terminal output (since it seems like CodeRoad depends on the prompt just being camper). Gemini also indicated that this would have been persistent across container refreshes, because these settings would live in the Docker volume, but to be honest I don’t know enough about Docker right now to completely understand what’s going on here.
Also, not sure if this is intended, but ls -a ~ also shows a .profile, which as I understand it would override any settings from the .bashrc. It didn’t seem to contain any settings that would mess with the terminal prompt, but I’m definitely out of my depth
I’m in the process of learning how to properly work with Docker, so I’ll post again once I can figure out what Docker is really doing haha. Shouldn’t be long. I learn fast lol.
Well, I’ve now tried a lot, but nothing seems to work.
Run export PS1="camper $ " command
Remove vscode volume and rebuild container
Rebuild the image without CodeRoad webhook
Stop all containers and run docker system prune --all --volumes, then rebuild image (both with and without CodeRoad webhook)
Not only does this not work, I get other strange behaviors?
First of all, I can’t seem to figure out how to actually reset CodeRoad. Hitting Reset within CodeRoad (from either the bottom button or from within settings), rebuilding the container or image, nothing works. It always comes back to the second step, the one about using psql. I got to this step at some point when trying to use the export PS1="camper $ " workaround (or possibly a similar string, such as camper $ without a trailing space); the first step passed somehow.
Additionally, running any command with psql gets the above error.
I’m starting to think I should just use a codespace for this haha. (Learning Docker has genuinely been fun and interesting though.)