Make framed worker and readiness test gates deterministic #153

Merged
dohertj2 merged 1 commits from fix/framed-worker-test-gates into main 2026-10-13 09:59:46 -04:00
Owner

Gated fake workers cancelled and restarted framed pipe reads every50ms, so a gate wakeup after partial frame consumption could corrupt the next frame. Keep one outstanding read with lifetime cancellation and select it against emission signals; drain pending operations during shutdown. Replace the readiness fixture's unawaited wall-clock delay with controlled time and explicit state gates. Production is unchanged.

Validation: deterministic segmented-frame RED reproduced invalid length1930498561; corrected targeted54 and fullGateway1,196 tests pass with zero failures/skips. New lifetime cancellation/disposal cases pass. Independent review found no material defects. Hosted CI is the remaining closure gate for #151. Historical incident causality is not uniformly established; #150 retains other resource/checkout and root-cause investigations.

Gated fake workers cancelled and restarted framed pipe reads every50ms, so a gate wakeup after partial frame consumption could corrupt the next frame. Keep one outstanding read with lifetime cancellation and select it against emission signals; drain pending operations during shutdown. Replace the readiness fixture's unawaited wall-clock delay with controlled time and explicit state gates. Production is unchanged. Validation: deterministic segmented-frame RED reproduced invalid length1930498561; corrected targeted54 and fullGateway1,196 tests pass with zero failures/skips. New lifetime cancellation/disposal cases pass. Independent review found no material defects. Hosted CI is the remaining closure gate for #151. Historical incident causality is not uniformly established; #150 retains other resource/checkout and root-cause investigations.
dohertj2 added 1 commit 2026-10-13 09:45:45 -04:00
Preserve framed reads across fake worker emission gates
ci / windows-x86 (push) Successful in 1m20s
ci / nightly-windev (push) Has been skipped
ci / java (push) Successful in 2m17s
ci / windows-x86 (pull_request) Successful in 1m25s
ci / nightly-windev (pull_request) Has been skipped
ci / java (pull_request) Successful in 2m27s
ci / portable (push) Successful in 9m43s
ci / portable (pull_request) Successful in 9m47s
42c120aa83
dohertj2 merged commit d779daf6af into main 2026-10-13 09:59:46 -04:00
Sign in to join this conversation.