Repository navigation
Fix grace-period checks bypassing channel limits and ordering - #550
Merged
bttfw merged 1 commit intoNov 14, 2026
Merged
Conversation
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.
Grace-period checks returned early when the assigned stream IDs were unchanged. This bypassed the current profile's channel limit, soft provider cap and resolution-first ordering: a channel with 20 recently checked sources could retain all 20 at a configured limit of 10, with cached 720p sources ahead of 1080p.
Reuse cached measurements while continuing through the normal scoring, selection and verified write-back path. This keeps probe immunity and active-viewer protection. Provider Stream Cap remains a soft diversity preference.
Validation:
c1961eb8was installed and updated through the native container template manager. Source hash, health/readiness, configuration preservation and visible profile settings were verified. The fully cached regression now trims to 10 and orders measured resolution correctly without new probes.Fixes #548
Post-merge verification: official
dev-20261114/e5b767aewas installed through the native template manager. Its source matches the tested candidate, application settings and profiles survived the update, fully cached checks trim 20 to 10, real cached 1080p measurements sort before 720p without new probes, and two more complete automation cycles finish at 10 unique assignments. Dev Tests, CodeQL and the official multiarch image build all passed.Build note: the additional
pull_request: closedpublisher run 43578804861 failed because its fork event token cannot write the GHCR package. The official dev push build 43578804102 succeeded and produced the verified image.