Skip to content

docs: say that playback moves off a failed node and new nodes are checked on save - #238

Merged
zZebrahz merged 3 commits into
mainfrom
docs/node-failover
Oct 30, 2026
Merged

zZebrahz merged 3 commits into
mainfrom
docs/node-failover

Conversation

@zZebrahz

@zZebrahz zZebrahz commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Refs #162. This pull request covers the issue's own scope. The enrollment, provider capacity and Intel VPL items in this comment are left for a separate pull request once Silo-Server/silo-server#2371 and Silo-Server/silo-server#2372 merge.

Read node status says playback on a node that stops answering "can't continue there". Since Silo-Server/silo-server#2292 and Silo-Server/silo-server#1956 merged, playback moves to another machine on its own. Add and check transcode nodes also says a new node waits for the 30-second check. Silo-Server/silo-server#2294 makes the web admin check a node as soon as it's saved.

Silo-Server/silo-server#2294 merged on October 21 as 2903186aa, so everything here is on main.

Pages changed

Page Change Preview
Add and check transcode nodes New nodes are checked on save; streams move once a stopping node's drain times out Open
Read node status What happens to playback when a node crashes or shuts down Open

What changed on each page

Add and check transcode nodes

  • "Add the node": "Silo checks a new node as soon as you save it, then every 30 seconds. A node you start after saving shows Unhealthy until the next check." The page's steps start the node after Save, so the refresh-button sentence stays.
  • "Maintain a node": after SILO_NODE_DRAIN_TIMEOUT passes, the node stops and its remaining streams move to another machine. This replaces "ends any streams still on it" and links to the node-status paragraph.

Read node status

  • The paragraph after the state table now says that when a node crashes or shuts down mid-stream, playback in the web app and the Silo apps moves to another node or the main server, usually within about 10 seconds, at the same position. Streams the main server delivers itself move without a visible pause; streams through a proxy node can freeze for a moment. Silo also moves playback off a transcode node that stops responding without shutting down (fix(playback): move a transcode off a node that hangs silo-server#2579), though playback through a proxy node can take longer to move. If Routing leaves no other machine (a route ending in "only" with one node of that type), playback stops.

Worth checking: the scope is "crashes or shuts down" and "the web app and the Silo apps" on purpose. See below.

Left out on purpose

Evidence

Source reviewed, not tested on a live server or device: silo-server origin/main 0225a0589 (Silo-Server/silo-server#2292 merged as a2b8bfe72, Silo-Server/silo-server#1956 as 668a51848, Silo-Server/silo-server#2294 as 2903186aa, Silo-Server/silo-server#2340 as f16f51fe2, Silo-Server/silo-server#2579 as c9082ba38; the web admin runs POST /api/v2/admin/nodes/{id}/check after a create only); silo-apple 148d5d70 and silo-android e15865529 (the Android app recovers with a failure_recovery replan and the Apple app with a reconnect (track_change) replan; #2292 moves both off a dead node); siloserver.org ba93ca0. The 10-second and no-pause figures come from the end-to-end runs in #2292 and #1956.

Needs a hands-on check: recovery in the Apple and Android apps on a device. The server PRs tested the web player and a scripted client that recovers the way the Android app does. Also check that a node stopped after its drain timeout moves its streams. That follows from #2292, which tested SIGTERM, but not with the drain from #2340. And check hung-node recovery through a proxy in the apps: #2579 recorded only the web player.

bun run test:docs: 8 tests passed. bun run build: 106 pages built with the link check. git diff --check: clean.

Follow-ups

Risks

None identified. Documentation only.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.

AI Disclosure

  • Harness: Claude Code in T3 Code
  • Tool(s): Claude Code, GitHub CLI
  • Model(s): claude-opus-5-5
  • Involvement: Fully AI-generated; not yet verified by a person
  • Adversarial review: n/a

Note

Update docs: playback moves off failed nodes and new nodes checked on save

  • Replaces the guidance in node-status.md that playback cannot continue on a nonresponsive node. Playback in the web app and Silo apps now moves automatically after a crash or shutdown, typically within about 10 seconds, and resumes at the same position. It distinguishes main-server streams from proxy-node streams and notes playback stops when Routing has no alternative machine.
  • Updates transcode-nodes.md to say Silo checks a new node on save and then every 30 seconds. A node started after saving shows as Unhealthy until the next check.
  • Corrects the stopping-a-node guidance: after the drain timeout, remaining streams move to another machine instead of ending.

Macroscope summarized bbf97fb.

@zZebrahz

Copy link
Copy Markdown
Contributor Author

Draft until Silo-Server/silo-server#2294 is merged into main. The docs describe that change, and its labels or defaults may still change in review.

@silo-triage silo-triage Bot added the size/S 0–49 added + deleted lines (all files); change volume, not priority. label Oct 18, 2026
@coderabbitai

coderabbitai Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b3aaf1c4-cddc-4ea0-a607-7462ba1102ee
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@silo-kody

silo-kody Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌
⚠️ 2 Kody Rule(s) were not evaluated

These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:

  • Scope polling setup steps to installable source capabilities
  • Preserve retired documentation URLs with tested redirects

@silo-triage silo-triage Bot added the documentation Improvements or additions to documentation label Oct 18, 2026
@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

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.

@zZebrahz
zZebrahz marked this pull request as ready for review October 30, 2026 03:33
@zZebrahz

Copy link
Copy Markdown
Contributor Author

Ready for review: Silo-Server/silo-server#2294 merged as 2903186aa. The review thread checks these pages against current main before this merges.

@silo-kody

silo-kody Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌
⚠️ 2 Kody Rule(s) were not evaluated

These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:

  • Scope polling setup steps to installable source capabilities
  • Preserve retired documentation URLs with tested redirects

@zZebrahz
zZebrahz merged commit b942280 into main Oct 30, 2026
5 checks passed

This branch was previously deployed

1 inactive deployment
Preview — bbf97fb3 Deployed Oct 30, 2026 by zZebrahz via teardown #147
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/S 0–49 added + deleted lines (all files); change volume, not priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant