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

Bundle analysis - add GQL schema for filtering and removed deprecated code #617

Merged
merged 12 commits into from
Jun 17, 2024

Conversation

JerrySentry
Copy link
Contributor

@JerrySentry JerrySentry commented Jun 12, 2024

closes codecov/engineering-team#1896

Delete some old GQL types that we don't need anymore.

closes codecov/engineering-team#1895

Add in the filters for BundleAnalysisReport.bundle type, the logic will be coded in shared, doesn't do anything in this PR

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

@JerrySentry JerrySentry requested a review from a team as a code owner June 12, 2024 20:54
@JerrySentry JerrySentry changed the title Jun 11 ba delete Bundle analysis - removed deprecated code Jun 12, 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!

@codecov-qa
Copy link

codecov-qa bot commented Jun 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.48%. Comparing base (b24e546) to head (eb5803f).

✅ All tests successful. No failed tests found.

@@            Coverage Diff             @@
##             main     #617      +/-   ##
==========================================
- Coverage   91.51%   91.48%   -0.04%     
==========================================
  Files         615      615              
  Lines       16481    16418      -63     
==========================================
- Hits        15083    15020      -63     
  Misses       1398     1398              
Flag Coverage Δ
unit 91.48% <100.00%> (-0.04%) ⬇️
unit-latest-uploader 91.48% <100.00%> (-0.04%) ⬇️

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

Files Coverage Δ
graphql_api/types/bundle_analysis/base.py 100.00% <100.00%> (ø)
graphql_api/types/bundle_analysis/comparison.py 100.00% <ø> (ø)
graphql_api/types/bundle_analysis/report.py 100.00% <100.00%> (ø)
services/bundle_analysis.py 100.00% <100.00%> (ø)

📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

Copy link

codecov-public-qa bot commented Jun 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.48%. Comparing base (b24e546) to head (eb5803f).

✅ All tests successful. No failed tests found ☺️

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #617      +/-   ##
==========================================
- Coverage   91.51%   91.48%   -0.04%     
==========================================
  Files         615      615              
  Lines       16481    16418      -63     
==========================================
- Hits        15083    15020      -63     
  Misses       1398     1398              
Flag Coverage Δ
unit 91.48% <100.00%> (-0.04%) ⬇️
unit-latest-uploader 91.48% <100.00%> (-0.04%) ⬇️

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

Files Coverage Δ
graphql_api/types/bundle_analysis/base.py 100.00% <100.00%> (ø)
graphql_api/types/bundle_analysis/comparison.py 100.00% <ø> (ø)
graphql_api/types/bundle_analysis/report.py 100.00% <100.00%> (ø)
services/bundle_analysis.py 100.00% <100.00%> (ø)

Impacted file tree graph

Copy link

codecov bot commented Jun 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.92%. Comparing base (b24e546) to head (eb5803f).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@               Coverage Diff                @@
##               main       #617        +/-   ##
================================================
- Coverage   95.93000   95.92000   -0.01000     
================================================
  Files           793        793                
  Lines         17798      17735        -63     
================================================
- Hits          17075      17012        -63     
  Misses          723        723                
Flag Coverage Δ
unit 91.48% <100.00%> (-0.04%) ⬇️
unit-latest-uploader 91.48% <100.00%> (-0.04%) ⬇️

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.

@JerrySentry JerrySentry changed the title Bundle analysis - removed deprecated code Bundle analysis - add GQL schema for filtering and removed deprecated code Jun 13, 2024
self.report = report

# TODO this will be passed to shared.BundleReport in assets and szie_total calls
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: typo "size"

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

@JerrySentry JerrySentry added this pull request to the merge queue Jun 17, 2024
Merged via the queue into main with commit 128e122 Jun 17, 2024
21 of 22 checks passed
@JerrySentry JerrySentry deleted the jun_11_ba_delete branch June 17, 2024 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants