Page MenuHomePhabricator

[SW] [T-REF] [TECH] Chore: update tainted reference dependecies
Open, Needs TriagePublic

Description

Tainted Reference is in need for an overhaul of dependencies including upgrading node to v16 (used in CI).

  • some dependencies have already been upgraded here as part of resolving UBN T345660
  • Storybook has been dropped for the time being as too many peer dependencies have been breaking CI. Make sure to resolve those as well
  • you can use fresh-node to run npm ci to make sure it would pass for CI
  • we should add a section in the Tainted Reference README for updating dependencies, similarly to Query Build and Mismatch Finder.
  • in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/955306/ we had to install some additional dependencies for eslint plugins to make the new version of "eslint-config-wikimedia" work. It should be investigated if the rules that need them are actually needed here or if they can be deactivated and the dependencies dropped.

Event Timeline

Change 955306 had a related patch set uploaded (by Michael Große; author: Michael Große):

[mediawiki/extensions/Wikibase@master] Fix tainted references dependency conflicts

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

Change 955314 had a related patch set uploaded (by Michael Große; author: Michael Große):

[mediawiki/extensions/Wikibase@master] Reenable tainted ref installation and tests

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

Change 955302 had a related patch set uploaded (by Michael Große; author: Michael Große):

[mediawiki/extensions/Wikibase@master] Drop Storybook from tainted references

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

Change 955302 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Drop Storybook from tainted references

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

Change 955306 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Fix tainted references dependency conflicts

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

Change 955314 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Reenable tainted ref installation and tests

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

Storybook has been dropped for the time being as too many peer dependencies have been breaking CI. Make sure to resolve those as well

The quality tools team made a decision to disable non-essential dev tools for tainted references to reduce complexity of dependencies. Storybook should therefore not be enabled as long as no active development is taking place on the feature (decision record).

@ItamarWMDE Do we also want to remove the relevant part of the tainted-references README as part of this task?

@noarave I would actually think that instead of removing all evidence of the current development workflows, we should at least document a process to bring them back if need be. What do you think?

@ItamarWMDE you're right, it was already updated by Michael when Storybook was disabled. we can maybe style that paragraph a bit more but other than that it should probably stay as it is.

ItamarWMDE renamed this task from [QT] Chore: update tainted reference dependecies to [T-REF] [TECH] Chore: update tainted reference dependecies.Sep 28 2023, 11:58 AM
ItamarWMDE added a project: wmde-wikidata-tech.

Task Review Notes:

  • This is a result of an incident that occured due to outdated dev dependencies, which made us realize that "Tainted References" was not being routinely updated.

Prio Notes:

  • Does not affect end users / production
  • Does not affect monitoring
  • Does affect development efforts
  • Does not affect onboarding
  • Does affect additional stakeholders (Other LOD teams, outdated dependencies may block Wikibase CI)
ItamarWMDE renamed this task from [T-REF] [TECH] Chore: update tainted reference dependecies to [SW] [T-REF] [TECH] Chore: update tainted reference dependecies.Oct 10 2023, 1:30 PM
ItamarWMDE moved this task from [QT] By Project to [QT] Prioritized on the wmde-wikidata-tech board.

Change 989153 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Michael Große):

[mediawiki/extensions/Wikibase@REL1_40] Drop Storybook from tainted references

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

Change 989203 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Michael Große):

[mediawiki/extensions/Wikibase@REL1_40] Fix tainted references dependency conflicts

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

Change 989203 abandoned by Lucas Werkmeister (WMDE):

[mediawiki/extensions/Wikibase@REL1_40] Fix tainted references dependency conflicts

Reason:

squashed into I34baed7374

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

Change 989153 abandoned by Lucas Werkmeister (WMDE):

[mediawiki/extensions/Wikibase@REL1_40] Drop Storybook from tainted references

Reason:

squashed into I34baed7374

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