• Aryan Noshirvnai's avatar
    Merge origin/dev (remix engine, live rooms, channels, custom console) into dev · 78e816ec
    Aryan Noshirvnai authored
    Reconciles the hardening/caching/deploy-pipeline work on this branch with the
    previously-unmerged remix engine, Pass-the-Aux room websocket infra, Channels
    router, and custom API console from origin/dev.
    
    Conflict resolution notes:
    - Kept the current JWT/session-based auth (src/core/security.py) over origin/dev's
      older session-string-header auth; adapted its unique test coverage (chats/music
      endpoint, discovery listen/swipe content paths, library search/stream/lyrics/
      playlist content paths, remix-tree tests) to the current auth_as fixture instead
      of dropping that coverage.
    - Kept origin/dev's branded login-page + session-cookie docs auth (superset of the
      plain HTTP Basic version), and its recursive _build_remix_tree over a flat one-
      level version.
    - Replaced the stopgap _run_lightweight_migrations()/create_all-at-import-time in
      database.py with Alembic, which both sides now share as the single source of
      truth for schema; generated a new migration for the 7 tables origin/dev added
      (Correction, RemixJob, Channel, ChannelFollow, VibeSet, VibeSetTrack, AudioStory,
      ChannelShowcase).
    - Fixed a real bug surfaced by the merge: remix_engine.py and remix.py hardcoded
      /root/antigrav-stax-audio/* for stem cache/temp/downloads, a different directory
      than storage.py's LOCAL_STORAGE_ROOT-based paths that main.py's /downloads mount
      actually serves - remix downloads would have 404'd. Both now share storage.py's
      paths.
    - deploy.sh and .gitlab-ci.yml now install CPU-only torch and libsndfile1, needed
      by the remix engine's demucs/librosa dependency chain.
    - test_channels.py::test_showcase_owner_only still posted to /social/posts without
      auth headers; updated to use the auth_as fixture like the rest of the suite.
    
    104 tests pass (up from 40 pre-merge + origin/dev's own suite, combined and
    de-duplicated).
    Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
    78e816ec
Name
Last commit
Last update
..
__init__.py Loading commit data...
auth.py Loading commit data...
channels.py Loading commit data...
discovery.py Loading commit data...
library.py Loading commit data...
music.py Loading commit data...
remix.py Loading commit data...
social.py Loading commit data...