All-Hands-AI / OpenHands

🙌 OpenHands: Code Less, Make More
https://all-hands.dev
MIT License
37.27k stars 4.22k forks source link

[Resolver]: Adding unit tests to Github workflows #5195

Open malhotra5 opened 1 day ago

malhotra5 commented 1 day ago

Summary I would like to add unit tests for Github workflows for openhands-resolver.

Motivation The workflow definitions are the entry points for openhands-resolver, making it the largest potential single point of failure. Currently making changes to the workflows needs to be manually tested in a separate repo. We've added many ways to trigger the workflows, so testing all of them manually tends to be tedious and often error prone. A way to do tests (at least a fraction of them) locally would be helpful.

Technical Design ts-run-api could be a good package to look into to facilitate this.

Alternatives to Consider

Additional context

github-actions[bot] commented 5 hours ago

OpenHands started fixing the issue! You can monitor the progress here.

github-actions[bot] commented 5 hours ago

A potential fix has been generated and a draft PR #5227 has been created. Please review the changes.