Skip to content

Remove SinceAudit - #4561

Open
evanchooly wants to merge 1 commit into
audits-retirefrom
audits-since-audit
Open

evanchooly wants to merge 1 commit into
audits-retirefrom
audits-since-audit

Conversation

@evanchooly

Copy link
Copy Markdown
Member

Optional cleanup from step 7 of the operator-audit plan. Stacked on #4560. Decline this PR if you want to keep SinceAudit. The plan leaves its disposition to you.

Problem solved

SinceAudit is dead code with a live-download habit. It compares hardcoded 1.6.0-SNAPSHOT and 2.1.0-SNAPSHOT Morphia jars, downloaded directly, to audit @since tags. No test, workflow or documented command runs it. The SemVer-aware API check against the prior stable release (#4509) now does the job it was approximating, for the release that matters.

This PR removes:

  • SinceAudit.kt;
  • the model/MorphiaElement.kt types only it used;
  • audit-classes.txt;
  • the audits module's asm-tree dependency.

The root asm dependency management stays, because core's Critter tests use ASM. The historical probe receipts that list SinceAudit.kt's hash are records of past runs, and nothing verifies them against current files.

Verification

445 audits tests pass.

It diffed hardcoded Morphia 1.6 and 2.1 binaries for @SInCE history.
Nothing ran it, and the SemVer-aware API check against the prior stable
release now covers that ground. Its model, class list and asm-tree
dependency go with it.

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