Skip to content

docs: set up transcode nodes with node keys and source access - #252

Closed
zZebrahz wants to merge 3 commits into
mainfrom
docs/node-keys
Closed

zZebrahz wants to merge 3 commits into
mainfrom
docs/node-keys

Conversation

@zZebrahz

@zZebrahz zZebrahz commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Closes #213

Silo-Server/silo-server#2525 changes how transcode nodes are set up. A transcode node no longer uses PostgreSQL, Redis, or SECRET_KEY. It starts with SILO_CORE_URL and a key that Admin > Playback > Nodes issues for it, and a new Source Access setting decides whether it reads media through its own mount or over HTTP from the main server. The docs still describe the old setup for every node type.

This stays a draft until Silo-Server/silo-server#2525 merges into main. That PR is still an open draft. I checked these docs against its head, 77998cac4, not against main.

Pages changed

Page Change Preview
Add and check transcode nodes Separate setup lists for transcode and proxy nodes, key steps, new section "Choose how a node reads media", troubleshooting, key rotation, move-to-keys steps Open
Read node status The key line under a transcode node's address Open
Server configuration Shared database, Redis, and SECRET_KEY apply only to proxy nodes; SECRET_KEY changes drop node keys Open
Update Silo safely 1.0 bullet on moving transcode nodes to keys Open
Subtitle providers Same-path requirement applies only to Local library mount Open

What changed on each page

Add and check transcode nodes

  • Intro: only proxy nodes share PostgreSQL, Redis, and the encryption key. A transcode node connects only to the main server, with its own key.
  • "Prepare the node" now has two lists. A transcode node needs MODE=transcode, SILO_CORE_URL, SILO_NODE_KEY, a transcode directory, the media mount only for Local library mount, and GPU access. It ignores NODE_NAME, NODE_URL, SECRET_KEY, DATABASE_URL, and REDIS_URL and logs a warning if they're set. The proxy list is the old one, unchanged. The clock requirement now applies to every node. A new paragraph covers a reverse proxy in front of the main server: it must pass /api/internal/nodes/, without buffering, with long timeouts.
  • "Add the node": name and URL match NODE_NAME/NODE_URL only for proxies. New steps cover Source Access, Issue key, the Key for dialog, Copy environment, and I've saved it. The page also explains where the dialog's SILO_CORE_URL comes from and that a keyless node gets no work. A Healthy transcode node has a working key; Key issued only means a key exists.
  • New section "Choose how a node reads media" covers both Source Access options, the main-server traffic that Read from this server over HTTP adds, the size and modification-time requirement, and that a change applies to jobs started after saving.
  • "If work does not reach the node": the same-path check applies only to Local library mount. New checks cover No key: this node takes no work, a node stuck Unhealthy (with its log line cannot read this node's configuration from the core; retrying), and a mount mismatch (with its log line). Node logs show in Admin > Logs > Server Log with the node in the entry's Node field, such as gpu-1#7. One line covers the first-start burn-in limitation on large files.
  • "Maintain a node": encoder changes apply within 30 seconds instead of a minute. New paragraphs cover Rotate key (drain first) and SECRET_KEY changes. A new subsection, "Move transcode nodes to node keys", gives the stop, update, issue keys, set source access, start order. I removed the paragraph about older transcode nodes not sending embedded subtitles: a node from before #2525 can't work with an updated main server at all, so that mixed case can't happen anymore.

Worth checking: the rotation and SECRET_KEY paragraphs sit in "Maintain a node". "Move transcode nodes to node keys" is written so it doesn't name a release, and the Update page links to it from the 1.0 list.

Read node status

  • Explains the key line (Key issued / No key: this node takes no work, Issue key / Rotate key) and Reads media from this server.

Server configuration

  • Changing SECRET_KEY also makes transcode node keys unreadable.
  • The external-services override uses the same SECRET_KEY for servers and proxy nodes only.
  • PostgreSQL connection sizing counts proxy nodes only. Transcode nodes don't connect to PostgreSQL.
  • "Server modes": proxy nodes need the shared database, Redis, and key. Transcode nodes need only the main server's address and a key. The Redis sentence ("required once you add proxy or transcode nodes") stays, because the main server keeps node reports in Redis.

Update Silo safely

  • New bullet under "Moving from alpha to 1.0": transcode nodes start with different settings, are stopped before the update, and are set up again as in the new transcode nodes subsection. The bullet also covers the size and modification-time requirement.

Subtitle providers

  • "A node needs the media at the same path" now applies only to a node set to Local library mount. This page wasn't in the issue, but #2525 makes the old sentence wrong.

Left out on purpose

  • The issue's bullet that nodes set to Read from this server over HTTP don't burn in text subtitles. feat(nodes): stage relayed text subtitles for burn-in on core-mode nodes silo-server#2526 merged into #2525's branch and removed that limit: those nodes now fetch a subtitle bundle from the main server. #2525's head includes it.
  • Docker deployment reference: the page doesn't list what each example service mounts, so nothing there is wrong now.
  • Key format, signing, grants, report and log endpoints, and the key_rejected health field: no other page goes that deep.
  • The artwork sentence at the end of "Prepare the node" stays. It no longer follows a node requirement, but it's still true for several hosts.

Overlaps

Evidence

Source reviewed, not tested on a live server or device: silo-server Silo-Server/silo-server#2525 head 77998cac4 (includes #2526, merged into its branch as ac962413b), silo-server origin/main a434bbc2f, siloserver.org 61fef8a. Read: web/src/pages/AdminNodes.tsx, cmd/silo/transcode_node.go, internal/nodesource/relay.go, internal/nodeconfig/remote.go, docker-compose.yml, docs/architecture/transcode-nodes.md, docs/architecture/worker-http-protocol.md, docs/update-to-1.0.md.

Needs a hands-on check:

  • That a Healthy transcode node also reads its configuration on a real cluster, and that rotating a key turns it Unhealthy within about 30 seconds.
  • That the silo-transcode example works with SILO_CORE_URL set in environment and SILO_NODE_KEY in .env.
bun run test:docs   ℹ tests 8 · ℹ pass 8 · ℹ fail 0
bun run build       All internal links are valid. 106 page(s) built
git diff --check    clean

Follow-ups

  • When #2525 merges, recheck every bold label and path against origin/main and mark this ready.

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 (T3 Code)
  • Tool(s): git, GitHub CLI, bun
  • Model(s): claude-opus-5-5
  • Involvement: Fully AI-generated, human verification pending
  • Adversarial review: n/a

Note

Document transcode-node setup with server-issued keys and source access

  • Rewrites the transcode-node docs: transcode nodes connect only to the main server with a server-issued key, instead of sharing PostgreSQL, Redis, and SECRET_KEY like proxy nodes. See transcode-nodes.md
  • Adds a new "Choose how a node reads media" section covering Local library mount and Read from this server over HTTP, with matching file-size and modification-time requirements
  • Adds key issuance and rotation instructions, and notes that rotating or changing SECRET_KEY invalidates all transcode-node keys
  • Updates related docs: configuration.md, node-status.md, subtitle-providers.md, and the 1.0 migration checklist in updates.md
  • Adds a migration procedure for existing transcode nodes: stop nodes, remove legacy database/Redis/secret-key variables, install issued keys, and verify health

Macroscope summarized a785a19.

@silo-triage silo-triage Bot added the size/M 50–199 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

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@zZebrahz

Copy link
Copy Markdown
Contributor Author

Draft until Silo-Server/silo-server#2525 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 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

Copy link
Copy Markdown
Contributor Author

Closing in favor of #381, which documents the node design that replaced Silo-Server/silo-server#2525: Silo-Server/silo-server#4337 and Silo-Server/silo-server#4338.

This branch was previously deployed

1 inactive deployment
Preview — a785a19c Deployed Nov 18, 2026 by zZebrahz via teardown #173
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/M 50–199 added + deleted lines (all files); change volume, not priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Transcode nodes: document node keys, source access and the new node setup

1 participant