Repository navigation
Publish audit findings as issues without duplicates (operator audits step 6b) - #4556
Open
evanchooly wants to merge 1 commit into
Open
evanchooly wants to merge 1 commit into
evanchooly wants to merge 1 commit into
Conversation
Publisher files a validated coverage report's findings through the gh gateway. Stable markers find each finding's issue across runs, manual edits and closed dispositions are kept, and creates go through a durable journal so a lost response is reconciled rather than replayed. Tested on a fake tracker and against the disposable sandbox repository.
This was referenced Nov 22, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Step 6 of the operator audits (plan), part b. Stacked on #4555.
Problem
The coverage report finds gaps, for example a documented stage with no typed Morphia API, but nothing filed them. Filing issues naively from a scheduled job creates noise quickly:
The plan requires a publisher that avoids all of these and has no effect on whether coverage checks pass.
Changes
Publisher.findingsreads a validatedCoverageReport, never anINVALIDone, and only contexts whose inventory is healthy. That yields two finding types,MISSING_APIandVERSION_ANNOTATION, each with a stable key (type, product, context, token, facet).POSSIBLY_CREATED, which is reconciled by polling the all-state listing for the marker and never replayed;PublishMainKtis report-only unless--publishis given.ReleaseVersion.display()(8.0) replaces inline formatting inCoverageMain. Issue bodies had printed the data class.PublisherTesthas 11 cases on a fake tracker: file once, reruns unchanged, manual edits kept, closed dispositions, a lost create reconciled when the issue appears on a later poll, an unfound create staying unresolved across runs, intent recovery, omitted-metadata repair, report-only, policy and duplicate failures, and the lagging listing.PublisherSandboxTestruns againstevanchooly/morphia-audits-sandbox. After two runs it still holds three issues.Decisions for review
publication-policy.json,MISSING_APIgetsenhancementandproposed, andVERSION_ANNOTATIONgetsbug. These are existing labels on MorphiaOrg/morphia. There's no milestone; I didn't want to guess one.RAW_BSON_ONLY,PARTIAL, incomplete examples) stay in the report until you want them filed.issues: writepermissions, is a separate change for your review.Review note
The independent local reviewer is at its weekly limit until Nov 26, and Codex and Copilot are out of quota, so I reviewed this myself.