Repository navigation
ci: the engine watch lists upstream feat commits and fix commits in classes the bindings use - #525
Merged
Merged
Conversation
… engine watch The report showed only changes to what the bindings already touch, so a new feature in a new class or module, or a changed behavior behind the same signature, had no line of its own. The report now lists every commit of the range whose subject starts with feat, and every fix commit that changed a watched file of a class the bindings use, each with its pull request. A feat commit alone is relevant, so a new feature is never silent. Fix commits alone are not: upstream merges them constantly, and the mark does not move without a written issue, so the next report holds them. New fix commits rewrite an open issue without a comment. The body limit holds: other pull requests are cut first, then fix commits, then table rows, then feat commits, each with a count. Closes #523
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.
What does this PR do?
The "Engine changes to review" report gains two lists for the scanned range, so that a new engine feature, or a changed behavior behind an unchanged signature, gets a line to read.
feat, whatever files it touchedfixand that changed one of the watched files the script already derivesEach line has the pull request (or the commit when there is none), the subject as a code span, and the watched files it changed. Two lines from a dry run, neither of which has a row in the tables of findings:
feat(#13096): schema:indexes and schema:index:<name> report the index METADATA settings in force (#13097)(IndexMetadata.java, LSMVectorIndexMetadata.java)feat(#11557): openCypher RETURN * answers its columns sorted by name, as Neo4j does (#12394)How it behaves:
featcommit alone is relevant: it opens the issue, and a newer one gets a comment, so a new feature is never silent.fixcommits alone are not relevant, because upstream merges them all the time. Nothing is written and the mark stays, so the next written report holds them. On an open issue, newfixcommits rewrite the text without a comment.fixcommits, table rows,featcommits. Each cut says how many lines it left out, and the artifact keeps the full text.perf,refactor, orMerge pull requestis in neither list.I made two dry runs of
engine-watch.ymlon this branch (dry_run=true):featcommitsfixcommits in used classes8851991e1..91e9fe46a(run)4a91847a1..8851991e1(run)The first fits in the issue as it is. The second is over the limit of 60,000 characters. A dry run writes only the uncut text, so this is my estimate from that text: the issue would keep all 22
featlines, 20 of the 162fixlines, and 50 of the 90 rows of the largest table, in about 47,900 characters. In both texts there is no@and no issue reference outside a code span, and no direct link to the upstream repository.Related issues
Closes #523
Docs
docs/modules/ROOT/pages/development/ci.adocdescribes the two lists, what counts as relevant, and the cut order, and says that at each upstream release a person or a session reads the lists and the release notes.Checklist
tests/test_engine_watch.py, run on its own with--noconftest; CI runs the rest)uvx pre-commit run --files <changed files>passes