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
Owner

The v0.1.0-rc.8 release (run 91) and main's PostgreSQL 16 job (run 90) both failed on one test: DecodeParallelismTests.ADemandLoadWaitsForTheReadAheadOfADevelopingWindow, with Decodes > 4 returning 4.

  • Cause: the test counted on the window's read-ahead starting on the thread pool before the next frames were requested. On the busy shared runner it had not started, so only the four requested frames were decoded.
  • Fix: after the first requested frame, the test now waits, within the CI time budget (TestTiming.Budget), until the read-ahead decodes a frame of its own. The real check, at most one development at a time (Peak == 1), is unchanged.
  • Product code: no changes.

Once this is merged, v0.1.0-rc.8 is tagged again on the new main; its first release run built nothing and published nothing.

🤖 Generated with Claude Code

The `v0.1.0-rc.8` release (run 91) and `main`'s PostgreSQL 16 job (run 90) both failed on one test: `DecodeParallelismTests.ADemandLoadWaitsForTheReadAheadOfADevelopingWindow`, with `Decodes > 4` returning 4. - **Cause:** the test counted on the window's read-ahead starting on the thread pool before the next frames were requested. On the busy shared runner it had not started, so only the four requested frames were decoded. - **Fix:** after the first requested frame, the test now waits, within the CI time budget (`TestTiming.Budget`), until the read-ahead decodes a frame of its own. The real check, at most one development at a time (`Peak == 1`), is unchanged. - **Product code:** no changes. Once this is merged, `v0.1.0-rc.8` is tagged again on the new `main`; its first release run built nothing and published nothing. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Alby96 added 1 commit 2026-11-04 10:13:20 +01:00
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
e7c59a026b
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>
Alby96 merged commit 30a5b03f37 into main 2026-11-04 11:01:21 +01:00
Alby96 deleted branch fix/decode-readahead-test 2026-11-04 11:01:22 +01:00
Sign in to join this conversation.