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

fix(rules): Fix environment fetch #73665

Merged
merged 5 commits into from
Jul 3, 2024
Merged

fix(rules): Fix environment fetch #73665

merged 5 commits into from
Jul 3, 2024

Conversation

ceorourke
Copy link
Member

@ceorourke ceorourke commented Jul 2, 2024

Copy/paste bug where the .get() was on the wrong variable for the environment and was always returning None so if an environment was present on the rule and then was removed, it wouldn't be added to the confirmation notification. See https://github.com/getsentry/sentry/pull/66847/files#r1662799957

@ceorourke ceorourke requested a review from a team July 2, 2024 17:49
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jul 2, 2024
Copy link
Member

@asottile-sentry asottile-sentry left a comment

Choose a reason for hiding this comment

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

Copy link

codecov bot commented Jul 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.07%. Comparing base (e3b555d) to head (b26fff3).
Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #73665       +/-   ##
===========================================
- Coverage   88.21%   78.07%   -10.15%     
===========================================
  Files        2928     6652     +3724     
  Lines      182133   297331   +115198     
  Branches    32473    51166    +18693     
===========================================
+ Hits       160677   232151    +71474     
- Misses      15519    58870    +43351     
- Partials     5937     6310      +373     
Files Coverage Δ
src/sentry/rules/actions/utils.py 83.63% <100.00%> (+10.00%) ⬆️

... and 3729 files with indirect coverage changes

Copy link
Contributor

@saponifi3d saponifi3d left a comment

Choose a reason for hiding this comment

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

:shipit:

@ceorourke ceorourke merged commit 1db1f0f into master Jul 3, 2024
50 checks passed
@ceorourke ceorourke deleted the ceorourke/fix-env-fetch branch July 3, 2024 16:32
@github-actions github-actions bot locked and limited conversation to collaborators Jul 19, 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.

3 participants