Skip to content

Conversation

@deer-wmde
Copy link
Contributor

  • a suggestion to skip mw job enqueueing if wikis are set to readOnly
  • currently it seems unclear if MW jobs already skip readOnly wikis

related to https://phabricator.wikimedia.org/T412202

@deer-wmde
Copy link
Contributor Author

deer-wmde commented Dec 10, 2025

I did some digging into https://github.com/wbstack/mediawiki code and glanced over search results of ->push( $job (mind the whitespace) - and it may be fiiine ? i.e. most jobs seem to get scheduled after actions that aren't possible during read-only mode

@outdooracorn
Copy link
Member

Thanks for looking into this, Dena!

Closing as per decision in https://phabricator.wikimedia.org/T412195#11507411

I'm tempted to leave it for now, given that:

  • we no longer have any mediawiki-139 pods
  • this type of error will likely only happen again if a future update removes tables that are read by the API and while the Wikis are being updated
  • it doesn't cause any issues, just some extra log spam

Can reopen, in the future, if needed.

@outdooracorn outdooracorn deleted the de/jobsReadOnly branch January 9, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants