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
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. Comment |
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:
|
|
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. |
|
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. |
|
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. |
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 withSILO_CORE_URLand 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
SECRET_KEYapply only to proxy nodes;SECRET_KEYchanges drop node keysWhat changed on each page
Add and check transcode nodes
MODE=transcode,SILO_CORE_URL,SILO_NODE_KEY, a transcode directory, the media mount only for Local library mount, and GPU access. It ignoresNODE_NAME,NODE_URL,SECRET_KEY,DATABASE_URL, andREDIS_URLand 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.NODE_NAME/NODE_URLonly 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'sSILO_CORE_URLcomes from and that a keyless node gets no work. A Healthy transcode node has a working key; Key issued only means a key exists.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 asgpu-1#7. One line covers the first-start burn-in limitation on large files.SECRET_KEYchanges. 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_KEYparagraphs 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
Server configuration
SECRET_KEYalso makes transcode node keys unreadable.SECRET_KEYfor servers and proxy nodes only.Update Silo safely
Subtitle providers
Left out on purpose
key_rejectedhealth field: no other page goes that deep.Overlaps
silo workercommands, and binding files don't exist, so Document standalone HTTP/HTTPS transcode workers without library mounts #200 should be rechecked against this design.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 asac962413b), silo-serverorigin/maina434bbc2f, siloserver.org61fef8a. 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:
silo-transcodeexample works withSILO_CORE_URLset inenvironmentandSILO_NODE_KEYin.env.Follow-ups
origin/mainand mark this ready.Risks
None identified. Documentation only.
Checklist
AI Disclosure
Note
Document transcode-node setup with server-issued keys and source access
Macroscope summarized a785a19.