Xqt added a comment.

  In T403292#11133687 <https://phabricator.wikimedia.org/T403292#11133687>, 
@Nikerabbit wrote:
  
  > My first question is why are your CI tests making network requests? This is 
probably collateral damage from AI crawler blockers and needs info what to 
whitelist.
  
  Pywikibot tests include live wiki tests on several wikis, mostly on the 
Wikimedia cluster. While some tests could be replaced with dry tests, live 
tests are valuable for catching issues due to upstream changes or connectivity 
problems, so we prefer not to give them up entirely.
  
  At the moment, only two tests involve translatewiki.net (TWN), and both have 
been failing for about a week on GitHub CI, which shares an IP range with 
Azure. This seems similar to T399367 
<https://phabricator.wikimedia.org/T399367>, although those blockades have not 
affected Pywikibot tests for several weeks.
  
  Currently, Pywikibot runs on TWN without a test account and only as an IP. 
Would it help to log in first, or could setting the user-agent provide a 
workaround? Any guidance on what could be whitelisted would be appreciated.

TASK DETAIL
  https://phabricator.wikimedia.org/T403292

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to