Page MenuHomePhabricator

Create job to tally elections [M]
Open, MediumPublic5 Estimated Story Points


This should be kicked off at the time someone tries to tally. The job should write the results to the securepoll_properties in JSON format. The UI does not respond to this job at the moment.

Event Timeline

Restricted Application added a subscriber: Aklapper. ยท View Herald TranscriptMar 11 2021, 7:48 PM
STran set the point value for this task to 5.Mar 11 2021, 7:49 PM

Change 673601 had a related patch set uploaded (by Tchanders; owner: Tchanders):
[mediawiki/extensions/SecurePoll@master] WIP Introduce job for tallying large encrypted elections

Change 673601 merged by jenkins-bot:
[mediawiki/extensions/SecurePoll@master] Tally elections via DeferredUpdate to avoid timeout

Tchanders added a subscriber: dom_walden.

Note that we went with a DeferredUpdate in the end, since we've been told admins may want to tally and re-tally, so waiting for a job each time wouldn't be great.

@dom_walden I think the easiest way to test this would be via T277224, but feel free to move back to QA column if you disagree!

Niharika triaged this task as Medium priority.
ARamirez_WMF renamed this task from Create job to tally elections to Create job to tally elections [M].May 26 2021, 4:27 PM
Tchanders added a subscriber: Tchanders.

Change 698629 had a related patch set uploaded (by AGueyte; author: AGueyte):

[mediawiki/extensions/SecurePoll@master] Create job to tally elections