feat!: establish the v3 platform overhaul

This commit is contained in:
joshpatra committed 2026-07-13 20:31:09 -04:00
1 parent 3836a91397
commit d684609459
755 files changed
+99456 -43679

No files matched your search

+15 -4
View File
@@ -1,6 +1,6 @@
---
name: Bug Report
about: Create a report to help us fix stuff
about: Report a reproducible problem with Allstarr
title: "[BUG] Issue with ..."
labels: bug
assignees: SoPat712
@@ -20,6 +20,14 @@ Steps to reproduce the behavior:
3. Scroll down to '...'
4. See error
## Deployment
- Install type: [Standard Compose / AIO Compose / local development / other]
- Allstarr image tag or commit:
- Host architecture: [amd64 / arm64]
- Backend: [Jellyfin / Navidrome / other Subsonic server]
- Fresh install: [Yes / No]
## Expected behavior
A clear and concise description of what you expected to happen.
@@ -31,12 +39,13 @@ Add any other context, screenshots, or surrounding details here.
## Safe diagnostics from Allstarr
- Sensitive values stay redacted in this block.
- Allstarr Version: [e.g. v1.5.3]
- Allstarr Version: [image tag or commit]
- Backend Type: [e.g. Jellyfin]
- Music Service: [e.g. SquidWTF]
- Storage Mode: [e.g. Cache]
- Download Mode: [e.g. Track]
- Redis Enabled: [e.g. Yes]
- Storage: [Postgres version and readiness state]
- Valkey Enabled: [e.g. Yes]
- Spotify Import Enabled: [e.g. Yes]
- Scrobbling Enabled: [e.g. Disabled]
- Spotify Status: [e.g. Spotify Ready]
@@ -45,7 +54,9 @@ Add any other context, screenshots, or surrounding details here.
- Generated At (UTC): [e.g. 2026-04-19T02:18:52.483Z]
- Browser Time Zone: [e.g. America/New_York]
## docker-compose.yaml (optional)
## Rendered Compose configuration (optional)
Run `docker compose config` and remove secrets before pasting it.
```yaml
+8 -1
View File
@@ -23,6 +23,12 @@ A clear and concise description of any alternative solutions or workarounds you'
Add any other context or screenshots about the feature request here.
## Relevant integrations
- Backend: [Jellyfin / Navidrome / other Subsonic server / any]
- Providers or sidecars involved:
- Should this work per user, per library, or globally?
## Safe diagnostics from Allstarr (optional)
- Sensitive values stay redacted in this block.
@@ -31,7 +37,8 @@ Add any other context or screenshots about the feature request here.
- Music Service: [e.g. SquidWTF]
- Storage Mode: [e.g. Cache]
- Download Mode: [e.g. Track]
- Redis Enabled: [e.g. Yes]
- Storage: [Postgres version and readiness state]
- Valkey Enabled: [e.g. Yes]
- Spotify Import Enabled: [e.g. Yes]
- Scrobbling Enabled: [e.g. Disabled]
- Spotify Status: [e.g. Spotify Ready]
+51 -3
View File
@@ -2,17 +2,32 @@ name: CI
on:
push:
branches: [master, dev]
branches: [main, master, dev, beta]
pull_request:
types: [opened, synchronize, reopened]
branches: [master, dev]
branches: [main, master, dev, beta]
env:
DOTNET_VERSION: "9.0.x"
DOTNET_VERSION: "10.0.301"
ALLSTARR_TEST_POSTGRES: "Host=127.0.0.1;Port=5432;Database=allstarr_test;Username=allstarr;Password=ci-postgres-password;SSL Mode=Disable"
jobs:
build-and-test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:18.4-alpine3.23@sha256:996d0920e4ff9df1fc19dacb904492f3c1ec0ec1cc338f0ad7123be7731c5f5e
env:
POSTGRES_DB: allstarr_test
POSTGRES_USER: allstarr
POSTGRES_PASSWORD: ci-postgres-password
ports:
- 5432:5432
options: >-
--health-cmd "pg_isready -U allstarr -d allstarr_test"
--health-interval 5s
--health-timeout 5s
--health-retries 20
steps:
- name: Checkout
@@ -23,6 +38,33 @@ jobs:
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install PostgreSQL 18 client
shell: bash
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends ca-certificates curl
sudo install -d /usr/share/postgresql-common/pgdg
sudo curl --fail --silent --show-error \
--output /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc \
https://www.postgresql.org/media/keys/ACCC4CF8.asc
. /etc/os-release
printf '%s\n' \
'Types: deb' \
'URIs: https://apt.postgresql.org/pub/repos/apt' \
"Suites: ${VERSION_CODENAME}-pgdg" \
"Architectures: $(dpkg --print-architecture)" \
'Components: main' \
'Signed-By: /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc' \
| sudo tee /etc/apt/sources.list.d/pgdg.sources >/dev/null
sudo apt-get update
sudo apt-get install -y --no-install-recommends postgresql-client-18
pg_dump --version
- name: Restore dependencies
run: dotnet restore
@@ -31,3 +73,9 @@ jobs:
- name: Test
run: dotnet test --configuration Release --no-build --verbosity normal
- name: Validate Compose contracts
run: |
docker compose -f docker-compose.yml config --quiet
docker compose -f docker-compose.yml -f docker-compose.dev.yml config --quiet
docker compose -f docker-compose.yml -f docker-compose.aio.yml config --quiet
+52 -7
View File
@@ -5,18 +5,30 @@ on:
push:
tags: ["v*"]
branches: [main, beta]
pull_request:
types: [closed]
branches: [main, beta]
env:
DOTNET_VERSION: "10.0.x"
DOTNET_VERSION: "10.0.301"
ALLSTARR_TEST_POSTGRES: "Host=127.0.0.1;Port=5432;Database=allstarr_test;Username=allstarr;Password=ci-postgres-password;SSL Mode=Disable"
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:18.4-alpine3.23@sha256:996d0920e4ff9df1fc19dacb904492f3c1ec0ec1cc338f0ad7123be7731c5f5e
env:
POSTGRES_DB: allstarr_test
POSTGRES_USER: allstarr
POSTGRES_PASSWORD: ci-postgres-password
ports:
- 5432:5432
options: >-
--health-cmd "pg_isready -U allstarr -d allstarr_test"
--health-interval 5s
--health-timeout 5s
--health-retries 20
steps:
- name: Checkout
@@ -27,6 +39,33 @@ jobs:
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install PostgreSQL 18 client
shell: bash
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends ca-certificates curl
sudo install -d /usr/share/postgresql-common/pgdg
sudo curl --fail --silent --show-error \
--output /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc \
https://www.postgresql.org/media/keys/ACCC4CF8.asc
. /etc/os-release
printf '%s\n' \
'Types: deb' \
'URIs: https://apt.postgresql.org/pub/repos/apt' \
"Suites: ${VERSION_CODENAME}-pgdg" \
"Architectures: $(dpkg --print-architecture)" \
'Components: main' \
'Signed-By: /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc' \
| sudo tee /etc/apt/sources.list.d/pgdg.sources >/dev/null
sudo apt-get update
sudo apt-get install -y --no-install-recommends postgresql-client-18
pg_dump --version
- name: Restore dependencies
run: dotnet restore
@@ -36,14 +75,20 @@ jobs:
- name: Test
run: dotnet test --configuration Release --no-build --verbosity normal
- name: Validate Compose contracts
run: |
docker compose -f docker-compose.yml config --quiet
docker compose -f docker-compose.yml -f docker-compose.dev.yml config --quiet
docker compose -f docker-compose.yml -f docker-compose.aio.yml config --quiet
docker:
needs: build-and-test
runs-on: ubuntu-latest
# Only run docker build/push on merged PRs, tags, or manual triggers
# Publish only from an explicit dispatch or a branch/tag push. Pull requests
# are tested by CI and do not have a stable image tag to publish.
if: |
github.event_name == 'workflow_dispatch' ||
github.event_name == 'push' ||
(github.event_name == 'pull_request' && github.event.pull_request.merged == true)
github.event_name == 'push'
permissions:
contents: read