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

Handle string indexes with no meta #6

Merged
merged 1 commit into from
Jul 20, 2023
Merged

Conversation

giovanni-guidini
Copy link
Contributor

These changes let SessionTotalsArray.build_from_encoded_data handle the creation of SessionTotalsArray from encoded data that has no "meta" info and the indexes of the sessions are strings (as it happens when you pull them from storage).

These changes address https://codecov.sentry.io/issues/4326038619/?project=5215654&query=is%3Aunresolved&referrer=issue-stream&stream_index=0

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.

These changes let `SessionTotalsArray.build_from_encoded_data` handle the creation of `SessionTotalsArray` from encoded data that has no "meta" info and the indexes of the sessions are strings (as it happens when you pull them from storage).

These changes address https://codecov.sentry.io/issues/4326038619/?project=5215654&query=is%3Aunresolved&referrer=issue-stream&stream_index=0
@codecov
Copy link

codecov bot commented Jul 19, 2023

Codecov Report

Merging #6 (c0852b2) into main (c3d5e38) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #6   +/-   ##
=======================================
  Coverage   91.28%   91.28%           
=======================================
  Files          90       90           
  Lines        8076     8076           
  Branches     1228     1228           
=======================================
  Hits         7372     7372           
  Misses        701      701           
  Partials        3        3           
Flag Coverage Δ
python3.10.5 88.11% <ø> (ø)
python3.7.13 87.95% <ø> (ø)
python3.8.13 88.22% <ø> (ø)
python3.9.12 88.56% <ø> (ø)
rust 89.75% <ø> (ø)
smart-labels 91.58% <ø> (ø)

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

Files Changed Coverage Δ
shared/reports/types.py 99.48% <ø> (ø)

@giovanni-guidini giovanni-guidini merged commit 8573d97 into main Jul 20, 2023
@giovanni-guidini giovanni-guidini deleted the gio/fix-session-array branch July 20, 2023 07:32
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