Skip to content

Fix probe completion classification and expose per-profile threshold - #549

Merged
bttfw merged 2 commits into
krinkuto11:devfrom
bttfw:codex/probe-completion-544-20261110
Nov 10, 2026
Merged

bttfw merged 2 commits into
krinkuto11:devfrom
bttfw:codex/probe-completion-544-20261110

Conversation

@bttfw

@bttfw bttfw commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

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.

@bttfw
bttfw marked this pull request as ready for review November 10, 2026 10:15
@bttfw
bttfw merged commit b8ef494 into krinkuto11:dev Nov 10, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant