Repository navigation
Commit f821d40
committed
FEATURE-ci-v3-runtime-green: bound the pipe payload and drive the truncated send to completion
Both fixes answer second FreeBSD recurrences with retained evidence
(run 46508507388, platform-FreeBSD-failure-evidence, tls-no make check
test-suite.log):
response_sources hung at threaded_pipe_sends_single_winner twice
(exit 124 both times under the stage-11 timeout wrapper). The rig
constructor writes the whole payload through a blocking fd before any
reader exists, so the payload must fit the kernel pipe capacity;
FreeBSD's default is 8 KiB and this was the only pipe payload at that
boundary (every other pipe payload is <= 4096). The race semantics
need only an identical body across the four threads, so the payload
drops to 4096 with a 2x margin, and the rig now documents the POSIX
payload bound next to the stage-14 Windows sizing note.
response_definition failed checks 846/847 twice in
file_send_truncated_mid_send_fails: after the wake round, done stayed 0.
Every library path reaches the spawn callback within one drain-and-pump
round, so the extra completion (a stream-buffer tail served after the
truncation, parking the exactly-full queue once more, or one additional
executor round) is now tolerated by a bounded drive; the checked first
drain and both original assertions are unchanged, and a permanent stall
still fails them with the same evidence.1 parent de00209 commit f821d40
3 files changed
Lines changed: 25 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
843 | 843 | | |
844 | 844 | | |
845 | 845 | | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
846 | 857 | | |
847 | 858 | | |
848 | 859 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
169 | 176 | | |
170 | 177 | | |
171 | 178 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
939 | 939 | | |
940 | 940 | | |
941 | 941 | | |
942 | | - | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
943 | 949 | | |
944 | 950 | | |
945 | 951 | | |
| |||
0 commit comments