Skip to content

[DevOps] Merged HTML test report of a fork PR includes runner files named in its blob reports #43702

Closed

Description

Version

main (1.65.0-next)

Steps to reproduce

  1. 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.file outside the checkout, for example an absolute path on the runner.
  2. When tests 1 completes, the "Publish Test Results" workflow (.github/workflows/create_test_report.yml) downloads the blob reports, runs merge-reports with the html reporter (.github/workflows/merge.config.ts), and uploads playwright-report/index.html as 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.

Activity

  1. dacillojames543-source commented on Oct 28, 2026

    @dacillojames543-source

  2. dacillojames543-source commented on Oct 28, 2026

    @dacillojames543-source

    Araco piso wifi

  3. dacillojames543-source commented on Oct 28, 2026

    @dacillojames543-source

    10.0.0.1

  4. dacillojames543-source commented on Oct 28, 2026

    @dacillojames543-source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions