wpt-update
Skill8.8k starsChanged 9 months agoApache-2.0View on GitHub
Updates and triages the Web Platform Tests dependency in workerd. Use when asked to bump, update, or triage WPT.
Trending
Quiet since August.thin dataabout the whole repository
Who's talking about cloudflare/workerd
- A Hacker News story“OS Workerd, Cloudflare's JavaScript/WASM Runtime”Hacker News · Sep 27, 2022 · 27 points
- withastro/astro“Cloudflare adapter returning [object Object]”GitHub · Oct 10, 2025 · 18 reactions
- supabase/supabase-js“The 'cache' field on 'RequestInitializerDict' is not implemented - Cloudflare Workers”GitHub · Mar 28, 2024 · 16 reactions
- nodejs/node“src: improve buffer.transcode performance”GitHub · Aug 1, 2024 · 13 reactions
- NixOS/nixpkgs“Package request: workerd”GitHub · Nov 12, 2024 · 12 reactions
The biggest 5 of 12 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 12
Talked about on GitHub, Bluesky and Hacker News (12 times).
On GitHub · 6
- Oct 10, 2025Cloudflare adapter returning [object Object] — withastro/astro18 reactions · 15 comments
- Mar 28, 2024The 'cache' field on 'RequestInitializerDict' is not implemented - Cloudflare Workers — supabase/supabase-js16 reactions · 24 comments
- Aug 1, 2024src: improve buffer.transcode performance — nodejs/node13 reactions · 26 comments
- Nov 12, 2024Package request: workerd — NixOS/nixpkgs12 reactions · 8 comments
- Feb 19, 2024Add Curve25519 — w3c/webcrypto9 reactions · 16 comments
1 more on GitHub
- Nov 3, 2025Optimize TextEncoder::encode — nodejs/performance7 reactions · 33 comments
On Bluesky · 4
- Mar 24, 2026workerd : le runtime JavaScript/Wasm open source de Cloudflare Workers — @news.humancoders.com4 likes and reposts
- Aug 22, 2026Current status: trying to build github.com/cloudflare/w... on various sandbox providers — @jeremymorrell.dev1 likes and repost
- Mar 24, 2026workerd : le runtime JavaScript/Wasm qui propulse Cloudflare Workers est maintenant open source. Basé sur les standards web, il permet… — @humancoders.com1 likes and repost
- Nov 5, 2024Technically workers are open source github.com/cloudflare/w... — @userops.bsky.social1 likes and repost
On Hacker News · 2
- Sep 27, 2022OS Workerd, Cloudflare's JavaScript/WASM Runtime27 points · 2 comments
- Oct 5, 2023Cloudflare workers is adopting Ada URL parser2 points
In this repository61 other files it gives its agents.
- AGENTS.mdAGENTS.md
- build/AGENTS.mdAGENTS.md
- src/cloudflare/AGENTS.mdAGENTS.md
- src/node/AGENTS.mdAGENTS.md
- src/per_isolate/AGENTS.mdAGENTS.md
- src/per_isolate/crypto/AGENTS.mdAGENTS.md
- src/per_isolate/webfs/AGENTS.mdAGENTS.md
- src/per_isolate/webstreams/AGENTS.mdAGENTS.md
- src/pyodide/AGENTS.mdAGENTS.md
- src/rust/AGENTS.mdAGENTS.md
- src/rust/cxx/AGENTS.mdAGENTS.md
- src/tests/node/AGENTS.mdAGENTS.md
- src/tests/node/http-client/AGENTS.mdAGENTS.md
- src/tests/node/http-server/AGENTS.mdAGENTS.md
- src/tests/node/net/AGENTS.mdAGENTS.md
- src/tests/node/stream/AGENTS.mdAGENTS.md
- src/tests/streams/AGENTS.mdAGENTS.md
- src/tests/streams/cache/AGENTS.mdAGENTS.md
- src/tests/streams/compression/AGENTS.mdAGENTS.md
- src/tests/streams/digest/AGENTS.mdAGENTS.md
- src/tests/streams/encoding/AGENTS.mdAGENTS.md
- src/tests/streams/formdata/AGENTS.mdAGENTS.md
- src/tests/streams/htmlrewriter/AGENTS.mdAGENTS.md
- src/tests/streams/identity/AGENTS.mdAGENTS.md
- src/tests/streams/inspect/AGENTS.mdAGENTS.md
- src/tests/streams/iocontext/AGENTS.mdAGENTS.md
- src/tests/streams/piping/AGENTS.mdAGENTS.md
- src/tests/streams/r2-patterns/AGENTS.mdAGENTS.md
- src/tests/streams/readable/AGENTS.mdAGENTS.md
- src/tests/streams/readable-byte/AGENTS.mdAGENTS.md
- src/tests/streams/scaling/AGENTS.mdAGENTS.md
- src/tests/streams/sockets/AGENTS.mdAGENTS.md
- src/tests/streams/strategies/AGENTS.mdAGENTS.md
- src/tests/streams/transform/AGENTS.mdAGENTS.md
- src/tests/streams/writable/AGENTS.mdAGENTS.md
- src/workerd/api/AGENTS.mdAGENTS.md
- src/workerd/api/crypto/AGENTS.mdAGENTS.md
- src/workerd/api/node/AGENTS.mdAGENTS.md
- src/workerd/api/streams/AGENTS.mdAGENTS.md
- src/workerd/io/AGENTS.mdAGENTS.md
- src/workerd/jsg/AGENTS.mdAGENTS.md
- src/workerd/server/AGENTS.mdAGENTS.md
- src/workerd/util/AGENTS.mdAGENTS.md
- types/AGENTS.mdAGENTS.md
- bazel-test-hygieneSkill
- commit-categoriesSkill
- dad-jokesSkill
- find-and-run-testsSkill
- identify-reviewerSkill
- investigation-notesSkill
- kj-styleSkill
- markdown-draftsSkill
- parent-project-skillsSkill
- pr-review-guideSkill
- receiving-code-reviewSkill
- rust-reviewSkill
- ts-styleSkill
- update-v8Skill
- wd-test-formatSkill
- workerd-api-reviewSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. About 0 are common, 14 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈14
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 24
If correct triage requires runtime, harness, build-rule, patch, or upstream changes, report the required follow-up but don't make changes …
- Very specific: line 49
Verify that the new tag appears consistently in freeze_version, strip_prefix, and the archive URL, and that a new SHA-256 was generated.
- Distinctive: line 54
If it fails, do not continue with inconsistent files.
- Distinctive: line 61
If the updater reports that WPT is current, stop for a bump-only request.
- Distinctive: line 72
Use pinned SHAs for all upstream research.
- Very specific: line 105
Use an affected suite target while iterating.
- Very specific: line 122
Do not use test-case filter arguments.
- Distinctive: line 126
Search logs first for these messages instead of reading them in full:
- Distinctive: line 149
Check for renames or moves before treating files as additions and deletions.
- Distinctive: line 151
Remove config keys for deleted suites.
- Distinctive: line 152
Add each new suite as a sorted blank entry so its behavior can be observed:
- Very specific: line 165
After every config edit, run the aggregate //src/wpt:wpt-all@tsproject@eslint target with the repository prefix required by the checkout.
- Distinctive: line 173
Check whether removed and added names represent a renamed subtest.
- Very specific: line 174
When an expected failure now passes, determine whether workerd improved or upstream renamed, removed, or weakened the test before removing …
- Distinctive: line 186
Read the exact subtest failure and stack.
- Distinctive: line 194
Do not classify an uncertain result merely to make the target pass.
- Very specific: line 223
Every classification requires a comment describing the current technical reason.
- Very specific: line 236
Remove temporary only settings.
- Distinctive: line 240
Run the complete WPT target set using the applicable checkout command.
- Distinctive: line 244
Do not treat an interrupted or partially analyzed invocation as success.
- Very specific: line 245
Run formatting and whitespace checks from the workerd root:
- Distinctive: line 276
Keep the generated dependency bump and WPT triage in separate commits.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
WPT Update
Context
WPT (Web Platform Tests) is an open-source test suite for assessing runtime
conformance with Web standards. workerd keeps configuration under src/wpt
because some tests are not applicable or cover behavior workerd does not yet
implement.
A request to bump or update WPT includes both the dependency update and triage unless the user explicitly requests a bump-only change.
Scope
Allowed edits are dependency metadata produced by the updater and WPT config
files under src/wpt. Do not fix runtime conformance bugs during a WPT update.
If correct triage requires runtime, harness, build-rule, patch, or upstream
changes, report the required follow-up but don't make changes unless the user
expands the scope.
Preflight
- Determine whether workerd is standalone or a submodule and read all
applicable
AGENTS.mdfiles. - Inspect the worktree and preserve unrelated changes.
- Load
ts-stylebefore editing TypeScript config files.
Bumping WPT
From the workerd root, run:
./build/deps/update_wpt.pyThe updater selects the newest published wpt-* release from
cloudflare/workerd-tools. A normal update changes only:
build/deps/shared_deps.jsoncbuild/deps/gen/shared_deps.MODULE.bazel
Verify that the new tag appears consistently in freeze_version,
strip_prefix, and the archive URL, and that a new SHA-256 was generated. Do
not hand-edit generated dependency output.
The updater writes the manifest before downloading and regenerating metadata. If it fails, do not continue with inconsistent files. Resolve the failure, rerun the updater, and verify both files.
The generic dependency updater may mention an unrelated available release
because workerd-tools contains several tools. Determine success from the
selected WPT tag and resulting diff.
If the updater reports that WPT is current, stop for a bump-only request. Keep the dependency changes separate from triage changes. If commits were explicitly requested, commit the dependency update before moving on. Otherwise, continue without committing.
Triaging a WPT update
For a triage-only request, first verify that a pin change exists relative to
the agreed base. Read the old and new wpt-<sha> values from the dependency
diff. The suffix identifies the corresponding upstream WPT commit.
Use pinned SHAs for all upstream research. Do not inspect files from upstream
main. GitHub's compare API truncates large WPT updates, so use the complete
diff when necessary:
https://github.com/web-platform-tests/wpt/compare/<old-sha>...<new-sha>.diffFilter upstream changes to the WPT directories mapped by
src/wpt/BUILD.bazel. For an individual failure, inspect the changed file,
its commits, the associated pull request, and any linked specification change.
Running WPT
The commands below show the correct repository labels. Add all flags required by the active test-hygiene instructions.
For standalone workerd, run from the workerd root:
bazel test //src/wpt/... --test_size_filters=For a submodule checkout, run from the parent repository root:
bazel test @workerd//src/wpt/... --test_size_filters=Clearing test_size_filters ensures that enormous WPT targets are included.
The complete pattern runs default and all-autogates variants plus ESLint and
TypeScript checks.
Use an affected suite target while iterating. Include the required @ suffix.
For standalone workerd:
bazel test //src/wpt:<suite>@ \
--test_size_filters= \
--test_output=errorsFor a submodule checkout:
bazel test @workerd//src/wpt:<suite>@ \
--test_size_filters= \
--test_output=errorsDo not use test-case filter arguments. Resolve the log root with
bazel info bazel-testlogs or use the path printed by Bazel. Parent-repository
logs are nested beneath the external workerd repository.
Search logs first for these messages instead of reading them in full:
Missing test configuration
unexpectedly failed
unexpectedly succeeded
Please update the test config
Test file ... not foundHandling test suite-level changes
A suite is a discovered WPT JavaScript file. Its config key is the exact,
case-sensitive path relative to the wpt_directory declared in
src/wpt/BUILD.bazel.
Discovery excludes non-JavaScript files and JavaScript files whose paths
contain .tentative. or /tentative/.
Config keys MUST remain in ascending order as enforced by ESLint's sort-keys
rule. Compare the complete raw key: punctuation affects ordering, so - sorts
before .. Do not place a new key based only on visual grouping.
- Check for renames or moves before treating files as additions and deletions. Transfer existing configuration across genuine renames.
- Remove config keys for deleted suites.
- Add each new suite as a sorted blank entry so its behavior can be observed:
'path/to/example.any.js': {},Discovery includes JavaScript helper files unless their immediate parent is
resources. Helpers outside those directories may need explicit omitted
configuration even when they register no tests.
Re-run the complete WPT set after reconciling suite keys. Repeat until there are no missing or stale configuration errors.
After every config edit, run the aggregate
//src/wpt:wpt-all@tsproject@eslint target with the repository prefix required
by the checkout. Do not rely only on suite-specific ESLint targets.
Handling test changes
A subtest is an individual named test() or promise_test() within a suite.
- Check whether removed and added names represent a renamed subtest.
- When an expected failure now passes, determine whether workerd improved or upstream renamed, removed, or weakened the test before removing the expectation.
- Investigate every new or newly failing subtest before classifying it.
Re-run affected suites while iterating, then rerun the complete WPT set until there are no unexpected failures or successes.
Analyzing failing tests
For each unexpected result:
- Read the exact subtest failure and stack.
- Inspect the upstream file at the new pinned SHA.
- Identify the commit and specification change that introduced it.
- Inspect the relevant workerd implementation or dependency.
- Decide whether the test is relevant, unsafe to run, or inapplicable.
- Record the current cause and any out-of-scope fix direction.
- Compare default and all-autogates behavior before using one shared entry.
Do not classify an uncertain result merely to make the target pass. Runtime fixes are out of scope; explain the likely fix in the report instead.
META and load failures
META scripts and top-level code execute before subtests are registered. An
expectedFailures entry cannot classify a missing resource or evaluation
error at this stage. Partial disabledTests or omittedTests arrays cannot
avoid it either.
Whole-file disabledTests: true and omittedTests: true skip evaluation
before META imports. Use either only when its classification is independently
correct. Do not omit a relevant suite merely because harness support is
missing.
Classifications
expectedFailures: relevant subtests execute but currently fail assertions because workerd is non-conformant.disabledTests: relevant tests cannot run reliably or safely, such as hangs, crashes, state corruption, or harness limitations.omittedTests: tests are not applicable to workerd and are excluded from coverage.
Each property accepts true for a whole suite or an array of exact strings and
regular expressions. Prefer exact subtest names. Use a regex only when it is
narrow, anchored where practical, and checked against every intended name. Do
not use broad regexes or whole-suite true merely to make a target pass.
Every classification requires a comment describing the current technical
reason. Source comments must describe current behavior, not the investigation
or history that produced the entry. Commit messages and reports may include
the additional evidence and history.
The harness reports unmatched expectedFailures, but a regex can still hide
partially stale cases. It does not report stale disabled or omitted array
entries. Audit those manually against renamed and removed upstream subtests.
Verification
Before completion:
- Remove temporary
onlysettings. - Confirm there are no missing or stale suite keys.
- Confirm there are no unexpected failures or successes.
- Manually audit changed disabled and omitted selectors.
- Run the complete WPT target set using the applicable checkout command.
- Require Bazel to report
Build completed successfully. - Confirm the final
Executed N out of N tests: N tests passsummary covers every selected target. - Do not treat an interrupted or partially analyzed invocation as success.
- Run formatting and whitespace checks from the workerd root:
python3 tools/cross/format.py --check git
git diff --checkContinuous improvement
Re-read the SKILL.md file. If there are any details that weren't clear or that you had to look up separately, edit the file to include them. Information that concerns how the WPT test framework works within workerd is valuable, but refrain from adding info about specific situations you encountered during a WPT update, as this is transient and not likely to be relevant to future WPT updates.
Final report
Report:
- The old and new WPT tags and pinned upstream comparison URL.
- Added, removed, and renamed suites.
- Expectations added or removed.
- Each classification and its durable technical reason.
- Relevant upstream and workerd source locations.
- Proposed out-of-scope fixes and unresolved items.
- Exact validation commands and final executed counts.
- Final Git state.
Git handoff
Keep the generated dependency bump and WPT triage in separate commits.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

