mirror: Blazing fast w3c Trace Contexts for any JS runtime
0

Configure Feed

Select the types of activity you want to include in your feed.

chore: path for rust comformance tests

Marais Rossouw (Jun 17, 2026, 2:06 PM +1000) a311104e 4503c819

+36 -31
+1 -1
.github/workflows/ci.yml
··· 40 40 enable-cache: true 41 41 42 42 - name: w3c validation test 43 - run: ./validation/test.sh 43 + run: ./validation/javascript.sh 44 44 45 45 dryrun: 46 46 needs: [health, validation]
+13
validation/javascript.sh
··· 1 + #!/usr/bin/env bash 2 + 3 + set -euo pipefail 4 + 5 + pushd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 6 + 7 + deno run --allow-net test_server.ts & 8 + deno_pid=$! 9 + trap 'kill "$deno_pid" 2>/dev/null || true' EXIT 10 + 11 + until nc -z localhost 8000; do echo "Waiting for server to open port..."; sleep 1; done; 12 + 13 + ./w3c.sh
-30
validation/test.sh
··· 1 - #!/usr/bin/env bash 2 - 3 - set -euo pipefail 4 - 5 - uv --version 6 - 7 - pushd $(dirname $0) > /dev/null 8 - 9 - deno run --allow-net test_server.ts & 10 - deno_pid=$! 11 - trap "kill $deno_pid" EXIT 12 - 13 - until nc -z localhost 8000; do echo "Waiting for server to open port..."; sleep 1; done; 14 - 15 - export STRICT_LEVEL=2 16 - export SPEC_LEVEL=2 17 - 18 - uv run --no-project --script - http://localhost:8000/test <<'PY' || exit 1 19 - # /// script 20 - # dependencies = [ 21 - # "aiohttp>=3.14.1" 22 - # ] 23 - # /// 24 - import asyncio, runpy, sys 25 - 26 - sys.path.insert(0, "w3c/test") 27 - sys.argv = ["w3c/test/test.py", *sys.argv[1:]] 28 - asyncio.set_event_loop(asyncio.new_event_loop()) 29 - runpy.run_path("w3c/test/test.py", run_name="__main__") 30 - PY
+22
validation/w3c.sh
··· 1 + #!/usr/bin/env bash 2 + 3 + set -euo pipefail 4 + 5 + pushd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 6 + 7 + export STRICT_LEVEL=2 8 + export SPEC_LEVEL=2 9 + 10 + uv run --no-project --script - http://localhost:8000/test <<'PY' || exit 1 11 + # /// script 12 + # dependencies = [ 13 + # "aiohttp>=3.14.1" 14 + # ] 15 + # /// 16 + import asyncio, runpy, sys 17 + 18 + sys.path.insert(0, "w3c/test") 19 + sys.argv = ["w3c/test/test.py", *sys.argv[1:]] 20 + asyncio.set_event_loop(asyncio.new_event_loop()) 21 + runpy.run_path("w3c/test/test.py", run_name="__main__") 22 + PY