Page MenuHomePhabricator

Pin all packages to exact versions
Closed, ResolvedPublic2 Estimated Story Points

Description

After dealing with some annoying side-effects as part of T340590 (including a minor SVGO patch update that leads to hundreds of new SVG files getting built as part of npm run test due to a small change in compression approach), I think we should adopt a strict versioning policy in regard to dependencies.

We should lock all packages that Codex depends on to exact versions, and periodically go in and update them (perhaps once per quarter).

In a perfect world this would not be necessary, but too much of the Node ecosystem sees semver as a polite suggestion as opposed to a mandate – we don't want to inflict these changes on our own users without clearly understanding each one.

Event Timeline

Catrope renamed this task from Pin all packges to exact versions to Pin all packages to exact versions.Dec 2 2023, 1:01 AM
AnneT triaged this task as Low priority.Jan 8 2024, 6:55 PM
AnneT set the point value for this task to 2.

Change 990150 had a related patch set uploaded (by VolkerE; author: VolkerE):

[design/codex@main] build: Pin dependencies to exact versions

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

Change 990150 merged by jenkins-bot:

[design/codex@main] build: Pin dependencies to exact versions

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

Change 992533 had a related patch set uploaded (by Eric Gardner; author: Eric Gardner):

[mediawiki/core@master] Update Codex from v1.2.1 to v1.3.0

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

Change 992533 merged by jenkins-bot:

[mediawiki/core@master] Update Codex from v1.2.1 to v1.3.0

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