Closed Bug 979229 Opened 11 years ago Closed 11 years ago

[ngreports] Update longest streak counters offline.

Categories

(Mozilla Reps Graveyard :: reps.mozilla.org, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: tasos, Assigned: nemo-yiannis)

Details

(Whiteboard: [kb=1290964] )

There is an edge case, where the longest streak counters may have invalid timestamps. This only happens, when a user saves a report, dated somewhere in the past, outside of the current range of the counters, and this reports happens to form a new longest streak. A celery task, running once per day, recalculating the longest streak for a user, could be a solution for this. This bug doesn't block the release of the continuous reporting system.
Whiteboard: [kb=1290964]
Assignee: nobody → jgiannelos
Commits pushed to master at https://github.com/mozilla/remo https://github.com/mozilla/remo/commit/da0281fa7ec6a81893a91af21f00edbff17a8f82 [Fix bug 979229] Add task to offline calculate longest streaks. https://github.com/mozilla/remo/commit/e2d2edb54bfb4d430f54afe934b8a48dac41377a Merge pull request #659 from johngian/979229-task-streaks [Fix bug 979229] Add task to offline calculate longest streaks.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Version: unspecified → next
Verified on stage. Celery task is working OK and updates the longest streak counters of the users correctly.
Status: RESOLVED → VERIFIED
Version: next → 425
Product: Mozilla Reps → Mozilla Reps Graveyard
You need to log in before you can comment on or make changes to this bug.