Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: add undici WPTs to daily WPT Report #46763

Closed
wants to merge 2 commits into from

Conversation

panva
Copy link
Member

@panva panva commented Feb 22, 2023

This PR extends the WPT daily report submitted to wpt.fyi with WPTs related to all globals imported from nodejs/undici.

This is done by querying the WPT version included in the nodejs checkout, locally checking out undici repo on that given version, installing its dependencies and executing npm run test:wpt (whilst ignoring its exit code) with a present environment variable that instructs the undici WPTRunner to add results to an existing wpt report file.

If an existing release doesn't have the Undici WPT Report capabilities it will create the report as it did until now, without undici globals WPTs.


It also adds a GITHUB_STEP_SUMMARY to the workflow.

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/actions

@panva
Copy link
Member Author

panva commented Feb 22, 2023

cc @KhafraDev

@nodejs-github-bot nodejs-github-bot added the meta Issues and PRs related to the general management of the project. label Feb 22, 2023
@panva panva added test Issues and PRs related to the tests. fetch Issues and PRs related to the Fetch API labels Feb 22, 2023
@panva panva force-pushed the wpt-report-undici branch from c0072b2 to 2b8c774 Compare February 25, 2023 19:23
@panva panva added the commit-queue-rebase Add this label to allow the Commit Queue to land a PR in several commits. label Feb 25, 2023
@panva panva force-pushed the wpt-report-undici branch from 2b8c774 to 00b73b7 Compare February 25, 2023 19:24
@panva panva marked this pull request as ready for review February 25, 2023 19:31
@panva panva added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Feb 25, 2023
@panva panva requested a review from aduh95 February 26, 2023 19:22
@panva panva force-pushed the wpt-report-undici branch from 00b73b7 to 7efbe0a Compare February 26, 2023 19:22
Copy link
Contributor

@aduh95 aduh95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand everything this PR is doing, but overall it LGTM.

@panva
Copy link
Member Author

panva commented Feb 27, 2023

cc @nodejs/actions

@panva panva force-pushed the wpt-report-undici branch from 7efbe0a to 3190142 Compare February 27, 2023 09:26
@anonrig anonrig added the commit-queue Add this label to land a pull request using GitHub Actions. label Feb 27, 2023
@panva panva added blocked PRs that are blocked by other issues or PRs. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Feb 27, 2023
@panva
Copy link
Member Author

panva commented Feb 27, 2023

blocked waiting for undici's next release to be in nightly, otherwise ready for review

@panva panva added commit-queue Add this label to land a pull request using GitHub Actions. and removed blocked PRs that are blocked by other issues or PRs. labels Mar 13, 2023
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Mar 13, 2023
@nodejs-github-bot
Copy link
Collaborator

Landed in f6e4e12...f41d507

nodejs-github-bot pushed a commit that referenced this pull request Mar 13, 2023
PR-URL: #46763
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
nodejs-github-bot pushed a commit that referenced this pull request Mar 13, 2023
PR-URL: #46763
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
@panva panva deleted the wpt-report-undici branch March 13, 2023 22:01
targos pushed a commit that referenced this pull request Mar 14, 2023
PR-URL: #46763
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
targos pushed a commit that referenced this pull request Mar 14, 2023
PR-URL: #46763
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
@danielleadams danielleadams added the dont-land-on-v18.x PRs that should not land on the v18.x-staging branch and should not be released in v18.x. label Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue-rebase Add this label to allow the Commit Queue to land a PR in several commits. dont-land-on-v18.x PRs that should not land on the v18.x-staging branch and should not be released in v18.x. fetch Issues and PRs related to the Fetch API meta Issues and PRs related to the general management of the project. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants