Repository navigation
ci: fail missing upstream oracles and run every oracle cell in CI - #8320
Merged
Merged
Conversation
oferchen
force-pushed
the
ci/upstream-oracle-gate
branch
from
November 4, 2026 09:04
a5f73d7 to
a8e56e7
Compare
oferchen
force-pushed
the
ci/upstream-oracle-gate
branch
3 times, most recently
from
November 13, 2026 12:04
338b18b to
2556be7
Compare
require_upstream_rsync panics instead of skipping under OC_RSYNC_UPSTREAM_COMPAT=1. The src-path oracle tests now resolve through it, filter_nested moves from the never-built 3.4.2 to 3.4.4, run_interop.sh builds 3.4.1 as an oracle-only version, and tools/ci/upstream_oracle_tests.py derives the nextest selection and rejects skipped or empty runs.
Build 3.4.1 alongside the other oracle versions, key the upstream cache on the tarball checksum manifest, and replace the five per-binary oracle steps with one step that runs every test binary calling require_upstream_rsync. OC_RSYNC_UPSTREAM_COMPAT=1 makes a missing or wrong oracle a failure, and check-log rejects any skip line or a run of zero tests even when nextest fails.
oferchen
force-pushed
the
ci/upstream-oracle-gate
branch
from
November 15, 2026 17:10
2556be7 to
d76d801
Compare
oferchen
marked this pull request as ready for review
November 15, 2026 17:29
oferchen
force-pushed
the
ci/upstream-oracle-gate
branch
from
November 15, 2026 17:51
bc548c5 to
66df39f
Compare
oferchen
force-pushed
the
ci/upstream-oracle-gate
branch
from
November 15, 2026 17:54
66df39f to
8fbcf4b
Compare
oferchen
added a commit
that referenced
this pull request
Nov 17, 2026
…8395) ## Summary - **CONTRIBUTING.md**: pin the upstream tree, tarball URL, line manifest, surface diff and citation example at rsync 3.5.2; list all sixteen required checks (`rustdoc links` was missing); put blank lines around headings and `---` rules. Four rules sat directly under a paragraph, which rendered that paragraph as a heading. - **SECURITY.md**: order the 3.5.1 and 3.5.2 sections by release, like the summary table, and keep the 3.5.2 testsuite note with the 3.5.2 section. No status or evidence text changed. - **CHANGELOG.md**: add entries for #8320, #8385, #8387 and #8392; add the missing PR numbers (#8382, #8383); name 3.5.2 as the reference and as the gated test suite; fix heading spacing. - **README.md**: name the one internal feature the feature table's "Not listed" note left out. The testsuite counts, CVE counts, protocol table, links and feature table were checked against the tree and are current. ## Verification - Every relative link in the four files resolves. - The README feature table matches the `[features]` tables of the workspace and every crate. - Required-check list compared with the ruleset (16 contexts). - Testsuite counts compared with `tools/ci/upstream-3.5.2-expect.*.txt`; CVE counts compared with the SECURITY.md rows. - `cargo xtask citations` passes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CI never ran the cross-implementation oracle tests. They resolved upstream rsync from paths no job built, printed a skip line and passed. This makes a missing oracle a failure in CI and runs every oracle cell in the interop job.
test_support::require_upstream_rsyncpanics instead of skipping whenOC_RSYNC_UPSTREAM_COMPAT=1. Local runs without an upstream build still skip.target/interop/upstream-src/rsync-<v>/rsync(a path no CI job builds) now resolve throughrequire_upstream_rsync:filter_nested_rsync_filter_stressmoves from 3.4.2 to 3.4.4. 3.4.2 was never in the interop build, so the cell could never run.tools/ci/run_interop.shbuilds 3.4.1 as an oracle-only version. 3.4.1 is a supported interop version, and its tarball is already pinned inupstream-tarballs.sha256. It joins no interop scenario, and a failed build is fatal.tools/ci/upstream_oracle_tests.pyhas two commands:argsderives the nextest selection from the tree: every top-level test file that calls the resolver.check-logrejects a run with any skip line or zero tests.tools/tests/._interop.ymlchange, which goes in separately, replaces the five per-binary oracle steps with one step over the derived set. It also adds 3.4.1 to the fetch list and keys the cache onupstream-tarballs.sha256.Cells this gate surfaces
With the oracles built, 95 cells run: 90 pass and 5 fail. All 5 failures are real divergences from 3.5.1, on the push leg:
checksum_choice_none_refused::push_refuses_in_the_local_sender: exits 12 where 3.5.1 exits 4 (checksum.c:549). Tracked as task 555.upstream_compat_filter_rule_parse: the client prints "connection unexpectedly closed" instead of 3.5.1's parse error (exclude.c:131-136,:1376-1379,:1452,:1475). Tracked with task 547.c_modifier_inside_a_per_directory_merge_filemerge_file_rules_end_where_upstream_ends_themnaming_both_sides_still_names_a_sidesided_merge_file_refuses_a_sided_ruleThis merges after those fixes, or with them folded in.
Test plan
OC_RSYNC_UPSTREAM_COMPAT=1 cargo nextest run $(upstream_oracle_tests.py args)on Linux with all 8 upstream versions built: 95 run, 90 passed, and the 5 above failed.python3 -m unittest tools.tests.test_upstream_oracle_tests: 7 tests pass.check_bin_build_coverage.pypasses with the workflow change.cargo fmt --all -- --checkandcheck_rustfmt_all.pypass.