Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing post auto-updates #75

Open
hatkyinc2 opened this issue Apr 13, 2023 · 1 comment
Open

Testing post auto-updates #75

hatkyinc2 opened this issue Apr 13, 2023 · 1 comment
Labels
enhancement New feature or request Long term

Comments

@hatkyinc2
Copy link
Collaborator

hatkyinc2 commented Apr 13, 2023

Post auto-patching, we want an agent to to run tests/validations optionally

The first simple version is to define it in the config and run them.
The second phase is, if that failed, to feed the errors back to an agent to fix the code.
The third phase could include detecting what to run alone based on the README (or code), here is a sample prompt that seems to work:

What commands can I use to run things in this project (multiple commands ok. both testing and normal runs. only commands that appear above. Ignore package installs.)
Please return a valid JSON format that includes each command, example format
{
  "commands": [
     "command 1",
     "command 2",
   ]
}
Code only. Don't explain. No comments.

Returned:

{
"commands": [
"node createSummaryOfFiles.js --all",
"node ui.js",
"node ui.js -i"
]
}
@hatkyinc2
Copy link
Collaborator Author

Replacing #62

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Long term
Projects
Status: Todo
Development

No branches or pull requests

1 participant