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

Remove obsolete cleanup from BundleAnalysis #731

Merged
merged 2 commits into from
Aug 6, 2024
Merged

Conversation

Swatinem
Copy link
Contributor

@Swatinem Swatinem commented Aug 2, 2024

Purpose/Motivation

The shared code completely removed the db_session on the BundleAnalysisReport. Thus there is no need to close those sessions and for these cleanup methods to exist.

Links to relevant tickets

related to https://github.com/codecov/internal-issues/issues/650

Notes to Reviewer

Depends on codecov/shared#309

@Swatinem Swatinem self-assigned this Aug 2, 2024
@codecov-notifications
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

Copy link

codecov bot commented Aug 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.02%. Comparing base (96ade56) to head (a2d0e8c).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##               main       #731   +/-   ##
===========================================
  Coverage   96.02000   96.02000           
===========================================
  Files           814        814           
  Lines         18453      18443   -10     
===========================================
- Hits          17720      17710   -10     
  Misses          733        733           
Flag Coverage Δ
unit 91.73% <100.00%> (-0.01%) ⬇️
unit-latest-uploader 91.73% <100.00%> (-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.

@Swatinem Swatinem force-pushed the swatinem/rm-cleanup branch from cd4048e to cd35b22 Compare August 5, 2024 08:38
@Swatinem Swatinem marked this pull request as ready for review August 5, 2024 08:38
@Swatinem Swatinem requested a review from a team as a code owner August 5, 2024 08:56
The `shared` code completely removed the `db_session` on the `BundleAnalysisReport`.
Thus there is no need to `close` those sessions and for these cleanup methods to exist.
@Swatinem Swatinem force-pushed the swatinem/rm-cleanup branch from d058341 to a2d0e8c Compare August 6, 2024 08:50
@Swatinem Swatinem enabled auto-merge August 6, 2024 08:51
Copy link
Contributor

@ajay-sentry ajay-sentry left a comment

Choose a reason for hiding this comment

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

lgtm!

@Swatinem Swatinem added this pull request to the merge queue Aug 6, 2024
Merged via the queue into main with commit 40e1262 Aug 6, 2024
18 checks passed
@Swatinem Swatinem deleted the swatinem/rm-cleanup branch August 6, 2024 20:40
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.

4 participants