Closed
Bug 1647864
Opened 5 years ago
Closed 5 years ago
Please deploy Private Relay v0.8.7 to prod and invite 5k from the monitor waitlist
Categories
(Cloud Services :: Operations: Firefox Private Relay, task)
Cloud Services
Operations: Firefox Private Relay
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: groovecoder, Assigned: bobm)
References
Details
Please deploy the v0.8.7 tag of the fx-private-relay repo to:
https://relay.firefox.com/
Code changelog:
https://github.com/mozilla/fx-private-relay/compare/v0.8.6..v0.8.7
| Reporter | ||
Updated•5 years ago
|
Summary: Please deploy Private Relay v0.8.7 to prod → Please deploy Private Relay v0.8.7 to prod and invite 5k from the monitor waitlist
| Reporter | ||
Comment 1•5 years ago
|
||
To invite 5k users from the Monitor waitlist ...
- In the Monitor DB, check the number of Monitor subscribers on the wait-list for relay:
SELECT COUNT(id) as waitlists_joined FROM subscribers WHERE waitlists_joined @> '{"email_relay":{"notified": false}}';- Should be ~55k
- Also check the number of Monitor subscribers already notified:
SELECT COUNT(id) as waitlists_joined FROM subscribers WHERE waitlists_joined @> '{"email_relay":{"notified": true}}';- Should be 0
- On Relay, set
MONITOR_DATABASE_URLenv var to the Monitor production DB url - On Relay, set
MAX_ACTIVE_ACCOUNTSenv var to7000 - On a Relay node, run a small batch of Monitor invites to spot-check the functionality:
python manage.py invite_monitor_waitlist 10- Should output like:
Creating invitation for bum@mailinator.com
Sending invite email to bum@mailinator.com
Creating invitation for chewiebugboo@mailinator.com
Sending invite email to chewiebugboo@mailinator.com
...
Sent 10 invitations.
- In the Monitor DB, re-check the number of Monitor subscribers already notified:
SELECT COUNT(id) as waitlists_joined FROM subscribers WHERE waitlists_joined @> '{"email_relay":{"notified": true}}';- Should now be 10
- In the Relay DB, check that invitations were created:
select count(*) from privaterelay_invitations;- Should be 10
- If the above looks good, do another batch, this time of 100:
python manage.py invite_monitor_waitlist 100 - (optional) repeat steps 6-8 and check the numbers are now 110
- Repeat until we've invited a total of 5k.
| Assignee | ||
Comment 2•5 years ago
|
||
Production deployment complete. Please verify before we start sending invites.
Flags: needinfo?(lcrouch)
| Reporter | ||
Comment 3•5 years ago
|
||
Prod spot-check looks good. I was able to create a reddit.com account with a prod relay address. Ready to move on to first invites.
Flags: needinfo?(lcrouch) → needinfo?(bobm)
| Assignee | ||
Comment 4•5 years ago
|
||
- In the Monitor DB, check the number of Monitor subscribers on the wait-list for relay:
SELECT COUNT(id) as waitlists_joined FROM subscribers WHERE waitlists_joined @> '{"email_relay":{"notified": false}}';
- Should be ~55k
=> SELECT COUNT(id) as waitlists_joined FROM subscribers WHERE waitlists_joined @> '{"email_relay":{"notified": false}}';
waitlists_joined
------------------
55703
(1 row)
- Also check the number of Monitor subscribers already notified:
SELECT COUNT(id) as waitlists_joined FROM subscribers WHERE waitlists_joined @> '{"email_relay":{"notified": true}}';
- Should be 0
=> SELECT COUNT(id) as waitlists_joined FROM subscribers WHERE waitlists_joined @> '{"email_relay":{"notified": true}}';
waitlists_joined
------------------
0
(1 row)
- On Relay, set
MONITOR_DATABASE_URLenv var to the Monitor production DB url- On Relay, set
MAX_ACTIVE_ACCOUNTSenv var to7000- On a Relay node, run a small batch of Monitor invites to spot-check the functionality:
python manage.py invite_monitor_waitlist 10
Sent 10 invitations.
- In the Monitor DB, re-check the number of Monitor subscribers already notified:
SELECT COUNT(id) as waitlists_joined FROM subscribers WHERE waitlists_joined @> '{"email_relay":{"notified": true}}';
- Should now be 10
=> SELECT COUNT(id) as waitlists_joined FROM subscribers WHERE waitlists_joined @> '{"email_relay":{"notified": true}}';
waitlists_joined
------------------
10
(1 row)
- In the Relay DB, check that invitations were created:
select count(*) from privaterelay_invitations;
- Should be 10
=> select count(*) from privaterelay_invitations;
count
-------
865
(1 row)
Flags: needinfo?(bobm)
| Assignee | ||
Comment 5•5 years ago
|
||
5k Invites sent. Created PR 2254 to address MAX_ACCOUNTS_ACTIVE being set to 1400.
| Assignee | ||
Comment 6•5 years ago
|
||
These invites were complete. Closing this bug.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•