P3: visual:reference does not reproduce committed reference-canvas.png on the pinned Chromium
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 62/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, nodejs, playwright
Línea de trabajo
Start with packages/editor-2.5d-react/scripts/make-reference-canvas.mjs, which decodes reference.jpg through the browser and writes tests/snapshots/reference-canvas.png. Compare its output with the committed snapshot to confirm the byte difference the issue describes. Choose between decoding in Node with a pinned decoder or guarding the overwrite behind --force and documenting it. Done means rerunning the script on the pinned Playwright build no longer changes the committed file, or the guard blocks the overwrite and the docs say so.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Found while reviewing #84 (pre-existing: main's script does the same).
pnpm visual:reference on the pinned Playwright build (chromium-1217) writes a reference-canvas.png that differs from the committed one. 46,763 channel bytes differ, by up to 36/255. The committed file was decoded from reference.jpg by chromium-1193, and the JPEG decode changed between those builds. The gate compares against the committed PNG, so the ratchet itself is unaffected. But anyone who reruns the script silently changes the reference, and every recorded score with it.
Where: packages/editor-2.5d-react/scripts/make-reference-canvas.mjs and tests/snapshots/reference-canvas.png.
Fix (pick one):
- Decode the JPEG in Node, with a pinned decoder such as
jpeg-js, so the output doesn't depend on the browser. - Or make the script refuse to overwrite the committed file unless
--forceis passed, and document that regenerating it means re-recording every platform.
🤖 Generated with Claude Code
- Lenguaje dominante
- TypeScript
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 12 h 24 min
- PR fusionados (30 d)
- 46
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la 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 hyperdrive-technology/holodeck
-
area:ci review-finding
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
hyperdrive-technology/holodeck#261 ·
Los mantenedores suelen responder en 1 día
-
review-finding
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
hyperdrive-technology/holodeck#259 ·
Los mantenedores suelen responder en 1 día
-
area:holodeck review-finding
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
hyperdrive-technology/holodeck#256 ·
Los mantenedores suelen responder en 1 día
-
area:holodeck review-finding
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
hyperdrive-technology/holodeck#254 ·
Los mantenedores suelen responder en 1 día
-
area:holodeck bug review-finding
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
hyperdrive-technology/holodeck#252 ·
Los mantenedores suelen responder en 1 día
Todos los issues de hyperdrive-technology/holodeck
Issues similares
-
needs-area-label
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 2 días
-
Website: the hero tip's video play() has no catch, so a refused play is an unhandled rejectionAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
liberation-data/drivine#615 ·
Los mantenedores suelen responder en 1 día
-
backend bug ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
geolens-io/geolens#3639 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
radius-project/ai-extensions#1196 ·
Los mantenedores suelen responder en 1 día
-
good first issue
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100