test(decode): wait for the read-ahead before the demand loads that must meet it #15

Merged
Alby96 merged 1 commits from fix/decode-readahead-test into main 2026-11-04 11:01:21 +01:00
1 Commits
Author SHA1 Message Date
Alby96andClaude Opus 5.5 e7c59a026b test(decode): wait for the read-ahead before the demand loads that must meet it
CI / Build and test (pull_request) Successful in 10m39s
CI / Windows tests and installer (pull_request) Skipped
CI / YAML check (pull_request) Successful in 13s
CI / PostgreSQL 16 integration (pull_request) Successful in 9m55s
CI / PostgreSQL 17 integration (pull_request) Successful in 10m33s
CI / Docker image (pull_request) Successful in 53s
ADemandLoadWaitsForTheReadAheadOfADevelopingWindow counted on the
read-ahead starting on the thread pool before the next frames were
asked for. On a busy runner it had not begun, only the four demanded
frames were decoded, and the rc.8 release and main's PostgreSQL 16 job
failed on 'Decodes > 4'. The test now waits, within the CI time budget,
until the read-ahead develops a frame of its own; the one-development
limit it checks is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 10:12:43 +01:00