assemblrr/tests/unit
soulis-1256 9ac07caf12
Scope TV request-delete to requested seasons
Seerr's DELETE /api/v1/media/:id/file is title-scoped and would wipe
every remaining season. For a TV request that is only a subset, the
gateway now deletes those Sonarr episode files and unmonitors them,
then drops the request. Movies and last remaining seasons still use
the title-level cascade.

media-purge --seasons and the inotify watcher match that: a season
path never title-purges (other seasons may only be monitored). qB
cleanup requires a season token, refuses multi-season and S01-03
packs, and uses the same title-boundary rules as title-level. *arr
recycle bin is /data/media/.recycle with 7-day cleanup.

Sonarr uncertainty (missing key, failed episodefile list, empty TV
season list) returns 502 and leaves the request. The gateway mounts
config/sonarr/ as a directory so first install cannot replace
config.xml with a Docker-created directory.
2026-08-16 12:04:27 +03:00
..
test_compose.sh Add unit/integration tests under tests/ and clean up related docs 2026-08-05 13:43:45 +03:00
test_compose_config.sh Use .env.example as the env template and cover it with tests 2026-08-05 14:01:04 +03:00
test_config_edit.sh Add modular config edit and wait for healthy services 2026-08-13 21:50:59 +03:00
test_core.sh Add unit/integration tests under tests/ and clean up related docs 2026-08-05 13:43:45 +03:00
test_env_example.sh Use .env.example as the env template and cover it with tests 2026-08-05 14:01:04 +03:00
test_fzf_tui.sh Add modular config edit and wait for healthy services 2026-08-13 21:50:59 +03:00
test_jellyfin_refresh.sh Fix Jellyfin empty-series after Sonarr season-pack imports 2026-08-14 11:45:10 +03:00
test_media_purge_match.sh Use synthetic titles in media-purge match self-tests. 2026-08-12 14:29:40 +03:00
test_media_purge_watch.sh Scope TV request-delete to requested seasons 2026-08-16 12:04:27 +03:00
test_prepare_install_dirs.sh Drop Portainer from default stack; harden upgrade and setup UX 2026-08-12 15:26:21 +03:00
test_qbit_prefs.sh Add modular config edit and wait for healthy services 2026-08-13 21:50:59 +03:00
test_seerr_gateway.sh Scope TV request-delete to requested seasons 2026-08-16 12:04:27 +03:00
test_ui.sh Add modular config edit and wait for healthy services 2026-08-13 21:50:59 +03:00
test_upgrade.sh Add modular config edit and wait for healthy services 2026-08-13 21:50:59 +03:00
test_vpn_secrets.sh Add unit/integration tests under tests/ and clean up related docs 2026-08-05 13:43:45 +03:00