Closed Bug 1668273 Opened 5 years ago Closed 5 years ago

Check volumes and integrity of "first-shutdown" pings after bug 1667798

Categories

(Toolkit :: Telemetry, task, P1)

task

Tracking

()

RESOLVED FIXED

People

(Reporter: chutten, Assigned: chutten)

References

Details

We're deliberately reducing the frequency and changing the expected values within "first-shutdown" pings in bug 1667798 (to try and correct them). This bug is about following-up with some analysis to check that it's all okay. Things to check:

  • Proportion of "first-shutdown" pings coming from not-first sessions should drop to essentially 0%
  • Proportion of "first-shutdown" pings coming from first sessions should remain unchanged.

Rerun this after we get some more data and before Oct 14 or so (so we can back it out before it hits beta): https://sql.telemetry.mozilla.org/queries/75313/source#188071

Preliminary results of the Oct 2 builds show that the number of "first-shutdown" pings sent from non-first sessions is much reduced... but still very present.

It occurs to me that the solution doesn't stop someone whose profile is "first according to the pref" from maintaining that it's still the first profile so log as sessionstore-window-restored isn't triggered. (Since the value of false (ie, that the first session has been detected and future sessions aren't the first) isn't recorded except in that observer).

If this is the case we should see that proportion rise when new populations come awake (on Monday) but decline over time as those mistaken profiles gradually stay awake long enough to hit sessionstore-windows-restored. Once is all it would take. We should be able to see this over the course of this week, and if so I think we can just leave the code as written.

If the numbers don't go down, then we might have to look into dispatching an idle task to record the false value to the pref. An idle task is probably the best perf-conscious method of ensuring the code'll run before shutdown.

Assignee: nobody → chutten
Severity: -- → N/A
Status: NEW → ASSIGNED
Priority: -- → P1

The fix is verified by the data to remove most but not all erroneously-sent "first-shutdown" pings, leaving the volume of correct "first-shutdown" pings intact. It is safe to continue riding the trains, and we might consider closing the last hole of it as described in Comment 2 if, in the long run, the volumes of the erroneous "first-shutdown" pings don't diminish as expected.

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.