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

feat(backup): Send relocation started email #59922

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

azaslavsky
Copy link
Contributor

@azaslavsky azaslavsky commented Nov 14, 2023

Once we have decent confidence that a relocation is not obviously invalid, we send the owner (and creator, if they are different people) an email indicating that their relocation has started.

Screenshot 2023-11-15 at 15 39 35

Screenshot 2023-11-15 at 15 39 43

Issue: getsentry/team-ospo#203

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 14, 2023
@azaslavsky azaslavsky force-pushed the azaslavsky/backup/post-processing branch from fdf9740 to 0430dbe Compare November 14, 2023 23:38
@azaslavsky azaslavsky force-pushed the azaslabsky/backup/relocation-started-email branch from b243739 to bebb04e Compare November 14, 2023 23:39
@@ -53,6 +53,9 @@
<option value="mail/sentry-app-notify-disable/">Sentry App Notify Disable</option>
<option value="mail/join-request/">Join Request</option>
</optgroup>
<optgroup label="Relocation">
<option value="mail/relocation-started/">Relocation Started</option>
Copy link
Member

Choose a reason for hiding this comment

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

should we move Relocate Account here if this is now a new group?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.


{% block main %}
<h3>Relocation Accepted</h3>
<p>Your relocation (id: <i>{{ uuid }}</i>) request has been accepted. You requested that the following organizations be migrating to sentry.io:</p>
Copy link
Member

Choose a reason for hiding this comment

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

It feels a bit weird to have the uuid in parentheses here, would it be better to have that in smaller text underneath the header Relocation Accepted? Not a designer though, so maybe I don't know what I'm talking about

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

I've updated the images attached to the PR to reflect this.

@azaslavsky azaslavsky force-pushed the azaslavsky/backup/post-processing branch from 0430dbe to 69be331 Compare November 15, 2023 23:51
@azaslavsky azaslavsky force-pushed the azaslabsky/backup/relocation-started-email branch from bebb04e to ec317a8 Compare November 15, 2023 23:51
Copy link

codecov bot commented Nov 16, 2023

Codecov Report

Merging #59922 (2145474) into master (9025eb4) will decrease coverage by 0.01%.
Report is 7 commits behind head on master.
The diff coverage is 83.33%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #59922      +/-   ##
==========================================
- Coverage   80.78%   80.78%   -0.01%     
==========================================
  Files        5181     5181              
  Lines      227655   227673      +18     
  Branches    38320    38323       +3     
==========================================
+ Hits       183910   183924      +14     
- Misses      38134    38138       +4     
  Partials     5611     5611              
Files Coverage Δ
src/sentry/web/debug_urls.py 100.00% <ø> (ø)
src/sentry/web/frontend/debug/mail.py 85.75% <66.66%> (-0.18%) ⬇️
src/sentry/tasks/relocation.py 85.67% <86.66%> (+0.04%) ⬆️

... and 9 files with indirect coverage changes

@azaslavsky azaslavsky force-pushed the azaslavsky/backup/post-processing branch 2 times, most recently from 7444b21 to 2e438da Compare November 16, 2023 17:23
Base automatically changed from azaslavsky/backup/post-processing to master November 16, 2023 17:54
Once we have decent confidence that a relocation is not obviously
invalid, we send the owner (and creator, if they are different people)
an email indicating that their relocation has started.

Issue: getsentry/team-ospo#203
@azaslavsky azaslavsky force-pushed the azaslabsky/backup/relocation-started-email branch from ec317a8 to 2145474 Compare November 16, 2023 18:36
@azaslavsky azaslavsky marked this pull request as ready for review November 16, 2023 18:37
@azaslavsky azaslavsky requested a review from a team as a code owner November 16, 2023 18:37
@azaslavsky azaslavsky enabled auto-merge (squash) November 16, 2023 18:37
@azaslavsky azaslavsky merged commit 6079d39 into master Nov 16, 2023
49 of 50 checks passed
@azaslavsky azaslavsky deleted the azaslabsky/backup/relocation-started-email branch November 16, 2023 19:08
@github-actions github-actions bot locked and limited conversation to collaborators Dec 2, 2023
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