Page MenuHomePhabricator

Create SecurePoll voter list for 2022 board vote
Closed, ResolvedPublic

Description

There is a community vote scheduled for August 15 - 29 in the 2022 Wikimedia Foundation Board Elections: https://meta.wikimedia.org/wiki/Wikimedia_Foundation_elections/2022

We would like to have an eligible editors voter list generated and populated into SecurePoll. The 2021 task for this is here: T288025

According to the 2021 documentation, the script to pre-compute the eligibility lists will take about 2 days to run: https://wikitech.wikimedia.org/wiki/SecurePoll#Voter_eligibility

I expect the editors' voter eligibility to be similar to the previous round. I will update when the date ranges are defined.

Note: A separate task exists for voters who qualify as developers: T309754: Create list of developers eligible to vote on the 2022 board vote

Thanks in advance!

Event Timeline

jrbs moved this task from Backlog to Board elections on the Elections board.

The only part of this I am not comfortable doing myself is the creation of the bv_2022 tables on production. This has been done by Tech staff in the past but as an ad-hoc thing. I'd be happy to learn since it's basically "just" a patch and a script

jrbs changed the task status from Open to Stalled.Jun 30 2022, 10:44 PM

This will be stalled at least until the eligibility window opens in a week or so

jrbs changed the task status from Stalled to Open.EditedJul 11 2022, 9:30 PM

I'm looking into this right now. The instructions on Wikitech say:

Copy and adapt bv2021/populateEditCount.php

I was researching how we might do this but the description from T288025: Create SecurePoll voter list for 2021 board vote says it was already backported and deployed when the task was filed. I'm pretty sure this will require a patch of some kind. I'd love to be able to put this together myself but I haven't the first idea how to do that.

Perhaps @tstarling might have some idea as the person who did this last year? Ideally we'd have this in a state where anyone can do it and not have to rope in a very busy engineer to do it for us.

Change 813346 had a related patch set uploaded (by Foks; author: Joe Sutherland):

[mediawiki/extensions/SecurePoll@master] SecurePoll: Adding files for 2022 vote

https://gerrit.wikimedia.org/r/813346

I was researching how we might do this but the description from T288025: Create SecurePoll voter list for 2021 board vote says it was already backported and deployed when the task was filed. I'm pretty sure this will require a patch of some kind. I'd love to be able to put this together myself but I haven't the first idea how to do that.

Clearly I figured it out. ;)

Change 813346 merged by jenkins-bot:

[mediawiki/extensions/SecurePoll@master] SecurePoll: Adding files for 2022 vote

https://gerrit.wikimedia.org/r/813346

Change 814346 had a related patch set uploaded (by Zabe; author: Zabe):

[mediawiki/extensions/SecurePoll@master] populateEditCount: Call waitForReplication() every 500 users

https://gerrit.wikimedia.org/r/814346

Other than Zabe's patch above, I believe this is now merged on production.

@Zabe, would you prefer we wait until this is merged as well before running these scripts? We are on a bit of a time pressure to get this piece of the election setup completed but nothing too major.

Change 814346 merged by jenkins-bot:

[mediawiki/extensions/SecurePoll@master] populateEditCount: Call waitForReplication() every 500 users

https://gerrit.wikimedia.org/r/814346

Change 815411 had a related patch set uploaded (by PleaseStand; author: Joe Sutherland):

[mediawiki/extensions/SecurePoll@wmf/1.39.0-wmf.19] SecurePoll: Adding files for 2022 vote

https://gerrit.wikimedia.org/r/815411

Change 815412 had a related patch set uploaded (by PleaseStand; author: Zabe):

[mediawiki/extensions/SecurePoll@wmf/1.39.0-wmf.19] populateEditCount: Call waitForReplication() every 500 users

https://gerrit.wikimedia.org/r/815412

Change 815413 had a related patch set uploaded (by PleaseStand; author: Zabe):

[mediawiki/extensions/SecurePoll@wmf/1.39.0-wmf.21] populateEditCount: Call waitForReplication() every 500 users

https://gerrit.wikimedia.org/r/815413

Change 815411 merged by jenkins-bot:

[mediawiki/extensions/SecurePoll@wmf/1.39.0-wmf.19] SecurePoll: Adding files for 2022 vote

https://gerrit.wikimedia.org/r/815411

Change 815412 merged by jenkins-bot:

[mediawiki/extensions/SecurePoll@wmf/1.39.0-wmf.19] populateEditCount: Call waitForReplication() every 500 users

https://gerrit.wikimedia.org/r/815412

Change 815413 merged by jenkins-bot:

[mediawiki/extensions/SecurePoll@wmf/1.39.0-wmf.21] populateEditCount: Call waitForReplication() every 500 users

https://gerrit.wikimedia.org/r/815413

Mentioned in SAL (#wikimedia-operations) [2022-07-20T07:26:58Z] <taavi@deploy1002> Synchronized php-1.39.0-wmf.19/extensions/SecurePoll/cli/wm-scripts/bv2022/: T309753 backports (duration: 02m 57s)

Mentioned in SAL (#wikimedia-operations) [2022-07-20T07:30:40Z] <taavi@deploy1002> Synchronized php-1.39.0-wmf.21/extensions/SecurePoll/cli/wm-scripts/bv2022/populateEditCount.php: T309753 backports (duration: 02m 54s)

Other than Zabe's patch above, I believe this is now merged on production.

@Zabe, would you prefer we wait until this is merged as well before running these scripts? We are on a bit of a time pressure to get this piece of the election setup completed but nothing too major.

PleaseStand has taken care of getting the patch deployed, so there are no concerns from me.

Other than Zabe's patch above, I believe this is now merged on production.

@Zabe, would you prefer we wait until this is merged as well before running these scripts? We are on a bit of a time pressure to get this piece of the election setup completed but nothing too major.

PleaseStand has taken care of getting the patch deployed, so there are no concerns from me.

Probably wait a day though before running populateEditCount.php on s7 wikis? T313383: Switchover s7 master db1181 -> db1136

Thanks everyone!

Probably wait a day though before running populateEditCount.php on s7 wikis? T313383: Switchover s7 master db1181 -> db1136

This works. I'll probably run them all at the same time once this happens.

This is now done - 66,378 eligible voters on this list, now added to SecurePoll.