Playwright container fails `devEngines` check again because its image does not pin Node.js
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- docker, nodejs, playwright, typescript
Línea de trabajo
The Node.js version comes from the Playwright base image used in docker/playwright/Dockerfile, and CI pins its own version in .github/workflows/playwright.yml. Start by comparing the node version the playwright service reports with the devEngines.runtime range, then decide how to pin it, since the issue lists three options and the choice is open. Done means npm run test:playwright-ct:all passes inside the playwright service on a Node version allowed by devEngines.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
Running component tests locally in the devcontainer fails before any test starts:
$ npm run test:playwright-ct:all
npm error code EBADDEVENGINES
npm error EBADDEVENGINES Invalid devEngines.runtime
npm error EBADDEVENGINES Invalid semver version "^22.23.0 || ^24.17.0" does not match "v26.13.0" for "runtime"
This also blocks npm run test:playwright-ct:all-with-update and the checks
in the /commit skill. The tests themselves pass when started without npm.
Cause
Same root cause as #738, which was closed by aligning versions rather than by
pinning Node.js in the playwright service.
| Source | Node.js |
|---|---|
devEngines.runtime |
^22.23.0 || ^24.17.0 |
node service (node:24.22.1) |
v24.22.1 |
playwright service (playwright:v1.64.1) |
v26.13.0 |
CI (actions/setup-node) |
24.17 |
docker/playwright/Dockerfile takes Node.js from the Playwright image, which
has deb.nodesource.com/node_26.x configured.
Not explained yet: utils/docker/Dockerfile.noble at the Playwright v1.64.1
tag still has ARG NODE_VERSION=24, and the node binary in the image is dated
2026-10-28, after the update to this image on 2026-10-26. The tag may have been
republished, so the Node.js version can change without any change in this
repository. v1.64.1 and v1.64.1-noble currently resolve to the same digest,
so switching to -noble would not help.
Why CI passes
.github/workflows/playwright.yml runs actions/setup-node, which puts
Node.js 24.17 ahead of the image's Node.js. The local playwright service has
no such step. CI also still uses playwright:v1.63.0-noble, while
@playwright/test is on ~1.64.1.
Steps to reproduce
docker compose up -d --builddocker compose exec -T devcontainer npm run test:playwright-ct:all
Expected behavior
Component tests run locally in the playwright service, on a Node.js version
allowed by devEngines, however the upstream image changes.
Possible solutions
- Install pinned Node.js and npm in
docker/playwright/Dockerfile, e.g. copy
them from thenodeimage in a multi-stage build, as proposed in #738. - Keep Node.js and npm versions in one place so that the services and workflows
cannot drift apart. - Add
^26todevEngines.runtime. This is the smallest change, but it allows
Node.js 26 for all development and the problem returns with the next upstream
change.
- Lenguaje dominante
- TypeScript
- Estrellas
- 23
- Forks
- 10
- Merge medio
- 5 d 12 h
- PR fusionados (30 d)
- 9
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de react-ui-org/react-ui
-
maintenance
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
react-ui-org/react-ui#784 ·
Los mantenedores suelen responder en 1 día
-
accessibility bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
react-ui-org/react-ui#775 ·
Los mantenedores suelen responder en 1 día
-
Update ESLint to version 10Abiertomaintenance
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
react-ui-org/react-ui#753 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Supported versionsAbiertomaintenance
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
react-ui-org/react-ui#780 ·
Los mantenedores suelen responder en 1 día
-
feature
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
react-ui-org/react-ui#778 ·
Los mantenedores suelen responder en 1 día
Todos los issues de react-ui-org/react-ui
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
riverqueue/river#1576 ·
Los mantenedores suelen responder en 1 día
-
[bug] A prompt queued during a run is assessed without its textPosiblemente ocupada @jwiegley la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
DevMortimer/pi-warden#211 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
mattermost/compass-design#191 ·
Los mantenedores suelen responder en 1 día
-
Add unit tests for the organization admin role checkPosiblemente ocupada @SaffuSafwan la tomó hoy. Abiertoarea/core good first issue help wanted
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
elmohq/elmo#1095 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
HorusGoul/trizum#559 · 1 comentario ·
Los mantenedores suelen responder en 1 día