Repository navigation
Fix probe completion classification and expose per-profile threshold - #549
Merged
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.
Successful UHD probes can be marked unstable when wall-clock runtime is below 80% of the requested window. Use plausible continuous media progress, successful FFmpeg exit and usable measurements to recognize accelerated probes; retries and final classification share the same decision.
Add an advanced Minimum Probe Completion (%) setting to each profile under Settings -> Profiles -> Edit profile -> Stream Checking, defaulting to 80%. Zero disables only the duration rule. Probe/network errors and enabled blank/freeze checks remain effective. Preserve timing/exit evidence in stream statistics and document the existing separate FFmpeg-duration setting. Credit @teffi71 for #544.
Validation passed on final head
d666a02ef94458f86cb606f3e5128a7520d28295: all six required checks, including stable backend, integration contracts, frontend build/tests and both CodeQL analyses. Local verification includes 32 completion/parser/error regressions, 68 integration contracts and 334 frontend tests. The stable backend suite passed locally; final Linux CI includes all 2,410 cases. Existing backend skips are unchanged.Native Unraid DockerMan installation/update preserved configuration and profiles; installed backend hashes match the PR head. Controlled real HEVC 3840x2160/50-FPS media covered 18.68 seconds of a 20-second window in 9.94 wall-clock seconds and passed via media timing. Short-sample, HTTP/FFmpeg-error, blank and freeze cases passed their expected classifications, including protection with a 0% threshold. Four actual API channel checks verified explicit 80%/0% profiles in parallel and sequential modes, with the effective values and verdicts persisted in Dispatcharr. The original reporter's transport-specific cause still awaits logs.
Live UI navigation and save/reload/API roundtrips for 65/0/80 passed on desktop and mobile in dark mode, with no browser errors or persistent overflow. Help includes a cropped 407x132 JPEG of the real setting (14 KB), not a full-screen capture. Native source/configuration proof and the served reference asset match the final revision. Production containers/templates were preserved.
AMD64/ARM64 candidate image build: https://github.com/bttfw/streamflow/actions/runs/42796716304
Refs #544.