Repository navigation
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1cdb9fc846
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| externalServiceSlug: sonarrSeries.titleSlug, | ||
| title: sonarrSeries.title, | ||
| is4k: server4k, | ||
| deferStatusReset: true, |
There was a problem hiding this comment.
Preserve monitored episode selections during reconciliation
When a request contains specific episode numbers, SonarrAPI.addSeries deliberately leaves the containing season unmonitored and monitors the selected episodes individually (server/api/servarr/sonarr.ts:642-645,681-686). Enabling deferred reconciliation here therefore classifies a valid partial or watch-ahead request with no downloaded files as an abandoned season because processSonarrSeries only checks season.monitored; the resolver then declines every approved selection for that season on the next successful scan even though Sonarr is still monitoring its requested episodes. Inspect episode-level monitoring or exempt episode-specific selections before settling the season.
AGENTS.md reference: AGENTS.md:L75-L77
Useful? React with 👍 / 👎.
|
This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged. |
|
The changes in this pull request are already on main (merged separately with the scanner reconciliation work), so there is nothing left to merge. Closing. |
|
Resolution audit: superseded by implementation on main. Source/successor commit is an ancestor of main. |
Description
Recover approved Radarr and Sonarr requests when a complete scan confirms that a movie or TV season is unmonitored and unavailable. This includes older rows already marked UNKNOWN, while preserving same-quality active work, service identity, and delivered seasons so the abandoned selection can be requested again.
The already-UNKNOWN state can persist after earlier scans, so this PR also releases those approved requests. It includes the SeerrNG cross-ID guard in #209, which this reconciliation depends on.
Codex assisted with the repository review, implementation, and regression tests. The maintainer authorized this work.
How Has This Been Tested?
pnpm typecheck:serverpassed after this follow-up; client typecheck passed on the original change.git diff --checkpassed.pnpm ui-style:checkpassed on the original change; this follow-up changes no UI.pnpm release-notes:preview --base origin/main --head HEADpassed.Screenshots / Logs (if applicable)
No screenshots; visual inspection could not be completed because the isolated desktop workspace did not start.
Release Notes
release-notes/.pnpm release-notes:preview.Checklist:
pnpm buildpnpm i18n:extract