Page MenuHomePhabricator

Create SecurePoll voter list for 2025 board vote
Closed, ResolvedPublic

Description

We need to create tables to generate the voter list for the BoT 2025 vote. Once the patch is merged we will run the script closer to the vote itself (just in case additional wikis are created). See the similar task, for example, T368569.

I understand this is discouraged behaviour now (see T355594: For global elections, stop creating eligible voters table for each election on every wiki and keeping them forever) but I'm not sure if we have the time to experiment with new solutions ahead of this particular vote.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change #1166944 had a related patch set uploaded (by Foks; author: Foks):

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

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

Change #1166944 merged by jenkins-bot:

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

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

In case relevant here, noting T400831 (table securepoll_votes doesn't exist), although T395928: Delete non-essential SecurePoll tables is maybe a more likely culprit.

In case relevant here, noting T400831 (table securepoll_votes doesn't exist), although T395928: Delete non-essential SecurePoll tables is maybe a more likely culprit.

For the record I started running the scripts yesterday around 22:00 UTC. Running currently are ...

section=s1
mwscript-k8s --comment=T398900 --dblist=$section --follow --file=/srv/mediawiki-staging/php-1.45.0-wmf.12/extensions/SecurePoll/maintenance/wm-scripts/bv2025/bv2025PopulateEditCount.php --file=/srv/mediawiki-staging/php-1.45.0-wmf.12/extensions/SecurePoll/maintenance/wm-scripts/PopulateEditCount.php -- /data/bv2025PopulateEditCount.php

for sections s1 through s8.

Hm, actually it seems that most of them have suddenly stopped working. The only one still running is for s1. Not sure what might have caused that. They're all in screens on deploy1003.

Edit: I restarted the script for s8 and it pretty immediately closed out with 0 users added, so that possibly tells me that the script actually silently succeeded. I'll run on that assumption since we have a month until the vote, plenty of time to run these again if they did fail.

Created with around 87,000 users.

Hm, actually it seems that most of them have suddenly stopped working. The only one still running is for s1. Not sure what might have caused that. They're all in screens on deploy1003.

Edit: I restarted the script for s8 and it pretty immediately closed out with 0 users added, so that possibly tells me that the script actually silently succeeded. I'll run on that assumption since we have a month until the vote, plenty of time to run these again if they did fail.

For this I filed T400962, not actually a bug but my own misunderstanding of how k8s works. :)