You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ft] Add continue unit test generation workflow (#2023)
This change lays out the groundwork for running unit tests against code
coverage and test analytics metrics to generate better tests for a given
PR. The retry unit tests endpoint will be invoked from Codecov's
`Shelter` service
This change also adds a `DbPrContextToUnitTestGenerationRunIdMapping`
table that will store information(owner, repo, etc) + agent context
about past runs, which will be leveraged as a memory store for
subsequent unit test runs.
Some other updates:
- Fix for an issue where a generated tests PR is based off of the main
branch. It should be built on top of the feature branch tests are being
requested on
- Update Claude version
- Add logic that lets the codecov-ai GH app post updates instead of
autofix under certain conditions
---------
Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
comment=f"Codecov has generated a new [PR]({unit_test_pr_url}) with unit tests for this PR. View the new PR({unit_test_pr_url}) to review the changes."
The tests you have generated so far are not sufficient to cover all the changes in the codebase. You need to continue generating unit tests to address the gaps in coverage and fix any failing tests.
332
+
333
+
To help you with this, you have access to code coverage information at a file level attached as a JSON in addtion to test result information also in a JSON format.
334
+
335
+
Using the information and instructions provided, update the unit tests to ensure robust code coverage as well as fix any failing tests. Use the exact same format you used previously to regenerate tests. Your changes will be appended as a new commit to the branch of the existing PR.
0 commit comments