WMDE-leszek added a comment.

  Right, this basically brings us back to the discussion that was happening in 
T199446 <https://phabricator.wikimedia.org/T199446> and in the related patch 
experiments done by some WMDE engineers.
  To take the recent failure (T220229 
<https://phabricator.wikimedia.org/T220229>) as an example, here's what I 
believe happens:
  
  1. Edit is made with the API (namely, new lexeme is created)
  2. Once done, Special:RecentChanges is opened
  3. Driver is apparently too fast, as the just made edit has not made it to 
Recent Changes yet.
  
  I see no real way to get around this, as, for valid reasons, Recent changes 
are populated asynchronously, hence it always be possible, that the recent 
changes page will be opened before the job updating recent changes has added 
data from recent edits.
  Rather dumb approach I could think of would be to have test wait some 
arbitrary amount of time between making an edit, and opening the special page, 
but this does not seem like a sustainable approach. Things could get too slow 
and this is difficult to predict. Also, adding a "sleep" to all tests dealing 
with recent changes etc would likely make the duration of the test suite run 
even longer, while it does quite a significant amount of time already. I'd see 
this as a (rather annoying) hack that hopefully works for some time, but not 
really a solution.
  
  We could also ignore testing integration of our tools with Recent Changes, 
but as Recent Changes is the critical part of wikis, and integral part of 
editor work flows, ignoring those parts of the system from automated testing 
seems wrong, to put mildly.
  
  Any ideas how to deal with this?

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

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

To: WMDE-leszek
Cc: Jakob_WMDE, Aklapper, TerraCodes, hashar, Nikerabbit, greg, KartikMistry, 
WMDE-leszek, Pablo-WMDE, Liuxinyu970226, Krinkle, alaa_wmde, Nandana, 
Mringgaard, Lahi, Gq86, GoranSMilovanovic, chapulina, QZanden, LawExplorer, 
_jensen, rosalieper, Nizil, Jonas, Ixocactus, Wikidata-bugs, aude, Amire80, 
Lydia_Pintscher, Jsahleen, Darkdadaah, Arrbee, santhosh, Jdforrester-WMF, 
Mbch331, Jay8g, Krenair
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to