Page MenuHomePhabricator

Improve task backlog checks
Closed, ResolvedPublic4 Estimated Story Points

Description

There is currently a module which attempts to check a project's open task backlog within Phabricator. We should attempt to improve this code in the following ways:

  1. Ensure we have as good a map of code respositories to Phab projects as possible, currently contained within phab_projects.txt
  2. Determine a minimal means of evaluating "high risk", open tasks - that is: tasks with higher priorities, security tags, older creation dates, etc.

Details

TitleReferenceAuthorSource BranchDest Branch
Task Backlog Improvementsrepos/security/wikimedia-code-health-check!35mstylesimprove-task-backlogmain
Task Backlog Improvementsrepos/security/wikimedia-code-health-check!33mstylesimprove-task-backlogmain
Customize query in GitLab

Event Timeline

  1. Ensure we have as good a map of code respositories to Phab projects as possible, currently contained within phab_projects.txt

How does phab_projects.txt get created and regularly updated?

Asking as T190891: Develop canonical/single record of origin, machine readable list of all repos deployed to WMF sites is a bit related though about repos (and having isolated places with lists to be manually updated doesn't sound desirable).
The API at https://phabricator.wikimedia.org/conduit/method/project.search/ offers searching for a certain custom.custom:repository value.

How does phab_projects.txt get created and regularly updated?

It was a list that @Jdlrobson had put together, possibly mostly manually? I'm not certain they wrote some scripts or whatever to help out with the compilation, though that would be good to know.

It was made by appending mediawiki-skin- or mediawiki-extensions- to the names of each skin/extension. I did this because this works 80% of the time and was cheap. Most Phabricator projects have those tags/skins and for consistency we should probably add when missing as it's confusing. For example I never know what to tag Wikidata tickets with given there is currently no #mediawiki-extensions-Wikidata.

Mstyles set the point value for this task to 4.
Mstyles moved this task from In Progress to Completed on the production-risk-assessment board.

Task backlog has been improved so closing this task