Repository navigation
Add scheduled discovery of documented operator examples - #4559
Open
evanchooly wants to merge 1 commit into
Open
evanchooly wants to merge 1 commit into
evanchooly wants to merge 1 commit into
Conversation
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.
Part of step 6 of the operator-audit plan: scheduled discovery. Stacked on #4558.
Problem solved
Nothing watched the docs for new examples. The example inventory from #4558 only changes when someone reruns
fetch.pyby hand, so an example added or renamed upstream goes unnoticed..github/workflows/operator-discovery.ymlruns weekly (Mondays 06:17 UTC) and on demand, withcontents: readonly. It does this:audits/discover.sh, which works in a throwaway worktree of HEAD:fetch.py locallists the pages;inventoryre-reads them, andinventory.diffshows the change against the committed inventory;candidateregenerates and writesgaps.json;integrateruns the candidate's tests under Critter, then reflection.summary.mdas the job summary and uploads every report for 90 days.The job fails only when integration fails. A changed inventory is a proposal to review, not a failure, and the job never commits, promotes or files issues.
I ran
discover.shlocally againste4b0c153:The offline PR check (
audits.yml) now also triggers on the generated namespace and the runner.Decisions for review
GITHUB_TOKENwould make about 1,300 calls, over its 1,000-per-hour limit. A sparse clone takes about 5 seconds, and git verifies every blob itself.issues: writeand choosing a target repository, both of which are yours to approve. For now nothing in CI can write issues.Review status
Self-reviewed only (the independent reviewer is at its weekly limit until Nov 26, and Codex and Copilot are out of quota). The scheduled job itself only runs once it reaches
master.