Skip to content

fix: avoid false decoder timeouts under continuous output - #189

Merged
vitormattos merged 1 commit into
mainfrom
fix/extract-decoder-drain-20261122
Nov 22, 2026
Merged

vitormattos merged 1 commit into
mainfrom
fix/extract-decoder-drain-20261122

Conversation

@vitormattos

Copy link
Copy Markdown
Member

Summary

  • Drain busy decoder stdout/stderr promptly without weakening extraction size, entry or time limits.
  • Add a regression for sustained stderr output alongside existing stdout coverage.

Evidence

  • The previous ResourceLimitedProcessTest::testLargeStdoutDoesNotBlockAValidDecoder failed with reason=timeout on the baseline code and passed after the change.
  • Isolated process supervisor tests: 18 tests / 50 assertions passed (preceding pass), plus two targeted stdout/stderr tests / 4 assertions passed.
  • Combined local test suite with pending XZ/Zstandard changes: 82 tests / 380 assertions passed.

Scope

No release, changelog, version or upstream configuration changes. Please retain the independent DCO-signed commit (no squash).

Preserve resource limits while avoiding false timeouts when a decoder
produces sustained stdout or stderr. Add a regression for stderr.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos
vitormattos merged commit c72aaaf into main Nov 22, 2026
29 checks passed
@vitormattos
vitormattos deleted the fix/extract-decoder-drain-20261122 branch November 22, 2026 22:13
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