From 167a65389e5fce73b6ae6b8790f9edcdc2aed6df Mon Sep 17 00:00:00 2001 From: AAA <35992542+TNTcraftHIM@users.noreply.github.com> Date: Fri, 21 Aug 2026 03:11:05 +0800 Subject: [PATCH] docs: record c27df22 production cutover (#98) --- docs/deployment.md | 32 ++++++++++++++++++++++++-------- docs/project-memory.md | 2 +- docs/status.md | 14 +++++++------- 3 files changed, 32 insertions(+), 16 deletions(-) diff --git a/docs/deployment.md b/docs/deployment.md index e2c818411..2f4ff1d65 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -20,15 +20,16 @@ tracked coturn example remains `stun-only`; the shared host retains its older authenticated-relay daemon configuration and firewall range. The application does not pre-advertise TURN credentials to ordinary peers. -Production currently runs exact `cf149df2411798cd632cc92a562b0a35146e0c1b` +Production currently runs exact `c27df2235ecc0be17816f642ca49028e30380a34` on the existing shared public IP, with local/public health 200 and SQLite v3 -integrity. The 893,953-byte artifact has SHA-256 -`80918716aefdbb958289b06b6f31551b78dbbaf7fb0f16980eb38d127e158e14`. -The 2026-08-20T17:48:29Z UTC cutover held the deployment lock for 9,256.904 ms; -local health returned 562.657 ms after service stop (509.983 ms after the -symlink switch). Screener, LiveKit, coturn, and nginx are active/running with +integrity. The 912,999-byte artifact has SHA-256 +`1c7f06e2608414f0a4facf8577c8b49a8fefb831e20826c0e23fa0d1e85240d6`. +The 2026-08-20T19:03:10Z UTC cutover held the deployment lock for 662 ms; +local health returned 552 ms after service stop (543 ms after the symlink +switch). Screener, LiveKit, coturn, and nginx are active/running with `NRestarts=0`. SQLite v3 contains five rooms including room `1`, with the -service owner/mode preserved. The prior `fdd14ba` remains the rollback target. +service owner/mode preserved. Exact `cf149df2411798cd632cc92a562b0a35146e0c1b` +is the immediate rollback target. The selected-edge UDP tuple is configured with TTL 120, but no real TURN/SFU media canary was triggered; this remains a bounded configuration smoke, not broad-rollout media acceptance. @@ -113,7 +114,7 @@ ICE. The accepted ladder is direct/peer UDP, then the revision-bound SFU/UDP virtual parent, then optional authenticated TURN for one controller-selected exceptional edge. LiveKit participants receive only revision-bound `sfu-config` URL/token messages and negotiate within LiveKit's separate ICE domain. The -selected-edge TURN config/wire is deployed in the `cf149df` release with one +selected-edge TURN config/wire is deployed in the current `c27df22` release with one UDP URL and a 120-second credential TTL. It was not exercised by a real media session during this cutover. @@ -451,6 +452,21 @@ remains the Web default. The prior stale `NRestarts=31` rollback is historical evidence only, and the final wrapper records restart counts without asserting an obsolete baseline. +The subsequent flagship cutover used exact source +`c27df2235ecc0be17816f642ca49028e30380a34` and immutable artifact +`screener-c27df2235ecc0be17816f642ca49028e30380a34-20260820T190108Z-git.tar.gz` +(912,999 bytes, SHA-256 +`1c7f06e2608414f0a4facf8577c8b49a8fefb831e20826c0e23fa0d1e85240d6`). +The one lock-held cutover ran from 2026-08-20T19:03:10.569Z to +19:03:11.232Z: 662 ms total, 552 ms from service stop to local health, and +543 ms from symlink switch to local health. The environment and SQLite +checksums were unchanged; SQLite v3 retained five rooms including room `1` +with owner/mode `screener:screener`/0600. Local/public health, the built asset, +root, and room route returned 200, all four services remained active/running, +and exact `cf149df2411798cd632cc92a562b0a35146e0c1b` became the rollback release. +No browser, TURN, SFU, or media canary was run, so this is deployment/config +evidence only. + Enabling persistence does not migrate rooms that existed only in memory. The deployment restart invalidates those temporary links; the first subsequently created persistent room receives ID `1`. diff --git a/docs/project-memory.md b/docs/project-memory.md index 4cffff936..29d4f0ca8 100644 --- a/docs/project-memory.md +++ b/docs/project-memory.md @@ -43,7 +43,7 @@ Last updated: 2026-08-21 ## Current Implementation - The repository is one npm package using Node.js 24, React, TypeScript, Vite, native WebRTC, `ws`, Zod, Vitest, and separate coturn. -- Production serves exact `cf149df2411798cd632cc92a562b0a35146e0c1b` at `https://share.bonfire.icu`. The immutable artifact is 893,953 bytes with SHA-256 `80918716aefdbb958289b06b6f31551b78dbbaf7fb0f16980eb38d127e158e14`; the 2026-08-20T17:48:29Z UTC cutover held the deployment lock for 9,256.904 ms and reached local health in 562.657 ms from stop (509.983 ms from symlink switch). +- Production serves exact `c27df2235ecc0be17816f642ca49028e30380a34` at `https://share.bonfire.icu`. The immutable artifact is 912,999 bytes with SHA-256 `1c7f06e2608414f0a4facf8577c8b49a8fefb831e20826c0e23fa0d1e85240d6`; the 2026-08-20T19:03:10Z UTC cutover held the deployment lock for 662 ms and reached local health in 552 ms from stop (543 ms from symlink switch). Exact `cf149df2411798cd632cc92a562b0a35146e0c1b` is the immediate rollback release. - The current Screener, LiveKit, coturn, and nginx services are active/running with `NRestarts=0`; local and public health are 200. SQLite v3 is intact with five rooms including room `1`, and the DB owner/mode remain `screener:screener`/0600. - Production ICE remains ordinary STUN-only. `PEER_ASSISTED_MEDIA=true` enables the controller for every normal room, and selected-edge TURN is now configured for the single UDP tuple with TTL 120; the coturn daemon and nginx/LiveKit/firewall/listener baselines were unchanged. No real TURN/SFU media canary or quality claim is implied. - Production requires an independent `HOST_ADMISSION_PASSWORD` only for creation/Host role. Default private fragment grants, room passwords, and explicit public-watch authorize Viewers; anonymous routes remain neutral until authorization. There are no accounts/JWT/session rows; SQLite v3 stores room identity only. diff --git a/docs/status.md b/docs/status.md index 1a9fc7199..15e561e1e 100644 --- a/docs/status.md +++ b/docs/status.md @@ -4,11 +4,11 @@ Last updated: 2026-08-21 ## Phase -`https://share.bonfire.icu` currently serves exact `cf149df2411798cd632cc92a562b0a35146e0c1b`. -The 893,953-byte artifact has SHA-256 -`80918716aefdbb958289b06b6f31551b78dbbaf7fb0f16980eb38d127e158e14`. -The 2026-08-20T17:48:29.425Z cutover held the lock 9,256.904 ms and reached -local health 562.657 ms after stop. +`https://share.bonfire.icu` currently serves exact `c27df2235ecc0be17816f642ca49028e30380a34`. +The 912,999-byte artifact has SHA-256 +`1c7f06e2608414f0a4facf8577c8b49a8fefb831e20826c0e23fa0d1e85240d6`. +The 2026-08-20T19:03:10.569Z cutover held the lock 662 ms; local health +returned 552 ms after stop and 543 ms after the symlink switch. SQLite v3 passed integrity checks with five rooms including room `1`; the application/database stayed healthy. Screener, LiveKit, coturn, and nginx are active/running with `NRestarts=0`, and local/public health are 200. @@ -45,8 +45,8 @@ Flagship; parallel; min run/smoke/rollback; benchmark later. Active UI/config/lo - Native Win11 audio is source-only/default-off. Smoke isolated target 4018x; one Viewer got 495 Opus packets. Packaging, game sync, Win10, and other routes remain open. - Access protocol/config/HTTP/storage/SQLite/signaling focused tests pass, including commit-first teardown and v1 rollback. - Source adds selected Host ingress and peer last-mile for every enabled room; focused routing/config tests pass with Peer ICE STUN-only. -- `61a87ae` Host names, `d1a4fd4` window-audio hint, and `cf149df` all-room routing are active; the stale restart assertion is historical only. -- Final gates preserved service/config baselines, asset/routes/admission checks, and the DB v3/5-room checksum. Selected-edge is configured, but no real TURN or SFU session ran. +- Host names, the window-audio hint, all-room routing, and all-room Host selected ingress are active; the stale restart assertion is historical only. +- The `c27df22` gate preserved env/DB hashes, SQLite v3/five rooms/room `1`, services, and local/public health plus route/asset 200s. No TURN/SFU session ran. ## Unverified Boundaries