chore(dev): add fake Radarr mock and wire seed for arr-action testing#3014
Merged
Conversation
maintainerr-automation Bot
added a commit
that referenced
this pull request
Jun 2, 2026
* docs(changelog): add v3.13.0 breaking-changes notice Mirrors the PLEASE NOTE block published on the v3.13.0 GitHub release (global vs scoped exclusions, per-group exclusion scoping, section operator default). * build(deps-dev): bump turbo from 2.9.15 to 2.9.16 (#3005) Bumps [turbo](https://github.com/vercel/turborepo) from 2.9.15 to 2.9.16. - [Release notes](https://github.com/vercel/turborepo/releases) - [Changelog](https://github.com/vercel/turborepo/blob/main/RELEASE.md) - [Commits](vercel/turborepo@v2.9.15...v2.9.16) --- updated-dependencies: - dependency-name: turbo dependency-version: 2.9.16 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(rules): clarify libItem.id is the media server ID in resolve-failure warning Both the Radarr and Sonarr getters logged "Failed to resolve external IDs for 'X' with id 'Y'" where Y is libItem.id — the media server's internal item id (Plex ratingKey, Jellyfin item id), not a TMDB/external id. Multiple readers have misread it as a wrong stored TMDB id (issue #2990). Reword to "(media server ID 'Y')" so the field is self-explanatory. No behaviour change. * build(deps): bump nodemailer from 8.0.9 to 8.0.10 (#3006) Bumps [nodemailer](https://github.com/nodemailer/nodemailer) from 8.0.9 to 8.0.10. - [Release notes](https://github.com/nodemailer/nodemailer/releases) - [Changelog](https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md) - [Commits](nodemailer/nodemailer@v8.0.9...v8.0.10) --- updated-dependencies: - dependency-name: nodemailer dependency-version: 8.0.10 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump react-router-dom from 7.15.1 to 7.16.0 (#3007) Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 7.15.1 to 7.16.0. - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@7.16.0/packages/react-router-dom) --- updated-dependencies: - dependency-name: react-router-dom dependency-version: 7.16.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(dev): add fake Radarr mock and wire seed for arr-action testing (#3014) * fix: make collection handling failure notifications name the failing collection (#3013) * fix: use Radarr bulk exclusions endpoint to avoid duplicate 400 failure (#3012) * fix(collections): don't force-delete Seerr requests for episode rules (#3015) --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: maintainerr-automation[bot] <261505141+maintainerr-automation[bot]@users.noreply.github.com> Co-authored-by: enoch85 <mailto@danielhansson.nu> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Contributor
|
🎉 This PR is included in version 3.14.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The dev seed mocks the media server (fake-jellyfin / fake-plex) but had no *arr mock, so the collection-handler → RadarrActionHandler flow (DELETE / UNMONITOR / "add import list exclusion") couldn't be driven locally. This adds that piece.
tools/dev/fake-radarr.mjs— minimal mock Radarr v3 (:7878, the URL the seed already configures). Resolves anytmdbIdto a movie (id == tmdbId), and faithfully replicates Radarr's exclusion semantics:POST /exclusions/bulkde-dupes server-side (idempotent), singularPOST /exclusionsreturns HTTP 400 on a duplicate.seed-db.mjs— collections now carryarrAction/listExclusions, and movie media get a deterministictmdbIdso the action handler resolves them without the media server. "Stale Movies" is seeded as UNMONITOR + listExclusions (exercises the exclusion path); the show collection is DO_NOTHING since there's no fake Sonarr.POST /api/collections/handleworkflow.Run: start
fake-jellyfin+fake-radarr, seed, start the app, thenPOST /api/collections/handle.