400 errors from client_perf API

Start date

Due date

Description

After the computer wakes up from sleep, calls to the client_perf API return a 400 error with a detailed_error of report is outdated: timestamp. The reason for this is that most browsers don’t keep the monotonic clock (performance.now()) ticking when the computer is asleep. See for more information.

To fix this, we can either find a way to have the timestamp code to compensate for that drift or we could possibly disable the check for out-of-date reports since we don’t actually use the report timestamp outside of that currently

QA Test Steps

No testing required. No testing required.

Activity

Show:

Harrison Healey July 18, 2024 at 3:33 PM

Reopening this because I found a case where I missed this fix

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

QA Assignee

Reporter

Sprint

Labels

Checklist

Created June 17, 2024 at 2:34 PM
Updated July 25, 2024 at 3:30 PM
Resolved July 22, 2024 at 6:43 PM