Skip to content

ci: fix flaky $zstd_ratio log race in ASAN smoke test#51

Merged
eilandert merged 1 commit into
masterfrom
fix/asan-ratio-log-race
Jun 10, 2026
Merged

ci: fix flaky $zstd_ratio log race in ASAN smoke test#51
eilandert merged 1 commit into
masterfrom
fix/asan-ratio-log-race

Conversation

@eilandert

Copy link
Copy Markdown
Owner

$zstd_ratio is written in nginx's log phase (after the response body is flushed), so test_encoding.py could read logs/zstd_ratio.log before the line was written — intermittent under the slower ASAN binary, failing as "the ratio code path did not run" (e.g. master run 27309940739). validate_ratio_log now polls for the line (10s budget) instead of reading once.

No behavior change to the module; test-harness only.

$zstd_ratio is written in nginx's log phase (after the response body is
flushed), so test_encoding.py could read logs/zstd_ratio.log before the
line was written — intermittent under the slower ASAN binary, failing as
"the ratio code path did not run". validate_ratio_log now polls for the
line (10s budget) instead of reading once.
@eilandert eilandert merged commit a98e93c into master Jun 10, 2026
4 checks passed
@eilandert eilandert deleted the fix/asan-ratio-log-race branch June 10, 2026 22:57
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