Repository navigation
feat(pr-checks): fix-has-test fails a fix that changes no test, unless it's visual with screenshots - #26
Draft
PiquelChips wants to merge 1 commit into
Draft
feat(pr-checks): fix-has-test fails a fix that changes no test, unless it's visual with screenshots#26PiquelChips wants to merge 1 commit into
PiquelChips wants to merge 1 commit into
Conversation
PiquelChips
force-pushed
the
feat/pr-check-co-authors
branch
from
November 22, 2026 20:25
d55c68a to
456981e
Compare
PiquelChips
force-pushed
the
feat/pr-check-fix-has-test
branch
from
November 22, 2026 20:25
1982583 to
e0508d2
Compare
…s it's visual with screenshots fix-has-test (MT8) reads a fix's changed files through the API: a test file, or an added #[test] beside the code, passes, and so does the visual label with an image in the description.
PiquelChips
force-pushed
the
feat/pr-check-co-authors
branch
from
November 22, 2026 22:13
456981e to
cc8bda1
Compare
PiquelChips
force-pushed
the
feat/pr-check-fix-has-test
branch
from
November 22, 2026 22:13
e0508d2 to
fc5d60b
Compare
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 and why
The standard says a fix comes with a test that fails without it, and a visual fix with before and after screenshots. Nothing checked either. This adds
fix-has-test(MT8) to the pull request checks of #21.fix, aspr-titleparses it. Every other type passes.tests/ortest/directory, a siblingtests.rs, or another language's_test,.test,.specortest_*.pyfile;#[test],#[tokio::test],#[rstest],#[test_case(…)]. The changed files come frompulls.listFiles, paginated.visuallabel and an image in its description: Markdown,<img>, or a pasteduser-attachmentslink. A labelled fix with no image fails and is told to add before and after screenshots. Labelling re-runs the checks, since the caller workflow listens forlabeledandunlabeled.Testing
#[test], doesn't count;just check-changed origin/feat/pr-check-co-authorspasses.PRrun, whosefeattitle passes the check.Checklist
just check-changedpasses.Note
Written by Claude Opus 5.5 in Claude Code (via T3 Code)