Skip to content

test(server): pin the doc-page serve and the pipeline Refused verdict - #461

Merged
scarabeusiv merged 1 commit into
geckonia:mainfrom
scarabeusiv:fix/452-step6-test-pins
Dec 2, 2026
Merged

scarabeusiv merged 1 commit into
geckonia:mainfrom
scarabeusiv:fix/452-step6-test-pins

Conversation

@scarabeusiv

Copy link
Copy Markdown
Contributor

Split from #453 — PR 8 of 8 (stacked on the step-5 PR).

Addresses #452.

Step 6 of #452: pins the doc-page serve and the pipeline Refused verdict with wiremock tests. Tests only; no code change.

Per-commit gate (fmt, clippy, clippy --features gen, rustdoc, rustdoc --features gen, tests, doctests) — 1ea71ec, 13ee2cf, 9cc59d1, 847b0fe, c971a68, f3b406e, 5803190: 7/7 pass each.

@scarabeusiv
scarabeusiv requested review from mimi1vx and plusky December 1, 2026 18:56
@scarabeusiv
scarabeusiv force-pushed the fix/452-step6-test-pins branch 2 times, most recently from 2830e34 to a5e18b0 Compare December 2, 2026 12:00

@plusky plusky left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

APPROVE — pin the doc-page serve and the pipeline Refused verdict (incremental a137884..a5e18b0, test-only).

OCR delegate preview: 2 files, 0 reviewable / 2 excluded (tests default_path) — reviewed manually in full.

Manual + adversarial pass: (1) audit_wiremock refusal_paths test gains the mark_as_duplicate self-dup pre-write case — Refused with no rule, exactly 1 record, 1 upstream (single-id classify; policy has no identity criteria so W=0). The added id=7 mock is inert for earlier cases (they touch ids 0/99/1..26-refused-at-zero-requests only). Catches the mutants-found hole (note_refused no-op → verdict-less). (2) whoami-table assert_case_outcome pins quicksearch_syntax body content (mounted page 'quicksearch'; empty serve now fails). No production code touched; no counts, denials, or audit shapes change.

Merge blocked until the stack rebases onto #456's landing + CI green.

@scarabeusiv
scarabeusiv changed the base branch from fix/452-step5-migrate-tools to main December 2, 2026 13:38
cargo-mutants found two survivors in the new pipeline code: no test pinned that quicksearch_syntax serves the documentation page it fetched, and none pinned the Refused verdict on a pipeline pre-write refusal. The whoami-count outcome assertion now pins the served page text, and refusal_paths_write_exactly_one_record_each gains a self-duplicate case recording Refused with one classify and no rule. Both mutants are caught on re-run.
@scarabeusiv
scarabeusiv force-pushed the fix/452-step6-test-pins branch from a5e18b0 to fc9d454 Compare December 2, 2026 13:40
@scarabeusiv
scarabeusiv merged commit e7a5e72 into geckonia:main Dec 2, 2026
28 of 29 checks passed
@scarabeusiv
scarabeusiv deleted the fix/452-step6-test-pins branch December 2, 2026 14:01
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.

2 participants