Skip to content

docs(changelog): bring the Unreleased section up to master - #7624

Merged
oferchen merged 1 commit into
masterfrom
docs/changelog-unreleased-catchup
Sep 2, 2026
Merged

oferchen merged 1 commit into
masterfrom
docs/changelog-unreleased-catchup

Conversation

@oferchen

@oferchen oferchen commented Sep 2, 2026

Copy link
Copy Markdown
Owner

The measured gap

## [Unreleased] last covered the #7304-#7522 era. Measuring the 60 most
recently merged pull requests against grep -q "#<n>[^0-9]" CHANGELOG.md:

before after
present 16 59
absent 44 1

Restricted to the most recent 45, it was 2 present / 43 absent. Nothing from
#7574 onward appeared at all.

The one still absent after this change is #7587, deliberately - see below.

Method

Every entry is derived from what the pull request actually landed - the merge
commit and its body - rather than from its title. Three of them ship something
other than what the title or the body describes:

Deliberately not recorded

#7587 (fix(daemon): exit 4 on a refused option, not 1). Its merge commit
d32016c78 touches zero files: the identical change had already landed as
#7563 (b59d52705), which the section already names. Adding a second entry, or
appending the number to the existing one, would claim behaviour that pull
request did not ship.

Grouping

Entries extend the existing Keep a Changelog headings and the bold
sub-groupings; no parallel group is invented. Clusters that are one story carry
one entry with several references rather than N disconnected lines:

Two pull requests contribute to two entries each, because they landed two
separable things: #7599 (the ownership walk's libc backend under
Security, the one_inplace staging under Added) and #7565 (the
confined implied-parent creation, its symlink removal and the refusal
reporting, kept in one Security entry).

Scope

CHANGELOG.md only, and inside it ## [Unreleased] only. Every hunk falls
between the old lines 68 and 411; the section ended at 420. No released section
is touched, renumbered, reordered or reworded - in particular the historical
3.4.4 statements, which were correct when written, are byte-identical.

Checks

  • bash tools/ci/run_tools_tests.sh - Ran 47 tests ... OK. Nothing under
    tools/tests/ validates CHANGELOG structure; checked by grepping tools/
    and .github/ for changelog consumers, which finds only the release
    templates and release-cross.yml, and that one deliberately links to the
    file rather than parsing it.
  • No markdown lint or link check exists in .github/workflows (searched for
    markdownlint, lychee, markdown-link-check, mdl).
  • tools/no_placeholders.sh scans Rust sources only, so this change cannot
    move it; its output is identical to master's.
  • Lines wrap at 80, matching the surrounding file. The only lines over 80 in
    the section are the three that were already there.

`## [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.
@oferchen
oferchen merged commit d0f5cba into master Sep 2, 2026
9 checks passed
@oferchen
oferchen deleted the docs/changelog-unreleased-catchup branch September 2, 2026 13:06
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Sep 2, 2026
oferchen added a commit that referenced this pull request Sep 2, 2026
… merged PRs (#7634)

* docs(rustdoc): reach the public items rustdoc could not see, and gate the class

Two halves of the same question - is what a public item says actually reachable
from `cargo doc`?

Half 1: seven `//` comment blocks documented a `pub` item, so their text never
reached the generated docs. Found positionally, not by content: a `//` run whose
next non-attribute line declares a `pub` item. A census keyed on comment CONTENT
is false-positive dominated; this one is mechanical.

Nine sites matched; two are DELIBERATELY left as `//`, because they document the
`#[cfg_attr]` / `#[allow]` attribute directly beneath them rather than the item -
`local_copy/overrides.rs` and `local_copy/plan/report.rs`. Promoting those would
attach a lint rationale to a public surface as if it described the surface.

Text is preserved verbatim, upstream citations included (`generator.c:2149` on
the obstacle module). The only rewrite is `socket_options/consts.rs`, where one
group note covered two constants: split per item, matching the file's own house
style where every other const already carries `///`.

Half 2: five intra-doc links could not resolve in a DEFAULT build, and the
existing gate is structurally unable to see them.

  crates/fast_io/src/lib.rs, ewma.rs (x4)  -> `adaptive_dispatch`, gated by the
                                              off-by-default
                                              `adaptive-basis-dispatch` feature
  crates/rsync_io/.../sync_bridge.rs       -> `crate::channel_adapter`, gated by
                                              the off-by-default `async-ssh`
                                              feature
  crates/fast_io/src/confinement.rs        -> `PinnedRoot`, a PRIVATE struct

plus one already on the branch in `module_list/types.rs`, where the link was
`Transport::Quic` (the `quic` feature) and its surrounding prose still described
the variant as unbuilt.

Every crate denies `rustdoc::broken_intra_doc_links`, so each of these is a hard
`cargo doc` failure, not a warning. MEASURED on the pristine base:

    cargo doc --no-deps --workspace   ->  7 errors, `fast_io` and `rsync_io`
                                          could not be documented
    cargo doc --no-deps --workspace --all-features  ->  clean

That gap is the whole point. Under `--all-features` the gated items EXIST, so
the link resolves and the gate is green; in a default build the item is not
compiled at all. `ci.yml`'s `rustdoc-links` job runs only `--all-features`,
deliberately mirroring `pages.yml` - which is right for the question Pages asks
and cannot ask this one. So the fix is paired with a SECOND step on default
features, and neither subsumes the other: `crates/fast_io/src/io_uring` is
`cfg(all(target_os = "linux", feature = "io_uring"))` and only the all-features
run compiles it.

The names stay in backticks with the reason stated at each site, rather than
being deleted or the links made conditional - the prose still says what it said,
and the next reader learns why it is not a link.

After: both invocations document all 25 crates cleanly, 0 errors. fmt clean;
clippy on the five touched crates reports no new diagnostics.

* docs(changelog): record the ten pull requests merged since the last sweep

#7624 brought the Unreleased section up to #7620 and then stopped being true:
#7621-#7632 landed after it, of which #7624 is itself that changelog pass and
#7628 was never merged. Ten entries were missing.

Each is placed in the subsection its change belongs to rather than appended in
number order, and #7625 is SPLIT across two, because it is two changes: wiring
`--force` is a receiver fix, and the synthetic-transfer-root guard that wiring
made necessary is a peer-supplied input bound. Filing it once under either
heading would have hidden whichever half the reader was looking for.

  Security / peer-supplied input bounds   #7625 (guard half), #7630
  Fixed / transfer and receiver           #7622, #7625 (--force half), #7627
  Fixed / daemon                          #7629
  Testing and CI                          #7621, #7623, #7632
  Documentation                           #7626, #7631

Wording is taken from each merge commit's own body, not from its title - the
titles compress away the part a reader needs. #7629's title says "keep a dead
name converter apart from an unknown name"; what makes it worth an entry is that
five outcomes collapsed into one `None` and the merge failed OPEN on exactly the
mechanism an operator installs to take ownership decisions away from the peer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant