Extract shared media backend library; remove dead multi-flavor app/binary
Adds mediaauth/mediacore/carriernodeclient/syncsocket packages under backend/, extracting everything genuinely cross-service (auth, shared media/tags/playlists/sync/profile routes, the CarrierNode HTTP client, the playback-sync websocket hub) out of the old media-backend monolith. The 7 media-family services (CarrierNode, ContentScanner, CraftStudio, MediaViewer, MediaKiosk, ModerationHub, ProjectConfigurator) each now have their own independent frontend and backend built on this library, instead of sharing one generic multi-flavor webui/media-backend selected by a MEDIA_SERVICE/VITE_MEDIA_APP flag. That generic app and binary (webui/, media-backend/) are now dead and removed here, along with their dedicated CI workflows. sync-consumers.ps1 and README.md updated to describe the new architecture. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2e6baaa70c
commit
d1a02a8c4d
80 files changed
+1139
-16583
No files matched your search
@@ -1,32 +0,0 @@
|
||||
name: Lint (media-backend)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ['**']
|
||||
paths:
|
||||
- 'media-backend/**'
|
||||
- '.github/workflows/media-backend-lint.yml'
|
||||
pull_request:
|
||||
branches: [main, master]
|
||||
paths:
|
||||
- 'media-backend/**'
|
||||
- '.github/workflows/media-backend-lint.yml'
|
||||
workflow_dispatch: {}
|
||||
|
||||
jobs:
|
||||
vet:
|
||||
name: Lint
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.26.x'
|
||||
cache-dependency-path: media-backend/go.sum
|
||||
- name: Vet backend
|
||||
working-directory: media-backend
|
||||
run: go vet ./...
|
||||
@@ -1,32 +0,0 @@
|
||||
name: Tests (media-backend)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ['**']
|
||||
paths:
|
||||
- 'media-backend/**'
|
||||
- '.github/workflows/media-backend-tests.yml'
|
||||
pull_request:
|
||||
branches: [main, master]
|
||||
paths:
|
||||
- 'media-backend/**'
|
||||
- '.github/workflows/media-backend-tests.yml'
|
||||
workflow_dispatch: {}
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Tests
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.26.x'
|
||||
cache-dependency-path: media-backend/go.sum
|
||||
- name: Test backend
|
||||
working-directory: media-backend
|
||||
run: go test ./...
|
||||
Reference in new issue
Block a user