[wpt-sync] Sync PR 56843 - feat(automation): Add workflow to vendor and update Test262 tests
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(Not tracked)
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 56843 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/56843
Details from upstream follow.
wpt-pr-bot <wpt-pr-bot@users.noreply.github.com> wrote:
feat(automation): Add workflow to vendor and update Test262 tests
This commit introduces a GitHub Actions workflow to automate the vendoring of the Test262 test suite into
third_party/test262. This automation is the final piece of the integration, ensuring that the tests can be kept up-to-date with the upstreamtc39/test262repository.The workflow is configured to run weekly or can be triggered manually. It performs the following steps:
- Checks out both the WPT and
tc39/test262repositories.- Selectively copies a subset of the Test262 tests into WPT.
- Copies the essential Test262 harness files.
- Creates a
vendored.tomlfile at the root of the vendored directory, recording the specific commit SHA fromtc39/test262that the files were sourced from. This ensures traceability, as described in the RFC.- Commits the updated files and opens a pull request with the changes.
Initially, only a subset of Test262 tests related to Interop 2026 features (
Temporalandtop-level-await) are being imported. This is a temporary measure to manage the volume of new test results and to avoid overloading wpt.fyi, which currently has limitations in processing the full Test262 result set (see wpt-fyi/issues/4681). The workflow can be expanded to include more tests in the future.This work directly supports the integration of Test262 into WPT as detailed in the RFC: https://github.com/web-platform-tests/rfcs/pull/229
This commit is part of a series of smaller PRs split from the larger, original implementation in https://github.com/web-platform-tests/wpt/pull/55997.
Description
•