Repository navigation
pr-review skill: prove each new test and branch by breaking it - #8047
andrewnester wants to merge 1 commit into
Conversation
Pass 9 now covers the fixes the Regression test report cannot judge: harness fixes, one part of a multi-part fix, and tests that record a bug ahead of its fix. A new bullet breaks each new branch or mechanism in turn to find the ones no test reaches. Co-authored-by: Isaac <no-reply@databricks.com>
There was a problem hiding this comment.
Automated review at 163ebb2. Each finding was verified against the code.
No blocking issues found. 1 non-blocking comment(s) below.
This PR extends pass 9 of the pr-review skill so the reviewer knows what to revert when the Regression test report can't tell whether a test pins a fix: harness fixes, one part of a multi-part fix, and tests that record a bug before its fix lands. It also adds a step that breaks each new branch and asks for a test case when the suite stays green. The guidance reads clearly. The list of harness paths is incomplete, though, so some harness fixes would still be trusted to the report.
| cannot tell: a unit test, a test it did not select, or a released fix; a | ||
| variant that still passes does not assert the claim. For a test that | ||
| cannot tell: a unit test, a test it did not select, a released fix, or | ||
| a fix in the harness (`acceptance/*.go`, `acceptance/bin`, |
There was a problem hiding this comment.
[nice to have] acceptance/*.go only matches the top level, so it misses acceptance/internal/ (config.go handles test.toml, Repls, SortLines and EnvMatrix). The list also leaves out acceptance/script.prepare, which defines errcode, musterr and trace, and libs/testproxy, which runs whenever Proxy = true. The report swaps only the CLI binary, so a fix in any of these still lands under coverage=. A reviewer going by this list would trust the report and skip the revert. Can we add these paths, or define the harness as "anything the CLI binary isn't built from" and keep the paths as examples?
Changes
Pass 9 of the pr-review skill now says what to revert when the Regression test report cannot tell whether a test pins the fix. That covers a fix in the test harness, one part of a multi-part fix, and a test that records a bug ahead of its fix. A new bullet breaks each new branch, guard or mechanism in turn and asks for a case when the suite stays green.
Why
The report swaps only the CLI binary, so every test of a harness fix lands under
coverage=(#7949). On #7257 and #8034, breaking one new return or reading the wrong batch element left every test green, and nothing in the skill asked for that check. On #7930 and #7988, the right check was to apply the linked fix or revert only the targeted part.Tests
Skill text only; no code or tests change.
This pull request and its description were written by Isaac.