As a developer investigating termbox problems, I want to be able to track which termbox SSR requests belong to which MediaWiki request.
Problem:
Currently, we (campsite crew) assume this is not possible beyond matching timestamps.
Example:
This came up during the discussion of T255436: Termbox Error Logging Should Differentiate between RemoteRenderer and Service timeouts..
Acceptance criteria:
- From the logstash perspective, termbox-logged errors have a reqId field matching the original MediaWiki request ID.
Hints
- README of the termbox code https://github.com/wikimedia/wikibase-termbox#wikibase-termbox (You'll need to install and run termbox using these instructions)
- This code is included as a submodule of Wikibase.git for non SSR cases too
- It is possible to run the termbox SSR locally for testing and examining the log output of the service locally
Open questions:
- This probably means passing the WebRequest::getRequestId() to the SSR service, and then something in the service runner? Talk to WMF service-ops people about this.