docs: widen the snapshot layer past grid state #222

Merged
natsukium merged 1 commit from feat/finite-option-values-187 into main 2026-09-08 03:09:55 +09:00
Owner

Fixes #187.

docs/reference/testing.md still defined the insta layer as "feeds bytes into the parser and grid, serializes the grid post-state". #187 added a checked-in golden for the CLI help pages, which is neither parser bytes in nor grid state out, so the normative reference no longer described what the layer holds — a contributor who reworded a --help string and hit a felis-cli snapshot failure would find no mention of that golden.

The change widens the definition to "serializes an output", retitles the table row to "Serialized output for representative inputs", and adds the CLI help pages to the categories list with the crate path and the .snap file name.

Doc cascade: reference-only. The explanation twin (docs/explanation/testing.md) argues why insta is used, not what it covers, and needed no edit; a grep sweep for "grid post-state" and "Cell-grid output" across docs/ found no other occurrence.

Verified: just check green (fmt, clippy, nextest, deny, proto-compat); reviewed by Claude correctness lens + Claude tests-docs lens; docs proofread by Gemini gemini-3.8-flash-high

Follow-ups

  • #219 cli: duplicate #187 commits stacked on test/argv-matrix-185
  • #220 test: only zsh pins the finite option values cli.md claims for every shell
  • #221 cli: parse_region_source's error vocabulary can drift from SourceArg

Deferred

  • Evidencing #55's two remaining closure criteria and closing the tracker — explicitly post-merge work on tracker #55, not code in this PR.
  • Merged diff checked against acceptance criteria 1-4, no correctness defects found — positive confirmation only; no defect or unmet criterion is named, nothing to change in the code.
Fixes #187. `docs/reference/testing.md` still defined the insta layer as "feeds bytes into the parser and grid, serializes the grid post-state". #187 added a checked-in golden for the CLI help pages, which is neither parser bytes in nor grid state out, so the normative reference no longer described what the layer holds — a contributor who reworded a `--help` string and hit a `felis-cli` snapshot failure would find no mention of that golden. The change widens the definition to "serializes an output", retitles the table row to "Serialized output for representative inputs", and adds the CLI help pages to the categories list with the crate path and the `.snap` file name. Doc cascade: reference-only. The explanation twin (`docs/explanation/testing.md`) argues why insta is used, not what it covers, and needed no edit; a grep sweep for "grid post-state" and "Cell-grid output" across `docs/` found no other occurrence. Verified: just check green (fmt, clippy, nextest, deny, proto-compat); reviewed by Claude correctness lens + Claude tests-docs lens; docs proofread by Gemini gemini-3.8-flash-high ## Follow-ups - #219 cli: duplicate #187 commits stacked on test/argv-matrix-185 - #220 test: only zsh pins the finite option values cli.md claims for every shell - #221 cli: parse_region_source's error vocabulary can drift from SourceArg ## Deferred - Evidencing #55's two remaining closure criteria and closing the tracker — explicitly post-merge work on tracker #55, not code in this PR. - Merged diff checked against acceptance criteria 1-4, no correctness defects found — positive confirmation only; no defect or unmet criterion is named, nothing to change in the code.
docs: widen the snapshot layer past grid state
Some checks failed
darwin / detect relevant changes (pull_request) Successful in 3s
darwin / build felis (aarch64-darwin) (pull_request) Has been skipped
pr / nix flake check (pull_request) Successful in 22s
windows / detect relevant changes (pull_request) Successful in 3s
windows / cargo clippy (Windows cross) (pull_request) Has been skipped
windows / cargo nextest (Windows) (pull_request) Has been skipped
windows / frontend smoke (Windows) (pull_request) Has been skipped
windows / package felis (x86_64-pc-windows-msvc) (pull_request) Has been skipped
darwin / darwin docs-only no-op (pull_request) Successful in 0s
pr / cargo build / clippy / test / deny (pull_request) Failing after 2m6s
pr / wire schema is compatible with the base (pull_request) Successful in 14s
pr / frontend smoke (x86_64-linux) (pull_request) Successful in 52s
pr / publish felis (x86_64-linux) (pull_request) Has been skipped
windows / windows docs-only no-op (pull_request) Has been cancelled
93fe9ad024
The CLI help pages are now pinned by a checked-in insta snapshot, so the
reference definition of the snapshot layer — parser bytes in, grid
post-state out — no longer describes what the layer holds. A contributor
who reworded a --help string and got a felis-cli snapshot failure would
find no mention of that golden in the normative testing reference.

Refs #187
natsukium force-pushed feat/finite-option-values-187 from 93fe9ad024
Some checks failed
darwin / detect relevant changes (pull_request) Successful in 3s
darwin / build felis (aarch64-darwin) (pull_request) Has been skipped
pr / nix flake check (pull_request) Successful in 22s
windows / detect relevant changes (pull_request) Successful in 3s
windows / cargo clippy (Windows cross) (pull_request) Has been skipped
windows / cargo nextest (Windows) (pull_request) Has been skipped
windows / frontend smoke (Windows) (pull_request) Has been skipped
windows / package felis (x86_64-pc-windows-msvc) (pull_request) Has been skipped
darwin / darwin docs-only no-op (pull_request) Successful in 0s
pr / cargo build / clippy / test / deny (pull_request) Failing after 2m6s
pr / wire schema is compatible with the base (pull_request) Successful in 14s
pr / frontend smoke (x86_64-linux) (pull_request) Successful in 52s
pr / publish felis (x86_64-linux) (pull_request) Has been skipped
windows / windows docs-only no-op (pull_request) Has been cancelled
to afea590f93
Some checks failed
bench / Criterion regression gate (pull_request) Successful in 2m3s
darwin / detect relevant changes (pull_request) Successful in 3s
darwin / build felis (aarch64-darwin) (pull_request) Has been skipped
fuzz / cargo fuzz smoke (per target) (pull_request) Successful in 1m10s
pr / nix flake check (pull_request) Successful in 29s
pr / cargo build / clippy / test / deny (pull_request) Successful in 1m47s
pr / wire schema is compatible with the base (pull_request) Successful in 8s
pr / frontend smoke (x86_64-linux) (pull_request) Successful in 56s
pr / publish felis (x86_64-linux) (pull_request) Has been skipped
windows / detect relevant changes (pull_request) Successful in 3s
windows / cargo clippy (Windows cross) (pull_request) Has been skipped
windows / cargo nextest (Windows) (pull_request) Has been skipped
windows / frontend smoke (Windows) (pull_request) Has been skipped
windows / package felis (x86_64-pc-windows-msvc) (pull_request) Has been skipped
darwin / darwin docs-only no-op (pull_request) Successful in 0s
windows / windows docs-only no-op (pull_request) Successful in 0s
darwin / detect relevant changes (push) Successful in 3s
darwin / build felis (aarch64-darwin) (push) Has been skipped
pr / nix flake check (push) Successful in 6s
pr / cargo build / clippy / test / deny (push) Failing after 1m5s
pr / wire schema is compatible with the base (push) Successful in 8s
pr / frontend smoke (x86_64-linux) (push) Successful in 6s
darwin / darwin docs-only no-op (push) Successful in 0s
pr / publish felis (x86_64-linux) (push) Has been skipped
windows / detect relevant changes (push) Successful in 3s
windows / cargo clippy (Windows cross) (push) Has been skipped
windows / cargo nextest (Windows) (push) Has been skipped
windows / frontend smoke (Windows) (push) Has been skipped
windows / package felis (x86_64-pc-windows-msvc) (push) Has been skipped
windows / windows docs-only no-op (push) Successful in 0s
2026-09-08 02:38:36 +09:00
Compare
natsukium deleted branch feat/finite-option-values-187 2026-09-08 03:09:55 +09:00
Sign in to join this conversation.
No description provided.