Skip to content

ci: run the 3.5.0 testsuite over loopback TCP on every pull request - #7408

Merged
oferchen merged 1 commit into
masterfrom
ci/wire-350-tcp-legs
Aug 20, 2026
Merged

oferchen merged 1 commit into
masterfrom
ci/wire-350-tcp-legs

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Problem

The 3.5.0 conformance suite has four legs - {nonroot,root} x {pipe,tcp} - but
only the two pipe legs ran on pull requests. The tcp legs existed solely as
standalone badge workflows on workflow_dispatch + cron, so no pull request
ever validated them: a regression could only surface the next morning, already
merged.

The two transports are not redundant. The pipe leg uses upstream's secure
default - a stdio socketpair with no listening socket - so it never reaches
accept(), the hosts allow/hosts deny decision, or peer-address
resolution. Those are precisely the surfaces the 3.5.0 daemon fixes live on,
which is the axis a pipe-only gate cannot see.

Change

Call the existing reusable workflow a second time with transport: tcp under
job id upstream-testsuite-tcp, and add the matching pair of ci-skip stubs.

Published contexts go from 2 to 4:

pipe tcp
non-root upstream-testsuite / upstream testsuite upstream-testsuite-tcp / upstream testsuite
root upstream-testsuite / upstream testsuite (root) upstream-testsuite-tcp / upstream testsuite (root)

The tcp legs pass --daemon-tests-only, which is the pairing upstream ships
the option for, so they select the 155 transport-observing tests rather than
all 345 and carry their own manifests sized to match. The driver derives that
expected size from upstream's own select_daemon_tests(), so a short manifest
is still refused.

ci-skip.yml reuses the same stub workflow rather than a copy - the job id
supplies the differing prefix, and one file stays the owner of "which contexts
the testsuite publishes". A copy is what drifts when a third leg is added.

Both halves ship in one commit deliberately: a new context in ci.yml without
its skip-path stand-in leaves any doc-only pull request waiting forever on a
context that never arrives.

Verification

Validated by extracting the committed YAML back out with yaml.safe_load and
computing the published contexts from both files, rather than eyeballing the
diff:

  • ci.yml and ci-skip.yml publish the same 4 contexts, exact string match.
  • Non-vacuity proven: renaming the skip job to ...-TYPO makes the parity
    check report a mismatch, so it can actually fail.
  • No job name: in the reusable workflow is an expression - a skipped job would
    otherwise report the raw expression text and the context would never arrive.
  • Every with: key the caller passes is a declared input of the callee.
  • All four manifest paths exist; the tcp pair is 155 rows vs the pipe pair's
    345, confirming the daemon-only set is wired and not a copy of the pipe files.

Scope

Not registered as required status checks - that is a separate repo-admin
action. Until then these report without blocking, which still replaces "never
measured on a pull request" with "visible on every pull request".

The four 3.5.0 legs are {nonroot,root} x {pipe,tcp}, but only the two pipe
legs ran on pull requests. The tcp legs existed solely as standalone badge
workflows on workflow_dispatch + cron, so no pull request ever validated
them and a regression could only surface the next morning, already merged.

The transports are not redundant. The pipe leg uses upstream's secure
default - a stdio socketpair with no listening socket - so it never reaches
accept(), the hosts allow/hosts deny decision, or peer-address resolution.
Those are the surfaces the 3.5.0 daemon fixes live on, which is exactly the
axis a pipe-only gate cannot see.

Call the existing reusable workflow a second time with transport: tcp under
job id `upstream-testsuite-tcp`, so it reports as
`upstream-testsuite-tcp / upstream testsuite` and `... (root)`. The tcp legs
pass --daemon-tests-only and therefore select 155 transport-observing tests
rather than all 345, and carry their own manifests sized to match; the
driver derives that expected size from upstream's own select_daemon_tests(),
so a short manifest is still refused.

ci-skip.yml gains the matching pair from the SAME stub workflow rather than
a copy - the job id supplies the differing prefix. Both halves ship in one
commit: a new context in ci.yml without its skip-path stand-in leaves any
doc-only pull request waiting forever on a context that never arrives.

Not yet registered as required status checks; that is a separate repo-admin
action. Until then these report without blocking, which still replaces
"never measured on a pull request" with "visible on every pull request".
@github-actions github-actions Bot added the ci label Aug 20, 2026
@oferchen
oferchen merged commit eb5d591 into master Aug 20, 2026
61 checks passed
@oferchen
oferchen deleted the ci/wire-350-tcp-legs branch August 20, 2026 20:57
oferchen added a commit that referenced this pull request Aug 24, 2026
…7408)

The four 3.5.0 legs are {nonroot,root} x {pipe,tcp}, but only the two pipe
legs ran on pull requests. The tcp legs existed solely as standalone badge
workflows on workflow_dispatch + cron, so no pull request ever validated
them and a regression could only surface the next morning, already merged.

The transports are not redundant. The pipe leg uses upstream's secure
default - a stdio socketpair with no listening socket - so it never reaches
accept(), the hosts allow/hosts deny decision, or peer-address resolution.
Those are the surfaces the 3.5.0 daemon fixes live on, which is exactly the
axis a pipe-only gate cannot see.

Call the existing reusable workflow a second time with transport: tcp under
job id `upstream-testsuite-tcp`, so it reports as
`upstream-testsuite-tcp / upstream testsuite` and `... (root)`. The tcp legs
pass --daemon-tests-only and therefore select 155 transport-observing tests
rather than all 345, and carry their own manifests sized to match; the
driver derives that expected size from upstream's own select_daemon_tests(),
so a short manifest is still refused.

ci-skip.yml gains the matching pair from the SAME stub workflow rather than
a copy - the job id supplies the differing prefix. Both halves ship in one
commit: a new context in ci.yml without its skip-path stand-in leaves any
doc-only pull request waiting forever on a context that never arrives.

Not yet registered as required status checks; that is a separate repo-admin
action. Until then these report without blocking, which still replaces
"never measured on a pull request" with "visible on every pull request".
oferchen added a commit that referenced this pull request Sep 1, 2026
* docs: align the upstream reference and testsuite gate to 3.5.0

The gate moved to the rsync 3.5.0 Python corpus on 2026-08-19 (#7387) and the
TCP legs followed on 2026-08-20 (#7408), but README.md and SECURITY.md still
described a 3.4.4-gated world and carried outcome figures that no longer match
the committed manifests.

Every number below is counted from tools/ci/upstream-3.5.0-expect.*.txt with

  awk '!/^#/ && NF {c[$NF]++; t++} END {print t, c["pass"], c["fail"], c["skip"]}'

  leg              pass  fail  skip  corpus   was
  non-root, pipe    254     6    85     345   252/8/89 of 349
  root, pipe        282     7    56     345   280/9/60 of 349
  non-root, tcp     101    21    33     155   100/22/36 of 158
  root, tcp         113    27    15     155   112/28/18 of 158

The corpus column was the durable error: it was already 345/155 when #7533 last
refreshed these tables, so the skip and corpus columns were carried forward
untouched while only the pass/fail pair was re-measured. Both docs now name the
command that produces the row, so the next refresh is a re-run rather than a
transcription. The divergence unions fall the same way: 7 distinct tests across
the two full-corpus legs, not 9, and 32 across all four, not 34.

Other corrections:

- The 3.4.4 shell corpus is not run by any workflow. _interop.yml states
  explicitly that it does not drive it, and run_upstream_testsuite.sh defaults
  to UPSTREAM_VERSION=3.5.0. "Against 3.4.4 all tests pass and the roster is
  empty" was reporting an empty roster as a measurement.
- The interop version lists in two README sections were hand copies of
  versions= in tools/ci/run_interop.sh, which is what drifted last time. They
  now point at the script; the per-version protocol table stays, since it
  carries columns the script does not.
- The nightly 3.5.0dev tracker badge is removed from the badge row. Every other
  badge there is a gate, and "3.5.0dev" one glyph from "3.5.0" read as a fifth
  one. The workflow and its explanatory paragraph both stay - it tracks the
  moving RsyncProject master, which the release gate cannot see - but its header
  comment claimed the required gate was still pinned to 3.4.4, which is false.

CHANGELOG: the Unreleased section stopped at #7522. Added the 51 pull requests
merged since, grouped into the existing sections and derived from their titles
via git log v0.6.4..origin/master.

* docs: name the one dispatch-only workflow that still pins 3.4.4
oferchen added a commit that referenced this pull request Sep 4, 2026
… them (#7661)

`README.md` ships the exact `awk` command that reads a leg's expected-outcome
manifest and prints its pass/fail/skip counts. Running it disagrees with every
row of the table directly beneath it.

| row | documented | re-derived |
|---|---|---|
| non-root, pipe | 257 / 3 / 85 | **259 / 1 / 85** |
| root, pipe | 286 / 3 / 56 | **288 / 1 / 56** |
| non-root, tcp | 101 / 21 / 33 | **108 / 14 / 33** |
| root, tcp | 113 / 27 / 15 | **120 / 20 / 15** |

`SECURITY.md` carries the same four rows and the same two summary figures, so
both files drifted together. Corrected throughout, along with:

- **"3 of 345 tests currently diverge"** across the full-corpus legs. It is
  **one** - `filter-merge-content-echo` - and the README names it now rather
  than leaving the reader to count.
- **"29 across all four"** distinct failures. It is **23**, and across
  **five** manifests, not four: the README's own glob
  `tools/ci/upstream-3.5.0-expect.*.txt` has always matched the macOS file its
  prose excluded.
- **The macOS leg was missing from both tables.** It runs on every PR as
  `upstream-testsuite-macos` (`ci.yml`), on the full 345-cell corpus, with its
  own committed manifest. It is the only leg that can observe a
  platform-conditional divergence - one of its three remaining failures *skips*
  on Linux, so it had never executed in this repository's CI before the leg
  existed. Added as a fifth row, with its non-required status stated.
- **"the required checks being the two stdio-pipe legs."** All four Linux legs
  have been required contexts since #7408 wired the TCP pair into PR CI; the
  ruleset returns ten contexts, not eight.
- **`proxy protocol hosts` described as "not yet implemented"** and "still
  under audit" in two places. It shipped in #7648: parsed into a
  `ProxyProtocolPolicy` that mirrors upstream's `allow_proxy_protocol_peer()`,
  rejecting every peer when the trusted list is empty or unset, and warning at
  startup on the combination upstream warns about.
- **The `MAX_PROXY_LINE_BYTES` citation** pointed at `connect/proxy.rs:344`.
  The constant moved and, more usefully, stopped being a typed literal: it is
  now `PROXY_BUF_SIZE - 1`, so the doc records the derivation rather than a
  line number that will drift again.

The two macOS-leg rationale comments in the workflows carried the same pre-fix
counts and a failure list six entries out of date. Both are recounted from the
manifests.

`CHANGELOG.md` stopped at #7632, leaving the 26 PRs merged since then
unrecorded. Added under Security / Fixed / Testing and CI / Documentation.

## Why the numbers were wrong in a way reading could not catch

Every figure here is the outcome column of a committed manifest. The previous
values were transcribed once and then maintained by hand, so they decayed as
fixes landed - and a reader checking the table against the prose beside it
would find them perfectly consistent with each other.

The check that finds this class is re-running the derivation, not re-reading
the text, so that is what was done: a script recomputes all five legs and both
summary figures from `tools/ci/upstream-3.5.0-expect*.txt` and asserts the two
documents contain the results, with the superseded strings blacklisted so a
partial edit cannot pass. It also caught a live error in this changeset -
#7659 landed mid-review and flipped `operator-path-partial-dir-daemon`, taking
macOS from 236/4 to 237/3 and the distinct-failure count from 24 to 23. The
figures here are derived from master with that merge in place.
oferchen added a commit that referenced this pull request Sep 5, 2026
Linux has run {nonroot,root} x {pipe,tcp} since PR #7408. macOS ran nonroot
only, so the privilege axis - the cells that need real root - was covered on
one platform. This adds the two missing legs and consolidates the duplication
that adding them would otherwise have created.

WHY THE PRIVILEGE AXIS IS NOT REDUNDANT WITH LINUX

Crossing the committed Linux manifests puts ~29 cells in the set a macOS root
leg would newly RUN. They are not the chown/devices cells the old header
assumed: the set is dominated by the symlink-race and confinement family -
backup-dir-symlink-race, symlink-race-dest, temp-dir-symlink-injection,
daemon-module-chdir-symlink, operator-path-backup-symlink, and all five
chroot-*-inner-module. Those are exactly the cells whose Linux passes are
known to rest on Landlock rather than on the userspace confinement guard; that
guard was measured failing on BOTH platforms under a symlinked ancestor. macOS
has no Landlock, so it is the only place the guard is exercised unaided.

THE ~29 IS A PREDICTION AND IS SHIPPED AS ONE

Neither leg names a manifest yet. Each runs the whole corpus and emits its own
via EMIT_EXPECT_RESULT as an artifact, so the manifests come from an executed
run of the leg they describe. That is deliberate: the equivalent prediction for
the macOS tcp leg said 52 cells and the executed run gave 32, because cells
skip on macOS for platform reasons the Linux manifests cannot express. Until
the manifests are committed these two checks report the suite's genuine result,
which on a suite with known divergences means red. Both are non-required,
matching the macOS pipe leg.

CONSOLIDATION, BECAUSE OTHERWISE THIS WOULD ADD TWO MORE COPIES

The nonroot and root legs differ only in the sudo re-exec and their output
paths; six setup steps and a ~60-line summary renderer are identical. Adding
root by copy would have made a third and fourth copy of each - the Linux
workflow already carries two divergent copies of its own preamble.

  - .github/actions/upstream-testsuite-macos-setup: the six shared setup steps,
    now parameterised. Checkout stays in the caller, because a local `uses:`
    action cannot check out the tree it is loaded from.
  - tools/ci/summarize_upstream_testsuite.sh: the summary renderer, taking the
    log path and a heading. It exits 0 on a missing log on purpose - it runs
    under `if: always()` after a step that may have failed, and the job's
    conclusion must stay the testsuite's.

Net: one new job and its full setup cost 4 lines of YAML each rather than ~190.

NO NEW CALLER JOB, AND THAT WAS A CORRECTION

`variant` defaults to `all`, so the two existing macOS callers each publish
BOTH legs. This mirrors `_upstream-testsuite.yml`, whose callers pass no
variant at all.

The first version of this change instead added a caller per privilege leg with
`variant: 'root'` pinned. That works, but a caller pinned to one variant makes
the reusable workflow's OTHER job report a permanently SKIPPED check - four of
them across the two transports, which the check-name lint confirmed by counting
84 names instead of 80. Skipped checks nobody can act on are noise, and the
Linux idiom already avoided them. Corrected before landing.

VERIFICATION

The setup extraction was done by script, and the script asserts that every
non-trivial line of the removed block survives in the action. 120 of 129 lines
moved verbatim; the 9 it flagged are exactly the intended parameterisation -
three env.* -> inputs.*, the rust-cache key, and the reworded cache-key comment.

That comment is load-bearing and was updated with the code it explains: the
upstream-source cache key hashes the file that supplies CPPFLAGS/LDFLAGS,
because run_upstream_testsuite.sh skips ./configure when shconfig is present,
so a tree cached under a different flag set would be reused with its ORIGINAL
feature set and no step would notice. The flags now live in the action, so the
key hashes the action too.

Workflows verified by parsing the written YAML, not by re-reading the intended
edit: two jobs, correct `if:` guards, and artifact names, emitted manifest
paths and rust-cache keys all pairwise distinct - each is a per-run namespace,
so a collision would let one leg silently overwrite another's outcomes. The
check also asserts every composite `run:` step declares `shell:`, without which
the action fails to load at runtime naming no step.

Summariser exercised against a synthetic log carrying PASS/FAIL/UPASS/SKIP/
XFAIL rows: correct sections, exit 0. Check-name uniqueness lint: 84 names,
each with one publisher. tools tests: 86 passed, exit 0.
oferchen added a commit that referenced this pull request Sep 5, 2026
Linux has run {nonroot,root} x {pipe,tcp} since PR #7408. macOS ran nonroot
only, so the privilege axis - the cells that need real root - was covered on
one platform. This adds the two missing legs and consolidates the duplication
that adding them would otherwise have created.

WHY THE PRIVILEGE AXIS IS NOT REDUNDANT WITH LINUX

Crossing the committed Linux manifests puts ~29 cells in the set a macOS root
leg would newly RUN. They are not the chown/devices cells the old header
assumed: the set is dominated by the symlink-race and confinement family -
backup-dir-symlink-race, symlink-race-dest, temp-dir-symlink-injection,
daemon-module-chdir-symlink, operator-path-backup-symlink, and all five
chroot-*-inner-module. Those are exactly the cells whose Linux passes are
known to rest on Landlock rather than on the userspace confinement guard; that
guard was measured failing on BOTH platforms under a symlinked ancestor. macOS
has no Landlock, so it is the only place the guard is exercised unaided.

THE ~29 IS A PREDICTION AND IS SHIPPED AS ONE

Neither leg names a manifest yet. Each runs the whole corpus and emits its own
via EMIT_EXPECT_RESULT as an artifact, so the manifests come from an executed
run of the leg they describe. That is deliberate: the equivalent prediction for
the macOS tcp leg said 52 cells and the executed run gave 32, because cells
skip on macOS for platform reasons the Linux manifests cannot express. Until
the manifests are committed these two checks report the suite's genuine result,
which on a suite with known divergences means red. Both are non-required,
matching the macOS pipe leg.

CONSOLIDATION, BECAUSE OTHERWISE THIS WOULD ADD TWO MORE COPIES

The nonroot and root legs differ only in the sudo re-exec and their output
paths; six setup steps and a ~60-line summary renderer are identical. Adding
root by copy would have made a third and fourth copy of each - the Linux
workflow already carries two divergent copies of its own preamble.

  - .github/actions/upstream-testsuite-macos-setup: the six shared setup steps,
    now parameterised. Checkout stays in the caller, because a local `uses:`
    action cannot check out the tree it is loaded from.
  - tools/ci/summarize_upstream_testsuite.sh: the summary renderer, taking the
    log path and a heading. It exits 0 on a missing log on purpose - it runs
    under `if: always()` after a step that may have failed, and the job's
    conclusion must stay the testsuite's.

Net: one new job and its full setup cost 4 lines of YAML each rather than ~190.

NO NEW CALLER JOB, AND THAT WAS A CORRECTION

`variant` defaults to `all`, so the two existing macOS callers each publish
BOTH legs. This mirrors `_upstream-testsuite.yml`, whose callers pass no
variant at all.

The first version of this change instead added a caller per privilege leg with
`variant: 'root'` pinned. That works, but a caller pinned to one variant makes
the reusable workflow's OTHER job report a permanently SKIPPED check - four of
them across the two transports, which the check-name lint confirmed by counting
84 names instead of 80. Skipped checks nobody can act on are noise, and the
Linux idiom already avoided them. Corrected before landing.

VERIFICATION

The setup extraction was done by script, and the script asserts that every
non-trivial line of the removed block survives in the action. 120 of 129 lines
moved verbatim; the 9 it flagged are exactly the intended parameterisation -
three env.* -> inputs.*, the rust-cache key, and the reworded cache-key comment.

That comment is load-bearing and was updated with the code it explains: the
upstream-source cache key hashes the file that supplies CPPFLAGS/LDFLAGS,
because run_upstream_testsuite.sh skips ./configure when shconfig is present,
so a tree cached under a different flag set would be reused with its ORIGINAL
feature set and no step would notice. The flags now live in the action, so the
key hashes the action too.

Workflows verified by parsing the written YAML, not by re-reading the intended
edit: two jobs, correct `if:` guards, and artifact names, emitted manifest
paths and rust-cache keys all pairwise distinct - each is a per-run namespace,
so a collision would let one leg silently overwrite another's outcomes. The
check also asserts every composite `run:` step declares `shell:`, without which
the action fails to load at runtime naming no step.

Summariser exercised against a synthetic log carrying PASS/FAIL/UPASS/SKIP/
XFAIL rows: correct sections, exit 0. Check-name uniqueness lint: 84 names,
each with one publisher. tools tests: 86 passed, exit 0.
oferchen added a commit that referenced this pull request Sep 5, 2026
* test(ci): complete the macOS 3.5.0 matrix with both root legs

Linux has run {nonroot,root} x {pipe,tcp} since PR #7408. macOS ran nonroot
only, so the privilege axis - the cells that need real root - was covered on
one platform. This adds the two missing legs and consolidates the duplication
that adding them would otherwise have created.

WHY THE PRIVILEGE AXIS IS NOT REDUNDANT WITH LINUX

Crossing the committed Linux manifests puts ~29 cells in the set a macOS root
leg would newly RUN. They are not the chown/devices cells the old header
assumed: the set is dominated by the symlink-race and confinement family -
backup-dir-symlink-race, symlink-race-dest, temp-dir-symlink-injection,
daemon-module-chdir-symlink, operator-path-backup-symlink, and all five
chroot-*-inner-module. Those are exactly the cells whose Linux passes are
known to rest on Landlock rather than on the userspace confinement guard; that
guard was measured failing on BOTH platforms under a symlinked ancestor. macOS
has no Landlock, so it is the only place the guard is exercised unaided.

THE ~29 IS A PREDICTION AND IS SHIPPED AS ONE

Neither leg names a manifest yet. Each runs the whole corpus and emits its own
via EMIT_EXPECT_RESULT as an artifact, so the manifests come from an executed
run of the leg they describe. That is deliberate: the equivalent prediction for
the macOS tcp leg said 52 cells and the executed run gave 32, because cells
skip on macOS for platform reasons the Linux manifests cannot express. Until
the manifests are committed these two checks report the suite's genuine result,
which on a suite with known divergences means red. Both are non-required,
matching the macOS pipe leg.

CONSOLIDATION, BECAUSE OTHERWISE THIS WOULD ADD TWO MORE COPIES

The nonroot and root legs differ only in the sudo re-exec and their output
paths; six setup steps and a ~60-line summary renderer are identical. Adding
root by copy would have made a third and fourth copy of each - the Linux
workflow already carries two divergent copies of its own preamble.

  - .github/actions/upstream-testsuite-macos-setup: the six shared setup steps,
    now parameterised. Checkout stays in the caller, because a local `uses:`
    action cannot check out the tree it is loaded from.
  - tools/ci/summarize_upstream_testsuite.sh: the summary renderer, taking the
    log path and a heading. It exits 0 on a missing log on purpose - it runs
    under `if: always()` after a step that may have failed, and the job's
    conclusion must stay the testsuite's.

Net: one new job and its full setup cost 4 lines of YAML each rather than ~190.

NO NEW CALLER JOB, AND THAT WAS A CORRECTION

`variant` defaults to `all`, so the two existing macOS callers each publish
BOTH legs. This mirrors `_upstream-testsuite.yml`, whose callers pass no
variant at all.

The first version of this change instead added a caller per privilege leg with
`variant: 'root'` pinned. That works, but a caller pinned to one variant makes
the reusable workflow's OTHER job report a permanently SKIPPED check - four of
them across the two transports, which the check-name lint confirmed by counting
84 names instead of 80. Skipped checks nobody can act on are noise, and the
Linux idiom already avoided them. Corrected before landing.

VERIFICATION

The setup extraction was done by script, and the script asserts that every
non-trivial line of the removed block survives in the action. 120 of 129 lines
moved verbatim; the 9 it flagged are exactly the intended parameterisation -
three env.* -> inputs.*, the rust-cache key, and the reworded cache-key comment.

That comment is load-bearing and was updated with the code it explains: the
upstream-source cache key hashes the file that supplies CPPFLAGS/LDFLAGS,
because run_upstream_testsuite.sh skips ./configure when shconfig is present,
so a tree cached under a different flag set would be reused with its ORIGINAL
feature set and no step would notice. The flags now live in the action, so the
key hashes the action too.

Workflows verified by parsing the written YAML, not by re-reading the intended
edit: two jobs, correct `if:` guards, and artifact names, emitted manifest
paths and rust-cache keys all pairwise distinct - each is a per-run namespace,
so a collision would let one leg silently overwrite another's outcomes. The
check also asserts every composite `run:` step declares `shell:`, without which
the action fails to load at runtime naming no step.

Summariser exercised against a synthetic log carrying PASS/FAIL/UPASS/SKIP/
XFAIL rows: correct sections, exit 0. Check-name uniqueness lint: 84 names,
each with one publisher. tools tests: 86 passed, exit 0.

* test(ci): commit the macOS root expect manifests from their executed runs

The two macOS root legs landed in bootstrap: no `expect_result_macos_root`,
so each ran the WHOLE corpus and reported its genuine result while
EMIT_EXPECT_RESULT wrote the manifest as an artifact. Those runs have now
happened, so this converts the bootstrap into a real gate.

MEASURED, each from a run of the leg it describes:

  root/pipe  266 pass /  2 fail / 77 skip   (345 selected)
  root/tcp   124 pass / 12 fail / 19 skip   (155 selected)

NEITHER was predicted from the Linux legs, and that is deliberate: the one
time a macOS leg WAS predicted that way the forecast said 52 cells and the
executed run gave 32. A cell can skip on macOS for platform reasons no Linux
manifest can express.

THE root/tcp RESULT IS THE INTERESTING ONE

Its twelve failures are IDENTICAL to the Linux root/tcp set, cell for cell:
the four daemon-chroot/-munge/-private-parent/-symlink-escape-matrix rows,
daemon-zstd-thread-exhaustion, malicious-server-partial-basis-symlink-
overwrite, nonroot-restrictive-perms, and the five proto-* rows. Zero
macOS-only failures, zero regressions against the macOS nonroot legs.

So adding the privilege axis on macOS introduced no divergence of its own -
it re-runs exactly the known-failing set, on a platform with no Landlock to
mask a userspace confinement gap. That is what the leg is for.

root/pipe's two are `daemon-module-private-parent` and
`partial-protected-regular-retry-policy`, both pre-existing and both owned.

WHY THE DEFAULT MOVES RATHER THAN THE CALLERS

`expect_result_macos_root` now defaults to the root/pipe manifest, mirroring
`expect_result_macos`, which already defaults to the nonroot/pipe one. The tcp
caller names both tcp manifests explicitly for the same reason it already had
to: `--daemon-tests-only` selects a smaller set, so a shared file would fail
the driver's coverage guard outright. One idiom, not two.

The input keeps its bootstrap contract documented, because that is how the
NEXT new leg obtains its first manifest: set it to the empty string, run, take
the artifact.

Every divergence stays recorded as a `fail` row rather than hidden, exactly as
the Linux legs record theirs, so each gate fires on DRIFT from this measured
state.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant