Skip to content

Commit b3ae3e9

Browse files
committed
FEATURE-ci-v3-runtime-green: document the pipe-rig payload bound in PORTABILITY
1 parent e16870f commit b3ae3e9

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

‎test/PORTABILITY.md‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,25 @@ blocks.
207207
POSIX type to cast to), not a coverage loss for any production
208208
call site.
209209

210+
### `response_source_rig.hpp` — `filled_pipe` payload bound (all platforms)
211+
212+
- **Symptom**: the rig constructor writes the whole payload through a
213+
blocking fd before any reader exists. An 8192-byte payload hung
214+
FreeBSD acceptance runs twice (2026-10-30 and 2026-11-30,
215+
`threaded_pipe_sends_single_winner`, killed at the 600s wrapper
216+
bound); macOS (16 KiB) and Linux (64 KiB) pipe capacities masked it.
217+
- **Root cause**: POSIX kernel pipe capacities are fixed and small —
218+
the supported floor is FreeBSD's 8 KiB default
219+
(`kern.ipc.maxpipedata`). Unlike the Windows branch (which sizes its
220+
own `_pipe` buffer to the payload), a POSIX rig cannot raise the
221+
kernel capacity portably (`F_SETPIPE_SZ` is not available
222+
everywhere).
223+
- **Repair in force**: every `filled_pipe` payload stays at or under
224+
4096 bytes (documented on the class). Any future pipe-feeding test
225+
must respect the same bound; payloads do not need to be large — the
226+
pipe sources verify streaming and one-shot semantics, not
227+
throughput.
228+
210229
## Adding a new entry
211230

212231
1. Add a `// reason: <one-liner>` comment within the 5 lines immediately

0 commit comments

Comments
 (0)