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

ref(sdk-crashes): Make allowlist nonoptional #63817

Merged
merged 3 commits into from
Jan 25, 2024

Conversation

philipphofmann
Copy link
Member

The allowlist option for RN can't be None, as it is defined as a sequence, see GH actions. Therefore, we change it to nonoptional. When the list is empty, all organizations are allowed. You can use the sample rate instead to turn off the detection for an SDK.

The allowlist option for RN can't be None, as it is defined as a
sequence. Therefore, we change it to nonoptional. When the list is
empty, all organizations are allowed. You can use the sample rate
instead to turn off the detection for an SDK.
@philipphofmann philipphofmann requested a review from a team January 25, 2024 08:19
@philipphofmann philipphofmann self-assigned this Jan 25, 2024
@philipphofmann philipphofmann added the Scope: Backend Automatically applied to PRs that change backend components label Jan 25, 2024
@philipphofmann philipphofmann requested a review from a team as a code owner January 25, 2024 08:42
Copy link

codecov bot commented Jan 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (58c2ce2) 81.39% compared to head (cc05d29) 81.40%.
Report is 2 commits behind head on master.

❗ Current head cc05d29 differs from pull request most recent head 0cd2d07. Consider uploading reports for the commit 0cd2d07 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #63817   +/-   ##
=======================================
  Coverage   81.39%   81.40%           
=======================================
  Files        5224     5224           
  Lines      232185   232185           
  Branches    40190    40190           
=======================================
+ Hits       188996   189001    +5     
+ Misses      37349    37347    -2     
+ Partials     5840     5837    -3     
Files Coverage Δ
...rc/sentry/utils/sdk_crashes/sdk_crash_detection.py 92.00% <ø> (ø)
...ry/utils/sdk_crashes/sdk_crash_detection_config.py 100.00% <100.00%> (ø)

... and 4 files with indirect coverage changes

@philipphofmann philipphofmann merged commit e371f57 into master Jan 25, 2024
49 checks passed
@philipphofmann philipphofmann deleted the ref/sdk-crash-all-allowlist-nonoptional branch January 25, 2024 09:05
snigdhas pushed a commit that referenced this pull request Jan 26, 2024
The allowlist option for RN can't be None, as it is defined as a
sequence, [see GH
actions](https://github.com/getsentry/sentry-options-automator/actions/runs/7651413445/job/20849155404?pr=626).
Therefore, we change it to nonoptional. When the list is empty, all
organizations are allowed. You can use the sample rate instead to turn
off the detection for an SDK.
@github-actions github-actions bot locked and limited conversation to collaborators Feb 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants