Repository navigation
docs(engine): fix the broken am_root intra-doc link - #7522
Merged
Merged
Conversation
`super::super::types::LocalCopyOptions::am_root` is one module level too high: path_behavior.rs lives in local_copy/options/, so types is reached through a single `super` - the file's own `use super::types::LocalCopyOptions` already says so. rustdoc reported "no item named `types` in module `local_copy`", and because pages.yml sets RUSTDOCFLAGS="-D rustdoc::broken_intra_doc_links" that aborted the whole `cargo doc --workspace` run with exit 101, failing the Pages workflow. `am_root` is an accessor on LocalCopyOptions and the doc comment sits inside `impl LocalCopyOptions`, so the shortcut form resolves on its own - matching the sibling `[`Self::devices_enabled`]` links a few lines above. The link is kept on the previous line so it is not the first thing on its line followed by a colon, which CommonMark would otherwise read as a link reference definition rather than a link. Verified: `cargo doc --workspace --all-features --no-deps --locked` under the workflow's RUSTDOCFLAGS exits 0, and the rendered page resolves the anchor to struct.LocalCopyOptions.html#method.am_root.
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 2, 2026
`## [Unreleased]` last covered the #7304-#7522 era. Measured against the 60 most recently merged pull requests, 44 were absent; of the most recent 45, 43 were absent. Nothing from #7574 onward was recorded at all. Each entry is derived from what the pull request actually landed - the merge commit and the body - not from its title. Three cases where those differ: * #7616 ships far more than the doc-alias correction its body describes: the `upstream_version` pin moves to 3.5.0 and `--version` starts naming `quic`, `sd-notify`, `vmsplice` and `send_zc`. * #7618 also adds the pull-request rustdoc-link job its body says was filed separately, which is what closes the master-only-gate recurrence. * #7602's squash carries the closed #7597 as its first commit, so the directory-obstacle half is recorded under #7602. #7587 is deliberately not recorded. Its merge commit is empty: the change had already landed as #7563, which the section already names. Entries extend the existing Keep a Changelog groups and the bold sub-groupings. Clusters that are one story carry one entry with several references: the FERROR_XFER routing and its two-phase drain (#7576, #7581), the connection-FSM close edge and the accept loop that outlives a session error (#7579, #7590), the three detaching daemon suites (#7578, #7588, #7592), the io_uring and SEND_ZC work (#7593, #7600, #7610), the citation retargets (#7601, #7603, #7604), and the accept-loop pin flake (#7615, #7620). Only `## [Unreleased]` is touched; every released section, including the 3.4.4 statements that were correct when written, is byte-identical.
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.
Problem
The
Pagesworkflow has been failing on master. Its "Build rustdoc" step runswith
RUSTDOCFLAGS: "-D rustdoc::broken_intra_doc_links"(.github/workflows/pages.yml:26,47), and that promotion turns one bad link into a hardexit 101for the whole workspace:Root cause
The path has one
supertoo many.path_behavior.rslives incrates/engine/src/local_copy/options/, sosuperisoptionsandtypesis reached assuper::types- the file's own import on line 4 already readsuse super::types::LocalCopyOptions;. Two levels up lands inlocal_copy, which has notypeschild.Fix
am_rootis an accessor onLocalCopyOptions(options/metadata/accessors.rs:148) and the doc comment is insideimpl LocalCopyOptions, so the shortcut form resolves without any explicit path - the same shape the sibling links in this file already use ([Self::devices_enabled],[Self::specials_enabled]).The link is deliberately kept on the previous line rather than starting its own. A line beginning
[Self::am_root]: thatwould be parsed by CommonMark as a link reference definition, not a link, which would break rendering and silently drop the reference.Verification
cargo doc --workspace --all-features --no-deps --lockedwith the workflow's exactRUSTDOCFLAGS: exit 0, zero errors (previously exit 101).deliberately NOT <a href="struct.LocalCopyOptions.html#method.am_root" title="method engine::local_copy::LocalCopyOptions::am_root"><code>Self::am_root</code></a>: thatcargo fmt --all -- --check: exit 0.cargo clippy -p engine --all-targets --all-features --no-deps -- -D warnings: exit 0.Doc-comment text only; no code, no behaviour change.
Noted, not fixed here
cargo docalso emits two warnings infast_io(operator_open_create_new/operator_open_recvdocumenting links to the privateoperator_open_with). Those are theprivate_intra_doc_linkslint, which the workflow does not promote to an error, so they are not the cause of the failure and are left out of this change.