Closed Bug 690597 Opened 13 years ago Closed 11 years ago

Process perf results when they are returned to us

Categories

(addons.mozilla.org Graveyard :: Developer Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: clouserw, Unassigned)

References

Details

Currently a developer can click "start performance tests" from https://addons-dev.allizom.org/en-US/developers/addon/status-watch/versions/ and it just spins.

Kumar says the request is made and the payload is returned and logged.  This bug is about instead of just logging it we should:

- Store it in the db in the perf_results table
- Update the add-on's average perf (this is in the `addons` table, forgot what it was called)
- Flush any caches if they need it.  This is probably automatic anyway.
- Change the UI from the above link so it says something about succeeding or failing
The values are now stored in the perf_results table (thanks to it using our API now instead of direct access).  This bug is now about modifying that API to do the last 3 bullet points above.

It turns out it can take a while for test results to come back so just putting a message on the page that says tests are queued is good enough for me - no need for a spinner+polling unless you want to.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.