With this language model around it, I imagine that's a trivial next step. ChatGPT was correctly self-diagnosing problems when I pasted the error codes back in. It justs needs a setup where output is looped back in, and I imagine you could start to say things like:
Give me an environment where the test suite passes for this new repo I've cloned, based on all the environment config inside.
- Finds versions, sets them up
- Installs packages
- Asks about conflicts or problems
- Notes why the tests fail first time (no DB!)
- Creates the DB, runs migrations
- Notes why the tests fail next time (missing env variable)
- Finds a similar env variable in the example file, creates and local env file
- etc etc
That's all possible now if you paste the messages into GPT (with some errors, which repeated attempts can resolve), it needs connecting up into a self-aware environment.
Give me an environment where the test suite passes for this new repo I've cloned, based on all the environment config inside.
- Finds versions, sets them up
- Installs packages
- Asks about conflicts or problems
- Notes why the tests fail first time (no DB!)
- Creates the DB, runs migrations
- Notes why the tests fail next time (missing env variable)
- Finds a similar env variable in the example file, creates and local env file
- etc etc
That's all possible now if you paste the messages into GPT (with some errors, which repeated attempts can resolve), it needs connecting up into a self-aware environment.