Open Bug 2097294 Opened 5 days ago Updated 5 days ago

Review tab group integrity telemetry

Categories

(Firefox :: Session Restore, task)

task

Tracking

()

People

(Reporter: mhynson, Unassigned)

References

Details

(Whiteboard: [fidefe-session-restore])

Bug 2092154 added telemetry that checks session files at startup for broken tab group references: session_restore.tab_group_integrity_checked and session_restore.tab_group_integrity_problems. Its purpose was to get a baseline before session store fixes like 2089797 and 2089794 land, so we can tell whether those fixes change anything.

Bug 2092154 sets the expiration version for these metrics at v190. This bug is a placeholder to revisit whether or not to keep the metrics based on how useful they can continue to be and either retire the metrics or update the expiration value accordingly.

  • Keep and compare: Once the fixes land, compare problem counts before and after. Use the *_check_failed labels to spot malformed session data we didn't expect.
  • Retire: If the data shows the problems are rare, or the fixes already cover them, remove the metrics and the check code. That means the metrics.yaml entries, TabGroupIntegrity.sys.mjs, the hook in SessionStartup.sys.mjs, its tests, and the moz.build line. See the patch from 2092154 for reference on what can be removed.
Whiteboard: [fidefe-session-restore]
You need to log in before you can comment on or make changes to this bug.