Repository navigation
Phase 1: streamer node config + compose stack - #15
Open
cycle-five-muse-personal[bot] wants to merge 1 commit into
Open
cycle-five-muse-personal[bot] wants to merge 1 commit into
cycle-five-muse-personal[bot] wants to merge 1 commit into
Conversation
config/streamer/application.yml: derived from the all-in-one config with exactly the design deltas - clients [TV] only (D4), oauth on (D1), pot block omitted (D2; loader is null-safe in 1.18.2), allowSearch off, no route planner. docker-compose.streamer.yml: playback-only stack (lavalink + yt-cipher + dockerproxy + own admin for the OAuth flow, POT_REFRESH_ENABLED=false, no bgutil-pot), ports/data offset so it can co-exist with the main stack during migration. Contract tests pin plugin-version parity and the deltas; CI now also renders the streamer compose file. Design doc: status + LavaSrc mirror-at-playback caveat for Phase 3. 171 tests pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 1 of
docs/DESIGN-two-node-split.md— the streamer half of the split, as configuration. No bot changes; the all-in-one node remains the live one and this stack idles as a spare until Phase 3.What's here
config/streamer/application.yml— derived fromconfig/application.ymlwith exactly the design deltas, everything else identical:clients: [TV]only — a TV failure is a hard failure; no un-authed fallback ever leaves the clean IPpot:block is omitted entirely (verified null-safe in the 1.18.2 loader —YoutubePluginLoadercheckspot != null)allowSearch: false; no route planner (rotation is the resolver's mechanism)docker-compose.streamer.yml— playback-only stack: lavalink (same 4.2.2 pin) + yt-cipher + dockerproxy + its own admin panel (for the OAuth device flow into the streamer config) withPOT_REFRESH_ENABLED=falseand no bgutil-pot service. Ports/data offset (2334 / 8081 / 2376,./data-streamer) so it can co-exist with the main stack during migration; header documents the one shared port (cipher 8001) and the separate-host target.Tests:
admin/tests/test_streamer_config.py— 8 contract tests pinning the deltas and the parity (plugin versions, sources, LavaSrc, cipher), so the two configs can't silently drift. Full suite: 171 passed, pyflakes clean. CI now also renders the streamer compose file.Design doc: status line updated (Phase 0 merged in #14, Phase 1 = this PR) and a Phase 3 caveat recorded in §4 — LavaSrc mirrors at playback time, so the split backend must hand the streamer the already-mirrored YouTube track resolved on the resolver, not a raw LavaSrc track.
Not verifiable from here: an actual boot of the streamer stack (no Docker host on this VM) —
docker compose configrenders in CI, and the config contract is test-pinned, but first real boot happens on deploy.