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

[ft] Add continue unit test generation workflow #2023

Draft
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

rohitvinnakota-codecov
Copy link
Member

@rohitvinnakota-codecov rohitvinnakota-codecov commented Feb 27, 2025

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.

Things to finalize:
The shape of codecov_status. For now it will be a simple "conclusion": bool key, value pair, but could be extended in the future.
Adding tests to this PR.

This change 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.

@rohitvinnakota-codecov rohitvinnakota-codecov force-pushed the rvinnakota-continue-unit-tests branch 3 times, most recently from 135a073 to 9a0cc60 Compare March 3, 2025 19:09
@rohitvinnakota-codecov rohitvinnakota-codecov force-pushed the rvinnakota-continue-unit-tests branch from f8437cd to e672c0f Compare March 3, 2025 19:10
@rohitvinnakota-codecov rohitvinnakota-codecov force-pushed the rvinnakota-continue-unit-tests branch from f862d53 to fd7cea0 Compare March 3, 2025 19:13
@rohitvinnakota-codecov rohitvinnakota-codecov force-pushed the rvinnakota-continue-unit-tests branch from 010af4e to 21de77f Compare March 3, 2025 23:19
@rohitvinnakota-codecov rohitvinnakota-codecov force-pushed the rvinnakota-continue-unit-tests branch from 5d14b59 to 7796fee Compare March 3, 2025 23:29
@rohitvinnakota-codecov rohitvinnakota-codecov force-pushed the rvinnakota-continue-unit-tests branch from 78e8f0a to 3e24d94 Compare March 3, 2025 23:32
@rohitvinnakota-codecov rohitvinnakota-codecov changed the title [WIP] Add continue unit test generation workflow [Part 1] Add continue unit test generation workflow Mar 3, 2025
@rohitvinnakota-codecov rohitvinnakota-codecov force-pushed the rvinnakota-continue-unit-tests branch from 14278a8 to dcf71f5 Compare March 3, 2025 23:44
@rohitvinnakota-codecov rohitvinnakota-codecov force-pushed the rvinnakota-continue-unit-tests branch from 4637f2c to 0a3f868 Compare March 4, 2025 13:53
@rohitvinnakota-codecov rohitvinnakota-codecov force-pushed the rvinnakota-continue-unit-tests branch from 247a30b to ee46e5d Compare March 4, 2025 15:01
@rohitvinnakota-codecov rohitvinnakota-codecov force-pushed the rvinnakota-continue-unit-tests branch from c11a8a7 to fa84677 Compare March 4, 2025 15:16
@rohitvinnakota-codecov rohitvinnakota-codecov force-pushed the rvinnakota-continue-unit-tests branch from 7d36e17 to 0d673ad Compare March 5, 2025 21:56
@rohitvinnakota-codecov rohitvinnakota-codecov force-pushed the rvinnakota-continue-unit-tests branch from 6d4f154 to 687dd9b Compare March 6, 2025 15:10
@rohitvinnakota-codecov rohitvinnakota-codecov changed the title [Part 1] Add continue unit test generation workflow [ft] Add continue unit test generation workflow Mar 6, 2025
@rohitvinnakota-codecov rohitvinnakota-codecov force-pushed the rvinnakota-continue-unit-tests branch from 256a021 to 464fd0a Compare March 6, 2025 15:22
@rohitvinnakota-codecov rohitvinnakota-codecov force-pushed the rvinnakota-continue-unit-tests branch from 5be8135 to 2687d19 Compare March 6, 2025 15:28
@rohitvinnakota-codecov rohitvinnakota-codecov force-pushed the rvinnakota-continue-unit-tests branch from 4f4889f to 5238a1a Compare March 6, 2025 15:44
@rohitvinnakota-codecov rohitvinnakota-codecov force-pushed the rvinnakota-continue-unit-tests branch from ba011bd to 7c0a2fc Compare March 6, 2025 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant