As a part of the parent task the following JobRunner features has been deprecated:
- No-argument constructor.
- JobRunner::setLogger and the fact JobRunner implements LoggerAwareInterface.
These should be cleaned up in 1.36
As a part of the parent task the following JobRunner features has been deprecated:
These should be cleaned up in 1.36
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
jobqueue: Remove JobRunner::setLogger and make constructor internal | mediawiki/core | master | +25 -44 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | • Pchelolo | T157088 [EPIC] Develop a JobQueue backend based on EventBus | |||
Open | daniel | T175146 JobQueue: Unify JobRunner entry points | |||
Resolved | • Clarakosi | T244826 Create rest endpoint for executing jobs instead of /rpc/RunSingleJob | |||
Resolved | • Pchelolo | T246156 Convert JobRunner into a service class | |||
Resolved | Umherirrender | T246369 JobRunner - clean up deprecations |
Removing inactive assignee (Platform Engineering: Please unassign tasks of previous team members.)
Already hard-deprecated - https://gerrit.wikimedia.org/r/c/mediawiki/core/+/793840
No usage of the constructor - https://codesearch.wmcloud.org/search/?q=%5Cbnew%5Cs%2B%5C%5C%3FJobRunner%5Cb&i=nope&files=&excludeFiles=&repos=
the setLogger was directly hard deprecated, finding usage with codesearch is not easy.
Would say it is possible to require the arguments and adding @internal to the constructor
Change 869838 had a related patch set uploaded (by Umherirrender; author: Umherirrender):
[mediawiki/core@master] jobqueue: Remove JobRunner::setLogger and make constructor internal
Change 869838 merged by jenkins-bot:
[mediawiki/core@master] jobqueue: Remove JobRunner::setLogger and make constructor internal