Page MenuHomePhabricator

Generate Edit Attempt test data
Closed, ResolvedPublic

Description

I want to create test data in test.wiki to QA the mediawiki_edit_attempt table. @phuedx will help with the following

  • add me to the data-qa group again; and
  • update the stream config to request performer_groups and mediawiki_is_debug_mode

Event Timeline

Change 852838 had a related patch set uploaded (by Phuedx; author: Phuedx):

[operations/mediawiki-config@master] Update Metrics Platform streams

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

@Mayakp.wiki: What's your username on wikitechwiki?

add me to the data-qa group again…

On second thoughts, @Mayakp.wiki, since the instrument captures the ID of the current user (by requesting the performer_id context attribute be mixed into events submitted to the stream), could you search for events that you've created by limiting rows to performer.id = ${id_of_mayakpwiki}?

… FYI https://gerrit.wikimedia.org/r/852838 is scheduled to be deployed in a few hours anyway, which should resolve the

update the stream config to request performer_groups and mediawiki_is_debug_mode

requirement.

On second thoughts, @Mayakp.wiki, since the instrument captures the ID of the current user (by requesting the performer_id context attribute be mixed into events submitted to the stream), could you search for events that you've created by limiting rows to performer.id = ${id_of_mayakpwiki}?

ah good point! How do I get my user_id in testwiki? the wmf.mediawiki_user_history table didnt help :(

Run mw.user.getId() in your browser's console 😄

haha! thanks! I should think like an engineer sometimes!
also got it from the user table in mariadb before I saw your comment. :)

Change 852838 merged by jenkins-bot:

[operations/mediawiki-config@master] Update Metrics Platform streams

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

Mentioned in SAL (#wikimedia-operations) [2022-11-09T08:24:52Z] <kartik@deploy1002> Started scap: Backport for [[gerrit:852838|Update Metrics Platform streams (T322277)]]

Mentioned in SAL (#wikimedia-operations) [2022-11-09T08:25:12Z] <kartik@deploy1002> kartik and phuedx: Backport for [[gerrit:852838|Update Metrics Platform streams (T322277)]] synced to the testservers: mwdebug1001.eqiad.wmnet, mwdebug2002.codfw.wmnet, mwdebug1002.eqiad.wmnet, mwdebug2001.codfw.wmnet

Mentioned in SAL (#wikimedia-operations) [2022-11-09T08:33:09Z] <kartik@deploy1002> Finished scap: Backport for [[gerrit:852838|Update Metrics Platform streams (T322277)]] (duration: 08m 17s)