Skip to content

armgit / Piik

Public Imported from GitHub
0

Free, open-source screen sharing for private live streams with friends. Watch together in a browser or self-host Piik. 免费开源的私密屏幕共享,支持游戏直播、一起看电影与自部署。

docs: record fd76277 flagship deployment (#106)

AAAbb6d9b80bd08
diff --git a/docs/deployment.md b/docs/deployment.md
index a3a5a523..5a265597 100644
--- a/docs/deployment.md
+++ b/docs/deployment.md
@@ -20,18 +20,19 @@ 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 `5e4a3679076a9ea2fe7a41fadf4be65a439db450`
+Production currently runs exact `fd76277b05d491af8840b28f3132b7ff445d3cbe`
on the existing shared public IP, with local/public health 200 and SQLite v3
-integrity. The 909,974-byte artifact has SHA-256
-`e484773c7dc381e657da18720e842c3ae90ad727320a650abcb1098428c74774`.
-The 2026-08-20T20:11:20Z UTC cutover held the deployment lock for 9,474 ms;
-local health returned 676 ms after service stop (529 ms after the symlink
+integrity. The 915,377-byte artifact has SHA-256
+`8da4b8b2b1ae4b82add615f4367ee447b5ade86c4e58a938e51085940b9867d3`.
+The 2026-08-20T20:53:59Z UTC cutover held the deployment lock for 8,389 ms;
+local health returned 520 ms after service stop (478 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 and database hash preserved. `SITE_ACCESS_PASSWORD`,
`/api/site-access`, and the nginx limiter replaced their retired Host-admission
-names in the same lock-held cutover; the old endpoint returns 404. Exact
-`c27df2235ecc0be17816f642ca49028e30380a34`
+names in the prior access cutover; this release preserved the environment hash
+and the old endpoint remains 404. Exact
+`5e4a3679076a9ea2fe7a41fadf4be65a439db450`
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
diff --git a/docs/project-memory.md b/docs/project-memory.md
index 805d1dd3..32d2a4b0 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 `5e4a3679076a9ea2fe7a41fadf4be65a439db450` at `https://share.bonfire.icu`. The immutable artifact is 909,974 bytes with SHA-256 `e484773c7dc381e657da18720e842c3ae90ad727320a650abcb1098428c74774`; the 2026-08-20T20:11:20Z UTC cutover held the deployment lock for 9,474 ms and reached local health in 676 ms from stop (529 ms from symlink switch). Exact `c27df2235ecc0be17816f642ca49028e30380a34` is the immediate rollback release.
+- Production serves exact `fd76277b05d491af8840b28f3132b7ff445d3cbe` at `https://share.bonfire.icu`. The immutable artifact is 915,377 bytes with SHA-256 `8da4b8b2b1ae4b82add615f4367ee447b5ade86c4e58a938e51085940b9867d3`; the 2026-08-20T20:53:59Z UTC cutover held the deployment lock for 8,389 ms and reached local health in 520 ms from stop (478 ms from symlink switch). Exact `5e4a3679076a9ea2fe7a41fadf4be65a439db450` 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 the independent site-access secret through `SITE_ACCESS_PASSWORD`. Its stateless cookie authorizes creation/Host and permits code-only Viewer attempts; valid private fragment grants remain direct. Public-watch accepts site access plus code, while private code-only entry additionally requires the room password. The env, endpoint, cookie, and nginx limiter naming migrated atomically; anonymous failures stay neutral, and there are no accounts/JWT/session rows.
diff --git a/docs/status.md b/docs/status.md
index da776c4a..60a18215 100644
--- a/docs/status.md
+++ b/docs/status.md
@@ -4,8 +4,8 @@ Last updated: 2026-08-21
## Phase
-`https://share.bonfire.icu` serves exact `5e4a3679076a9ea2fe7a41fadf4be65a439db450`; the 909,974-byte artifact SHA-256 is `e484773c7dc381e657da18720e842c3ae90ad727320a650abcb1098428c74774`.
-The cutover held the lock 9,474 ms and returned local health 676 ms after stop. SQLite v3 has five rooms; Screener, LiveKit, coturn and nginx are healthy with zero restarts.
+`https://share.bonfire.icu` serves exact `fd76277b05d491af8840b28f3132b7ff445d3cbe`; the 915,377-byte artifact SHA-256 is `8da4b8b2b1ae4b82add615f4367ee447b5ade86c4e58a938e51085940b9867d3`.
+The cutover held the lock 8,389 ms and returned local health 520 ms after stop. SQLite v3 has five rooms; Screener, LiveKit, coturn and nginx are healthy with zero restarts.
Ordinary ICE is STUN-only; all rooms use the bounded peer/SFU-UDP controller and selected-edge UDP TTL 120. Room `1` is historical smoke and no real TURN/SFU media canary has run.
Web Host names/audio hint are deployed. Native H.264 and Windows x64 packaging are source-only; Web defaults VP8.
@@ -36,7 +36,7 @@ Flagship; parallel; min run/smoke/rollback; benchmark later. Active UI/config/lo
- Native peer-assisted wire/session focused tests pass: authoritative direct children reconcile at no more than two, presence cannot create a third edge, stale revisions do not rebuild, and unsupported SFU/selected ingress fails once per current revision.
- Source adds selected Host ingress and peer last-mile for every enabled room; focused routing/config tests pass with Peer ICE STUN-only.
- 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 `5e4a367` gate preserved the SQLite hash, v3/five rooms/room `1`, selected-edge/SFU/ordinary-ICE settings, services, and local/public health plus route/asset 200s. Site access returned the unauthenticated status and the retired endpoint returned 404; no TURN/SFU session ran. Exact `c27df2235ecc0be17816f642ca49028e30380a34` is the rollback release.
+- The `fd76277` gate preserved the environment and SQLite hashes, v3/five rooms/room `1`, selected-edge/SFU/ordinary-ICE settings, services, and local/public health plus route/asset 200s. Site access returned the unauthenticated status and the retired endpoint returned 404; no TURN/SFU session ran. Exact `5e4a3679076a9ea2fe7a41fadf4be65a439db450` is the rollback release.
## Unverified Boundaries