From 9139398d465f5899cc31bc4cdd54daa7392ca550 Mon Sep 17 00:00:00 2001 From: Doan Luu Duc Tai Date: Sat, 31 Oct 2026 12:25:30 -0500 Subject: Migrate browser code and tests to strict TypeScript --- docs/CHAT-PRODUCTION.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'docs/CHAT-PRODUCTION.txt') diff --git a/docs/CHAT-PRODUCTION.txt b/docs/CHAT-PRODUCTION.txt index 8830920..cf8fc17 100644 --- a/docs/CHAT-PRODUCTION.txt +++ b/docs/CHAT-PRODUCTION.txt @@ -42,14 +42,16 @@ BUILD ON THE WORKSTATION Current releases require an x86_64 GNU/Linux build host and matching target. Use the pinned Rust toolchain, Podman, Git, GnuPG, a GCC-compatible C compiler, - Linux UAPI headers, libclang, pkg-config, make, Perl, curl, and tar. Native + Linux UAPI headers, libclang, pkg-config, make, Perl, curl, tar, Node >=22.18.0, + and npm. Native workspace checks need OpenSSL 3.5+ development libraries. Browser testing - additionally needs Node, Playwright, Chromium, and Firefox. These tools remain + additionally needs the pinned Playwright, Chromium, and Firefox. These tools remain on the workstation; production does not need Cargo or a compiler. cargo stack release - This runs formatting, strict Clippy, all workspace tests, rustdoc, cargo-deny, + This first builds/checks TypeScript, then runs formatting, strict Clippy, + all workspace tests, rustdoc, cargo-deny, and cargo-about. It then builds static native binaries, the WASI module, corresponding sources, the chat/cgit images, and the complete image export. THIRD-PARTY-LICENSES.html is regenerated from the full workspace before @@ -201,7 +203,7 @@ VERIFICATION HTTPS_PORT=8443, and LOCAL_HTTP_PORT=8180: ./bin/stack up --production - CHAT_TEST_ROOT=/absolute/disposable/stack CHAT_TEST_ORIGIN=https://chat.fixture.localhost:8443 PLAYWRIGHT_BROWSERS_PATH=.tools/browsers node crates/chat-server/tests/browser.mjs + CHAT_TEST_ROOT=/absolute/disposable/stack CHAT_TEST_ORIGIN=https://chat.fixture.localhost:8443 PLAYWRIGHT_BROWSERS_PATH=.tools/browsers npm run test:chat Run from the source checkout for the harness and Playwright installation. Add CHAT_LIBREJS=1 for Firefox with the actual GNU LibreJS add-on. That test -- cgit v1.2.3