[bounty #68] Add YouTube core live integration#616
Conversation
1c09d3c to
2b1ccfd
Compare
|
I noticed one integration blocker that is worth tightening before this is treated as a complete #68 workflow. The OAuth prisms return an That makes the per-channel OAuth flow and multi-channel live/chat operations fragile: a user can successfully exchange a code, but the follow-up live broadcast/chat calls may run against a static configured token or fail if no global token is present. Suggested fix:
That would make the OAuth acceptance path much stronger for the bounty because the token exchange and the live-streaming operations become an actual composable workflow instead of separate pieces. |
Addresses #68.
Summary
Validation
mix format --check-formattedon the touched Elixir filesMIX_ENV=prod mix compilemix test --no-deps-check test/unit/lux/integrations/youtube/client_test.exs test/unit/lux/lenses/youtube/channels/list_channels_test.exs test/unit/lux/lenses/youtube/live/list_broadcasts_test.exs test/unit/lux/lenses/youtube/live/list_chat_messages_test.exs test/unit/lux/lenses/youtube/live/stream_health_test.exs test/unit/lux/prisms/youtube/live/live_prisms_test.exs test/unit/lux/prisms/youtube/oauth/oauth_prisms_test.exs test/unit/lux/prisms/youtube/videos/start_resumable_upload_test.exs --include unit-> 18 tests, 0 failuresgit diff --checkNote: full plain
mix testis blocked on this local machine by the lockedcredo 1.7.11dev/test dependency failing to compile under locally installed Elixir 1.19/OTP 28. The project pins Elixir 1.18/OTP 27 in.tool-versions; the targeted YouTube tests above were run after compiling the required runtime/test dependencies without Credo.Disclosure
This PR was prepared with AI assistance and manually reviewed/validated before submission.
/claim #68