Skip to content

Check wireframe field tables; drop the nonexistent tolerance field - #169

Merged
blackopsrepl merged 3 commits into
mainfrom
feature/168-wireframe-fields
Nov 1, 2026
Merged

blackopsrepl merged 3 commits into
mainfrom
feature/168-wireframe-fields

Conversation

@blackopsrepl

Copy link
Copy Markdown
Collaborator

Closes #168. Base main @ 7cc7f52b, one commit eb83ebcb.

check-doc-names.py checks each | Field | table row against the struct named by its heading (with #[serde(flatten)] fields expanded). Before the doc fix it reports exactly one problem, DiversifiedLateAcceptanceConfig has no field tolerance; after it, make doc-names passes.

The runner image's rustup 1.27.1 rejects a bare `rustup toolchain install`; reading the channel from rust-toolchain.toml requires rustup 1.28. Every Forgejo run since d132845 stopped at this step, before any check ran.

Read the channel from rust-toolchain.toml and pass it explicitly. The file stays the single source of the channel and its components, which rustup installs when the toolchain is first used.

Closes #164
csemver's default commit types hide refactor, so the 0.24.0 changelog dropped 22 refactor commits and printed the 8 breaking ones as a list with no heading. Declare the types explicitly: feat, fix and refactor are visible; chore, docs, style, perf and test keep the default hidden state.

Closes #166
…e field tables

The config WIREFRAME listed tolerance: Option<f64> on DiversifiedLateAcceptanceConfig, a field the struct does not have. check-doc-names.py now checks every row of a | Field | table against the fields of the struct named by the table's heading, counting the serialized keys of #[serde(flatten)] fields, so a documented field that does not exist fails the gate.

Closes #168
@blackopsrepl
blackopsrepl force-pushed the feature/168-wireframe-fields branch from eb83ebc to 8e8e077 Compare November 1, 2026 13:44
@blackopsrepl
blackopsrepl merged commit 8e8e077 into main Nov 1, 2026
12 checks passed
@blackopsrepl
blackopsrepl deleted the feature/168-wireframe-fields branch November 1, 2026 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Config WIREFRAME documents a nonexistent DiversifiedLateAcceptanceConfig.tolerance; doc-names does not check field tables

1 participant