host: 100% serving JIT — drop the host jit-exclude (surface miscompiles in dev)
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 27s
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 27s
Per dev intent: don't mask JIT errors. Remove (jit-exclude! "host/*" "dream-*" "dr/*") so ALL request-path SX runs under JIT. Host handlers miscompile on first call in the http-listen path (map/rest arg bug → 500, self-heals on retry); that surfacing is the point — it exercises the JIT against real durable-IO traffic and gives the sx-vm-extensions loop the full miscompile list to fix (kernel bugs A/B in plans/HANDOFF-jit-miscompile.md). Datalog JIT win stays (/tags fast). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -99,17 +99,13 @@ EPOCH=1
|
|||||||
for M in "${MODULES[@]}"; do
|
for M in "${MODULES[@]}"; do
|
||||||
echo "(epoch $EPOCH)"; echo "(load \"$M\")"; EPOCH=$((EPOCH+1))
|
echo "(epoch $EPOCH)"; echo "(load \"$M\")"; EPOCH=$((EPOCH+1))
|
||||||
done
|
done
|
||||||
# Serving-mode JIT: exclude the request-path SX (host app + Dream framework) from
|
# Serving-mode JIT runs at 100% — NO host jit-exclude. The request-path SX (host
|
||||||
# JIT. Those functions miscompile on first call in the http-listen + cek_run_with_io
|
# app + Dream framework) miscompiles on first call in the http-listen +
|
||||||
# path (a map/rest arg bug → 500, then self-heals via CEK fallback — but the first
|
# cek_run_with_io path (map/rest arg bug → 500, self-heals on retry via CEK
|
||||||
# hit fails). They're IO-bound anyway, so CEK is no slower. The JIT win is the
|
# fallback). That's deliberate in DEV: surfacing every miscompile (the
|
||||||
# Datalog/relations saturation (dl-*/relations-*), which JITs cleanly and stays on
|
# `[jit] … first-call fallback` log lines) exercises the JIT against real traffic
|
||||||
# (e.g. /tags 2.5s -> 0.76s).
|
# and feeds the bug list to the sx-vm-extensions loop. Do NOT mask it with a
|
||||||
if [ "${SX_SERVING_JIT:-}" = "1" ]; then
|
# jit-exclude — see plans/HANDOFF-jit-miscompile.md.
|
||||||
echo "(epoch $EPOCH)"
|
|
||||||
echo "(eval \"(jit-exclude! \\\"host/*\\\" \\\"dream-*\\\" \\\"dr/*\\\")\")"
|
|
||||||
EPOCH=$((EPOCH+1))
|
|
||||||
fi
|
|
||||||
# Point the blog at the DURABLE file backend (persists under $SX_PERSIST_DIR),
|
# Point the blog at the DURABLE file backend (persists under $SX_PERSIST_DIR),
|
||||||
# then idempotently seed a welcome post (sx_content = SX element markup, the
|
# then idempotently seed a welcome post (sx_content = SX element markup, the
|
||||||
# editor's content model). Re-seeding is a no-op if the slug already exists.
|
# editor's content model). Re-seeding is a no-op if the slug already exists.
|
||||||
|
|||||||
Reference in New Issue
Block a user