Repository navigation
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
|
|
This stays draft until blocking server PR Silo-Server/silo-server#2739 merges and these pages are checked against current main. The current server source is AI: T3 Code through Codex, gpt-6.1-sol (xhigh). |
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
|
Preview removed after this pull request was closed. Its address now redirects to siloserver.org, though some visitors may still see the old preview for a while. |
The Compose files now pass .env to the silo container, so a Compose override is no longer needed for these variables. Co-Authored-By: Claude Opus 5.5 <[email protected]>
50894c1 to
3575e7b
Compare
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
Silo retired /api/v1, so only native v2 and Jellyfin-compatible event connections share the count. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
|
Closing: Silo-Server/silo-server#2739 was closed without merging, and main has no socket admission stages to document. Reopen this if that work comes back. |
Problem
Server operators can't find the startup thresholds for live-update connections, and client authors have no manual guidance for recovering from a refused event connection. These pages explain the settings and recovery while keeping observation-only startup distinct from quota enforcement.
Closes #261
Related issue: Silo-Server/silo-server#2727
Validation tasks: N/A, manual-only; no validation records or results changed.
Draft blocked by Silo-Server/silo-server#2739. The reviewed implementation is
953602272ce, the open head of that PR, checked against server main2d5f22e7d70. Recheck these pages against current main after the server change merges. Coordinated Android recovery is proposed in Silo-Server/silo-android#643; it is not a compatible released baseline. Observation doesn't enforce a socket bound or remediate the server finding, and this PR does not close the server issue.Pages changed
What changed on each page
64connections per account per API process and2048per process. The two positive integer environment overrides are set in.env, read only at startup, trim whitespace, and fall back to defaults without logging rejected input. Native v1/v2, normalized Jellyfin aliases andKeepAlive-only connections share the per-process account count. There is no cluster quota or enforcement toggle.503; the prepared quota path uses account429/ process503, withRetry-After: 5andCache-Control: no-store. Exceeding an observation threshold doesn't trigger quota refusal.Left out on purpose
Exact reconnect schedules, reservation lifecycle details and rollout procedures stay in the server's protocol and architecture docs. HTTP request/work-rate limits and room/playback sockets are separate controls; existing docs PR #186 covers HTTP limits and Jellyfin sign-in messages.
Later enforcement still requires a separate maintainer decision after separately authorized ordinary-use single-node and multi-node pilots, an assigned operator, seven consecutive days of complete coverage, zero account/process would-refuse events, account peak at most
32, process peak at most1024, and named compatible web and Android releases. Shutdown refusals are reported separately, and evidence must survive restarts. Missing coverage, exceeded thresholds or missing compatible releases prevent enforcement. No pilot, host selection, deployment, runtime probe or enforcement was performed or authorized by this docs PR.Evidence
Source reviewed, not tested on a live server or device:
953602272ce(open head of feat(events): stage socket admission with coordinated recovery silo-server#2739); server main2d5f22e7d70. The admission code, environment parsing, refusal headers, and the realtime and Jellyfin protocol docs on that head match every added sentence.bf4e0fc6af8. The rebase onto it resolved a conflict in the configuration page by keeping main's "Failed sign-ins per name" and "TCP tuning for remote viewers" sections and placing "Live-update connections" after them.b1e5774f3a4and Apple maincb4f4e5c148were read for event-client scope in the earlier review and not rechecked for this rebase. No compatible release or runtime app behavior is claimed..envinto thesiloservice, so the thresholds go in.envlike the TCP tuning settings beside them.bun run test:docs: 8 passed, 0 failed.bun run build: 43 checks passed, all internal links valid, 106 pages built.git diff --check: clean. Before/after captures of the three changed sections at 1440 px and 393 px show the new sections rendering with no overflow and no console errors.Needs a hands-on check: reconnect behavior in third-party clients and the coordinated web/Android release behavior before enforcement. No real-media preview, deployment or device testing was used.
Evidence: https://evidence.siloserver.org/r/silo-server/manual-event-socket-observation/
Risks
The server implementation is unmerged. Keep this PR draft and update the blocking reference and source evidence before publishing the manual changes.
Checklist
AI disclosure
gpt-6.1-sol(xhigh).