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

Slightly improve test factories #482

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Swatinem
Copy link
Contributor

Whic working on the repo cleanup, I noticed frequent test failures related to Branch.name not being unique enough. This fixes that along with some other improvements, like being able to use CommitWithReportFactory in worker which was not possible previously because of imports that are only valid within api.

Whic working on the repo cleanup, I noticed frequent test failures related to `Branch.name` not being unique enough.
This fixes that along with some other improvements, like being able to use `CommitWithReportFactory` in `worker` which was not possible previously because of imports that are only valid within `api`.
@Swatinem Swatinem requested a review from a team January 17, 2025 11:04
@Swatinem Swatinem self-assigned this Jan 17, 2025
@Swatinem
Copy link
Contributor Author

https://github.com/codecov/worker/actions/runs/12828858623/job/35773980100?pr=973 and thats exactly one of those unique constraint failures caused by Branch.name not being unique enough :-D

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.

2 participants