Skip to content

Make the audits README an operating guide - #4560

Open
evanchooly wants to merge 1 commit into
audits-monitoringfrom
audits-retire
Open

evanchooly wants to merge 1 commit into
audits-monitoringfrom
audits-retire

Conversation

@evanchooly

Copy link
Copy Markdown
Member

Step 7 of the operator-audit plan, the part that can be done now. Stacked on #4559.

Problem solved

The audits README read as a changelog of components, not instructions. It opened by calling generation and the gh publisher "planned", which stopped being true several PRs ago. Its 700 lines described each component's contract but never said how to run discovery, how to generate or convert cases, or what to do when a command refuses. Now:

  • the component sections move verbatim to design/operator-audits-reference.md, with only their relative links rewritten;
  • audits/README.md becomes an operating guide covering:
    • running the tests, and what lives where;
    • weekly discovery and how to accept a changed inventory;
    • generating cases and reading gaps.json;
    • converting legacy cases, and publishing;
    • a troubleshooting table of the errors these commands actually raise.

What step 7 cannot retire yet (accounted for in the README)

  • Core's legacy fixture loader still runs 210 fixture directories (346 cases are on the runner). Of those 210, 98 are still locked; 96 have no documented source that reproduces them (form-review.json); 28 are legacy-only in cutover.json; and 81 never-locked fixtures have no pinned reference.
  • The legacy RST extractor is how cutover and the example inventory read pages. It goes once the structured parser owns extraction and resolves tested code snippets, which hold most stage examples.
  • The frozen legacy docs tables stay until a separate documentation migration, as the plan says.

Already done in step 0 and verified here: the live-HTML discovery, the old publisher and writers, the clone/pull profiles, and the dead property files are gone. Every remaining dependency is used: kotlin-reflect has no imports but jackson-module-kotlin needs it at runtime, and asm-tree is used only by SinceAudit.

Decision for review

  • SinceAudit's fate is yours. It compares hardcoded Morphia 1.6 and 2.1 jars for @since history. Nothing runs it, and the SemVer API check (Enforce SemVer-aware API checks against the prior stable release #4509) covers that ground now. I recommend deleting it together with audit-classes.txt, its model/MorphiaElement types and the asm-tree dependency, and I'll open that as a separate PR you can simply decline.

Documentation only. Self-reviewed (the independent reviewer is out until Nov 26).

Move the component contracts to design/operator-audits-reference.md and
replace the README with operating and troubleshooting instructions and an
accounting of the legacy paths still in use.
@evanchooly evanchooly mentioned this pull request Nov 22, 2026

This branch has not been deployed

No deployments
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.

1 participant