Skip to content

Commit 4f2a3cc

Browse files
committed
refactor(wpt): move streams submodule under test/fixtures/wpt/
Co-locates the sparse WPT submodule with its harness.mjs + run-file.mjs fixtures under packages/node-smol-builder/test/fixtures/wpt/. Old path under scripts/vendor-fast-webstreams/ was misleading once the runner became a test fixture — wpt belongs under test/. Updates .gitmodules path, .gitignore comment block, .config/lockstep.json submodule pointer. .git/modules dir moved + the worktree .git pointer file updated so git submodule status still reports the gitlink cleanly.
1 parent 81911fc commit 4f2a3cc

4 files changed

Lines changed: 7 additions & 9 deletions

File tree

.config/lockstep.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"repo": "https://github.com/Mbed-TLS/mbedtls"
3737
},
3838
"wpt": {
39-
"submodule": "packages/node-smol-builder/scripts/vendor-fast-webstreams/wpt/streams",
39+
"submodule": "packages/node-smol-builder/test/fixtures/wpt/streams",
4040
"repo": "https://github.com/web-platform-tests/wpt"
4141
},
4242
"liburing": {

.gitignore

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,11 @@ packages/node-smol-builder/additions/source-patched/include/temporal_rs/
6262
# Vendored npm packages (sync-time generated from node_modules).
6363
packages/node-smol-builder/additions/source-patched/deps/fast-webstreams/
6464

65-
# WPT streams tests — managed as a sparse-checkout submodule
66-
# (scripts/git-partial-submodule.mts reads sparse-checkout = streams/
67-
# from .gitmodules). The streams/ working tree is tracked through the
68-
# submodule machinery, not ignored. The .wpt-tmp/ scratch dir is still
69-
# ignored because the legacy rsync flow may write transient state
70-
# there during validate.mts runs.
71-
packages/node-smol-builder/scripts/vendor-fast-webstreams/wpt/.wpt-tmp/
65+
# WPT streams tests — managed as a sparse-checkout submodule at
66+
# packages/node-smol-builder/test/fixtures/wpt/streams.
67+
# scripts/git-partial-submodule.mts reads sparse-checkout = streams/
68+
# from .gitmodules. The streams/ working tree is tracked through the
69+
# submodule machinery, not ignored.
7270
packages/node-smol-builder/additions/source-patched/deps/lzfse/src/
7371
packages/node-smol-builder/additions/source-patched/deps/libdeflate/*
7472
!packages/node-smol-builder/additions/source-patched/deps/libdeflate/libdeflate.gyp

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
shallow = true
4949
# wpt-epochs/three_hourly/2026-02-24_21H
5050
[submodule "packages/node-smol-builder/scripts/vendor-fast-webstreams/wpt/streams"]
51-
path = packages/node-smol-builder/scripts/vendor-fast-webstreams/wpt/streams
51+
path = packages/node-smol-builder/test/fixtures/wpt/streams
5252
url = https://github.com/web-platform-tests/wpt.git
5353
ignore = dirty
5454
shallow = true

packages/node-smol-builder/scripts/vendor-fast-webstreams/wpt/streams renamed to packages/node-smol-builder/test/fixtures/wpt/streams

0 commit comments

Comments
 (0)