Page MenuHomePhabricator

CommunityConfiguration selenium tests fail to run in the REL1_45 branch
Closed, ResolvedPublic

Description

Summary

As evidenced in the MW-1.45-release branch for CheckUser, MediaWiki-extensions-CommunityConfiguration fails to run it's selenium tests for that release

Technical details

Browser tests in 'mediawiki/extensions/CommunityConfiguration'
22:38:59 INFO:quibble.commands:>>> Start: Browser tests in 'mediawiki/extensions/CommunityConfiguration'
22:38:59 npm warn Unknown project config "CYPRESS_CACHE_FOLDER". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
22:39:00 npm error code EUSAGE
22:39:00 npm error
22:39:00 npm error `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
22:39:00 npm error
22:39:00 npm error Missing: fsevents@2.3.3 from lock file
22:39:00 npm error
22:39:00 npm error Clean install a project
22:39:00 npm error
22:39:00 npm error Usage:
22:39:00 npm error npm ci
22:39:00 npm error
22:39:00 npm error Options:
22:39:00 npm error [--install-strategy <hoisted|nested|shallow|linked>] [--legacy-bundling]
22:39:00 npm error [--global-style] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
22:39:00 npm error [--include <prod|dev|optional|peer> [--include <prod|dev|optional|peer> ...]]
22:39:00 npm error [--strict-peer-deps] [--foreground-scripts] [--ignore-scripts]
22:39:00 npm error [--allow-git <all|none|root>] [--no-audit] [--no-bin-links] [--no-fund]
22:39:00 npm error [--dry-run]
22:39:00 npm error [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
22:39:00 npm error [--workspaces] [--include-workspace-root] [--install-links]
22:39:00 npm error
22:39:00 npm error   --install-strategy
22:39:00 npm error     Sets the strategy for installing packages in node_modules.
22:39:00 npm error
22:39:00 npm error   --legacy-bundling
22:39:00 npm error     Instead of hoisting package installs in `node_modules`, install packages
22:39:00 npm error
22:39:00 npm error   --global-style
22:39:00 npm error     Only install direct dependencies in the top level `node_modules`,
22:39:00 npm error
22:39:00 npm error   --omit
22:39:00 npm error     Dependency types to omit from the installation tree on disk.
22:39:00 npm error
22:39:00 npm error   --include
22:39:00 npm error     Option that allows for defining which types of dependencies to install.
22:39:00 npm error
22:39:00 npm error   --strict-peer-deps
22:39:00 npm error     If set to `true`, and `--legacy-peer-deps` is not set, then _any_
22:39:00 npm error
22:39:00 npm error   --foreground-scripts
22:39:00 npm error     Run all build scripts (ie, `preinstall`, `install`, and
22:39:00 npm error
22:39:00 npm error   --ignore-scripts
22:39:00 npm error     If true, npm does not run scripts specified in package.json files.
22:39:00 npm error
22:39:00 npm error   --allow-git
22:39:00 npm error     Limits the ability for npm to fetch dependencies from git references.
22:39:00 npm error
22:39:00 npm error   --audit
22:39:00 npm error     When "true" submit audit reports alongside the current npm command to the
22:39:00 npm error
22:39:00 npm error   --bin-links
22:39:00 npm error     Tells npm to create symlinks (or `.cmd` shims on Windows) for package
22:39:00 npm error
22:39:00 npm error   --fund
22:39:00 npm error     When "true" displays the message at the end of each `npm install`
22:39:00 npm error
22:39:00 npm error   --dry-run
22:39:00 npm error     Indicates that you don't want npm to make any changes and that it should
22:39:00 npm error
22:39:00 npm error   -w|--workspace
22:39:00 npm error     Enable running a command in the context of the configured workspaces of the
22:39:00 npm error
22:39:00 npm error   --workspaces
22:39:00 npm error     Set to true to run the command in the context of **all** configured
22:39:00 npm error
22:39:00 npm error   --include-workspace-root
22:39:00 npm error     Include the workspace root when workspaces are enabled for a command.
22:39:00 npm error
22:39:00 npm error   --install-links
22:39:00 npm error     When set file: protocol dependencies will be packed and installed as
22:39:00 npm error
22:39:00 npm error
22:39:00 npm error aliases: clean-install, ic, install-clean, isntall-clean
22:39:00 npm error
22:39:00 npm error Run "npm help ci" for more info
22:39:00 npm error A complete log of this run can be found in: /cache/npm/_logs/2026-04-21T21_38_59_762Z-debug-0.log

Acceptance criteria

Event Timeline

We'll need to cherry-pick b08442ca476642b0975df8d9c88b5ce98b3eedc3 (or equivalent) to fix this. (Or just never ever ever install Cypress anywhere, of course.)

Jdforrester-WMF changed the task status from Open to In Progress.Tue, Apr 21, 10:33 PM
Jdforrester-WMF claimed this task.

Change #1276067 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/CommunityConfiguration@REL1_45] package-lock.json: Rebuild now we're on Node 24.14.1

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

Change #1276067 merged by jenkins-bot:

[mediawiki/extensions/CommunityConfiguration@REL1_45] package-lock.json: Rebuild now we're on Node 24.14.1

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