Repository navigation
feat: per-pass tag filters (missing / cutoff / upgrade) - #834
Open
eric-engberg wants to merge 1 commit into
Open
eric-engberg wants to merge 1 commit into
eric-engberg wants to merge 1 commit into
Conversation
The instance-wide tag filter applies to every pass, so a series that
must not be upgraded can only be excluded from missing searches too.
Each pass now has optional include / exclude overrides. A blank
override falls back to the instance-wide list of the same direction,
so existing instances filter exactly as before.
Schema v22 adds six tag_filter_{missing,cutoff,upgrade}_{include,
exclude} columns with empty defaults. The /tag lookup still runs once
per cycle and is skipped when no enabled pass carries labels.
Closes av1155#833
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 of 17 tasks
This branch has not been deployed
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.
Summary
Adds optional per-pass tag filter overrides so an item can be kept out of the cutoff and upgrade passes while its missing items are still searched. Each pass section in the instance form gets its own
Tag Include/Tag Excludepair. A blank override falls back to the instance-wideTag Filter · Include/Tag Filter · Exclude, one direction at a time, so existing instances filter exactly as before.Closes #833
Changes
Missing Tag Include / Exclude(Search Policy),Cutoff Tag Include / Exclude(Cutoff Upgrades) andUpgrade Tag Include / Exclude(Library Upgrades), with tooltips explaining the fallback.tag_filter_{missing,cutoff,upgrade}_{include,exclude}TEXT columns with empty defaults oninstances.TagFilterPolicycarries the six overrides and afor_pass()lookup that applies the per-direction fallback./tagGET per cycle and now resolves labels for each pass separately. The GET is skipped when no enabled pass has labels, and unknown labels are logged once per cycle across all passes.Tag filter cutoff exclude: ...).Testing
All checks pass. New tests cover the v22 migration and self-heal, the fallback rules, per-pass resolution sharing one
/tagGET, the settings form round trip, and the issue's case end to end: a tagged Sonarr series is searched by the missing pass and skipped by the cutoff pass, and the same for a Radarr upgrade.Type of Change
fix:)feat:)refactor:)docs:)ci:)chore:)Checklist
Closes #Ntype:*and onepriority:*labelphase:*label (or none when not roadmap work)feat/<slug>,fix/<slug>, etc.)mypy src/)ruff check .)ruff format --check .)🤖 Generated with Claude Code