summaryrefslogtreecommitdiffhomepage
path: root/backend-handoff.md
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-10-24 18:47:01 +0900
committerAdam Malczewski <[email protected]>2026-10-24 18:47:01 +0900
commitb666d77df8cf4da6ae40fb5637268926f02cc44d (patch)
tree4208ec0f5f1ef2cf1a9cd9710a442ce10a5f0c61 /backend-handoff.md
parent48cdc3d19a319981a8a4128be98db3c283f81790 (diff)
downloaddispatch-web-b666d77df8cf4da6ae40fb5637268926f02cc44d.tar.gz
dispatch-web-b666d77df8cf4da6ae40fb5637268926f02cc44d.zip
test: run frontend verification natively under Bun
Make Bun the explicit Vitest runtime. Detect cyclic tool input before slow native pretty serialization, preserve shared references, and use native abort signals in the live jsdom probe. 2587 tests repeatedly green and2 real HTTP/UI tests pass; Bun-run typecheck, lint and production build pass without NODE_OPTIONS.
Diffstat (limited to 'backend-handoff.md')
-rw-r--r--backend-handoff.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/backend-handoff.md b/backend-handoff.md
index acae2f6..d1d0756 100644
--- a/backend-handoff.md
+++ b/backend-handoff.md
@@ -677,3 +677,21 @@ green; standard external-Claude bundle has existing missing @dispatch/kernel iss
No merge/push/deployment/shared restart. Full report:
`notes/text-file-embeds-implementation.md`. Human graphical desktop/mobile check
remains; no cross-repo contract asks open for this slice.
+
+### Bun-native verification correction (2026-10-24)
+
+Supersedes the Node-backed verification paragraph above: both repository test
+scripts now explicitly launch Vitest with Bun (`bun --bun .../vitest.mjs`).
+`bun run test` passes under Bun with no NODE_OPTIONS: frontend2587 passed/2
+opt-in skipped repeatedly; backend4278 passed/9 existing SSH skips twice;
+native Bun tests190 passed. `bun run test:text-file-live` passes2 against the
+real ephemeral HTTP transport. Bun-run typecheck/lint/build pass (FE309 files,
+backend754); existing build advisories/external-Claude wrapper limitation remain.
+
+Corrected pre-existing Bun test assumptions (Bun.serve spy instead of global
+replacement, directory ordering, homedir caching). Added prompt cycle detection
+in tool-call summary serialization plus shared-reference regression test; the
+Bun timeout is fixed, not increased. Live probe uses a native-signal jsdom
+environment instead of Node-only utility APIs. No production wire/feature
+semantics changed, no subagents/deployment/merge/push. Full final verification
+is in the Bun-native follow-up of notes/text-file-embeds-implementation.md.