Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Conversation

@Swatinem
Copy link
Contributor

@Swatinem Swatinem commented Mar 31, 2025

This new task is responsible for copying over the coverage report from one commit to another commit.


The commits for this feature:

@Swatinem Swatinem self-assigned this Mar 31, 2025
@seer-by-sentry
Copy link
Contributor

✅ Sentry found no issues in your recent changes ✅

@codecov
Copy link

codecov bot commented Mar 31, 2025

Codecov Report

Attention: Patch coverage is 98.27586% with 1 line in your changes missing coverage. Please review.

Project coverage is 97.70%. Comparing base (00bfa7e) to head (ca076cb).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
tasks/transplant_report.py 87.50% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1190   +/-   ##
=======================================
  Coverage   97.70%   97.70%           
=======================================
  Files         454      457    +3     
  Lines       37032    37089   +57     
=======================================
+ Hits        36182    36238   +56     
- Misses        850      851    +1     
Flag Coverage Δ
integration 42.81% <34.48%> (-0.02%) ⬇️
unit 90.51% <98.27%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@codecov-notifications
Copy link

codecov-notifications bot commented Mar 31, 2025

Codecov Report

Attention: Patch coverage is 98.27586% with 1 line in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
tasks/transplant_report.py 87.50% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@Swatinem Swatinem changed the title Add backend code to transplant coverage reports from one commit to another Add new transplant_report task and logic Apr 8, 2025
@Swatinem Swatinem marked this pull request as ready for review April 8, 2025 10:55
from app import celery_app
from database.enums import CompareCommitError, CompareCommitState
from database.models import CompareCommit, CompareComponent, CompareFlag
from database.models.reports import ReportLevelTotals, RepositoryFlag
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, this must be something I forgot to commit in a different PR.
It removes a wrong type, as the totals: ReportLevelTotals down below is wrong.

@Swatinem Swatinem added this pull request to the merge queue Apr 9, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 9, 2025
@Swatinem Swatinem force-pushed the swatinem/transplant branch from 65b9171 to 7afd145 Compare April 9, 2025 07:57
@Swatinem Swatinem enabled auto-merge April 9, 2025 07:57
@Swatinem Swatinem disabled auto-merge April 9, 2025 08:11
@Swatinem Swatinem enabled auto-merge April 10, 2025 07:18
@Swatinem Swatinem added this pull request to the merge queue Apr 10, 2025
Merged via the queue into main with commit 159f5c1 Apr 10, 2025
27 of 29 checks passed
@Swatinem Swatinem deleted the swatinem/transplant branch April 10, 2025 07:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants