[DevOps] Merged HTML test report of a fork PR includes runner files named in its blob reports
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Estancado
- Stack tecnológico
- github-actions, playwright, typescript
Línea de trabajo
Read .github/workflows/create_test_report.yml and .github/workflows/merge.config.ts to trace how fork PR blob reports reach the HTML reporter, then inspect packages/playwright/src/reporters/html.ts, especially createSnippets and createErrorCodeframe. Reproduce with blob data whose location.file points outside the extracted blob folder. Done means the merged HTML report includes only blob report data and does not read runner files; linked PR #43693 is already open.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Version
main (1.65.0-next)
Steps to reproduce
- In a pull request from a fork, make the test run upload a blob report in which a test step or an error has a
location.fileoutside the checkout, for example an absolute path on the runner. - When
tests 1completes, the "Publish Test Results" workflow (.github/workflows/create_test_report.yml) downloads the blob reports, runsmerge-reportswith the html reporter (.github/workflows/merge.config.ts), and uploadsplaywright-report/index.htmlas an artifact.
Expected behavior
The published report contains only data from the blob reports.
Actual behavior
While it builds the report, the html reporter reads files on the runner at the locations from the blob: createSnippets for step locations and createErrorCodeframe for error locations (packages/playwright/src/reporters/html.ts). The text of those files goes into the uploaded report. A fork PR controls its blob reports, so it chooses which runner files are read.
Attachment paths are not affected: merge limits them to the extracted blob folder. The markdown report reads no files.
- Lenguaje dominante
- TypeScript
- Estrellas
- 98.5k
- Forks
- 6.7k
- Merge medio
- 15 h 42 min
- PR fusionados (30 d)
- 313
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 microsoft/playwright
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
microsoft/playwright#43762 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
[Feature]: Node 26 Docker ImagesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
microsoft/playwright#43759 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
microsoft/playwright#43741 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
[Bug]: Uncaught TypeError in captureSecurityDetails when APIRequestContext reuses a destroyed keep-alive socketPosiblemente ocupada @microsoft-playwright-automation la tomó hace 1 día. Abiertoneeds-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
microsoft/playwright#43728 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
[Feature]: Set `this.name` in `TargetClosedError` constructorQuizá libre de nuevo @LeonxLJX la tomó hace 56 días y no hay ningún pull request abierto. AbiertoP3-collecting-feedback
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
microsoft/playwright#42522 · 7 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de microsoft/playwright
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
CopilotKit/openmuse#215 ·
Los mantenedores suelen responder en 3 días
-
b:minor bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
software-mansion/argent#1698 ·
Los mantenedores suelen responder en 1 día
-
e2e-failure ready-to-code
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
redhat-developer/rhdh-plugin-export-overlays#4624 · 1 comentario ·
Los mantenedores suelen responder en 1 día