clone

a personal forge on plain git: static pages, stacked-diff reviews, signed local ci, repo sites and releases

code-search-range reads its results without node's warnings

cat committed c344381
On node 26 sqlite-wasm's look at localStorage makes node print an ExperimentalWarning on stderr, which the scenario's log takes as its first line, so the check that the first result is many/zz.txt:1 failed though the search was right. The scenario's code-search-bench runs pass --no-warnings.
commit
c3443814e355e88b193b53919496daa1c04ac2fc
parent
1cf16ec9e3d1aadfa35eac01e002be9be0871943
author
cat <admin@dev.site>
ci
✓ passed in 114s, signed by cat
kind
test risk score 0.4 of 3, Jev's estimate
ci attestation
forge-attestation 1
type ci
commit c3443814e355e88b193b53919496daa1c04ac2fc
tree 9dc6f3ddf1fc01195ed96bc9ea7bf284f872ea1e
script .forge/ci 3dbc91920fbe9105a57a13da4f17861aa3500f04
result pass
exit 0
started 2026-11-04T03:23:18Z
duration 114s
runner (not shown here; refs/notes/ci has it)
system Darwin 27.2.0 arm64
env host
log sha256:dde3c47af03d0ad8f71d56858d455cd1a7808b71c9a9a01a2278801a563c07ba 327 lines
|pushed wip/i18n
|62f80ad running .forge/ci: greet.sh: say what it is
|  | sh: /bin/sh
|  | ok   greet
|62f80ad pass in 0s, signed
|pushed main
|remote: review #4: /dami/greet/reviews/4/
|pushed wip/i18n
|4a93f92 running .forge/ci: wave at the world
|  | sh: /bin/sh
|  | FAIL greet : got 'hello, world o/', want 'hello, world'
|4a93f92 fail in 0s, signed
|forge: 1 commit(s) did not pass
|remote: review #6: /dami/greet/reviews/6/
|pushed ana/wave
|e3c00b8 running .forge/ci: update the test for the wave
|  | sh: /bin/sh
|  | ok   greet
|e3c00b8 pass in 0s, signed
|remote: review #6: /dami/greet/reviews/6/
|pushed ana/wave
|warning: You appear to have cloned an empty repository.
|site home: deployed 7c8df67 -> /sites/ana/dotfiles/home/
|created ana/notes
|remote: review #1: /ana/notes/reviews/1/
|pushed ana/todo
|landing #1 A todo list: ana/todo -> main
|c039121 running .forge/ci: web, server and Python versions of greet
|  | sh: /bin/sh
|  | ok   greet
|c039121 pass in 0s, signed
|pushed main
|e34eeb8 running .forge/ci: messages: notes for the later regions
|  | sh: /bin/sh
|  | ok   greet
|e34eeb8 pass in 0s, signed
|remote: review #7: /dami/greet/reviews/7/
|pushed dami/regions
|created dami/forge
|warning: You appear to have cloned an empty repository.
|site guide: mkdir -p guide/fonts && cp site/assets/fonts/*.woff2 guide/fonts/
|site guide: deployed f1b0874 -> /sites/dami/forge/guide/
|(node:85114) ExperimentalWarning: stripTypeScriptTypes is an experimental feature and might change at any time
|(Use `node --trace-warnings ...` to show where the warning was created)
|built ana/dotfiles in 1s -> /var/folders/b4/mv8w4c8j0zj0_mldppxdbdw00000gn/T/forge-ci.mTd3rN/wt/demo/root/.forge/www
|(node:85288) ExperimentalWarning: stripTypeScriptTypes is an experimental feature and might change at any time
|(Use `node --trace-warnings ...` to show where the warning was created)
|built ana/notes in 0s -> /var/folders/b4/mv8w4c8j0zj0_mldppxdbdw00000gn/T/forge-ci.mTd3rN/wt/demo/root/.forge/www
|(node:85474) ExperimentalWarning: stripTypeScriptTypes is an experimental feature and might change at any time
|(Use `node --trace-warnings ...` to show where the warning was created)
|built dami/forge in 1s -> /var/folders/b4/mv8w4c8j0zj0_mldppxdbdw00000gn/T/forge-ci.mTd3rN/wt/demo/root/.forge/www
|(node:85653) ExperimentalWarning: stripTypeScriptTypes is an experimental feature and might change at any time
|(Use `node --trace-warnings ...` to show where the warning was created)
|built dami/greet in 1s -> /var/folders/b4/mv8w4c8j0zj0_mldppxdbdw00000gn/T/forge-ci.mTd3rN/wt/demo/root/.forge/www
|(node:86370) ExperimentalWarning: stripTypeScriptTypes is an experimental feature and might change at any time
|(Use `node --trace-warnings ...` to show where the warning was created)
|built - in 1s -> /var/folders/b4/mv8w4c8j0zj0_mldppxdbdw00000gn/T/forge-ci.mTd3rN/wt/demo/root/.forge/www
|235 of 235 pages render the same without 11ty
|guide: 8 files, links ok
|ok

Signature: good, cat

1 file changed, +4 -4
Mtest/scenarios/code-search-range.sh8++++----
M test/scenarios/code-search-range.sh +4 -4
@@ -11,7 +11,7 @@ printf 'echo "Hello, $1"\n' >>"$T/w/dami/greet.sh"
1111 at "$T/w/dami" commit "first"1212 push_as dami "$T/w/dami" origin main1313 build14-ok node "$T_HOME/test/code-search-bench.ts" http "$FORGE_ROOT/.forge" dami/greet 'hello, $1'14+ok node --no-warnings "$T_HOME/test/code-search-bench.ts" http "$FORGE_ROOT/.forge" dami/greet 'hello, $1'1515 has "$T_LOG" '^greet\.sh:31: echo "Hello, \$1"$'1616 has "$T_LOG" '^requests [1-9][0-9]* rounds [1-9][0-9]* bytes [1-9][0-9]*$'1717 has "$T_LOG" '^range 206 bytes 0-99/[0-9]+ type application/vnd\.sqlite3 encoding none length 100$'
@@ -25,11 +25,11 @@ printf 'beta and alpha\n' >"$T/w/dami/many/zz.txt"
2525 at "$T/w/dami" commit "many"2626 push_as dami "$T/w/dami" origin main2727 build28-ok node "$T_HOME/test/code-search-bench.ts" http "$FORGE_ROOT/.forge" dami/greet 'ALPHA beta' 1228+ok node --no-warnings "$T_HOME/test/code-search-bench.ts" http "$FORGE_ROOT/.forge" dami/greet 'ALPHA beta' 122929 eq "$(sed -n 1p "$T_LOG")" 'many/zz.txt:1: beta and alpha'3030 has "$T_LOG" '^requests [1-9][0-9]* rounds [1-9][0-9]* bytes'3131 # Too short for trigrams: nothing, and nothing fetched; nor for short words only.32-ok node "$T_HOME/test/code-search-bench.ts" http "$FORGE_ROOT/.forge" dami/greet 'if he'32+ok node --no-warnings "$T_HOME/test/code-search-bench.ts" http "$FORGE_ROOT/.forge" dami/greet 'if he'3333 has "$T_LOG" '^requests 0 '34-ok node "$T_HOME/test/code-search-bench.ts" http "$FORGE_ROOT/.forge" dami/greet 'he'34+ok node --no-warnings "$T_HOME/test/code-search-bench.ts" http "$FORGE_ROOT/.forge" dami/greet 'he'3535 has "$T_LOG" '^requests 0 '