Skip to content

fix(testing): say how check-visual-parity runs a suite and what a run with no verdict means - #10122

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-10105-40232614232-1
Oct 25, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-10105-40232614232-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #10105

Summary

Opened by the work-resolve-issue lane. The run's own summary:

Route 1 of /testing:check-visual-parity now runs the repository's visual suite through the repository's own entry point (its documented test command or runner script), not the test tool directly, and names that command in the report. A state the run did not compare (a build, install or browser-launch error, or no baseline image) has no verdict: the skill reports the environment failure with its last lines, and the state gets a gap report and never moves to another route. Evidence for the new instruction: in the first-consumer pass recorded in #10105, the suite runner failed twice before comparing anything, and the skill gave no rule for that case.

Not verified

  • cant-fail-scan: running the wrapper with no base argument timed out after 2 minutes; the change is docs and evals only, and the PR's CI runs this scan
  • The new eval case was not run against a model; only its structure was checked with check-evals-quality
  • check-affected skipped the changed-skills audit and typos here; the PR's CI runs them

Fix

  • plugins/testing/skills/check-visual-parity/SKILL.md: route 1 runs the suite through the repository's entry point and names the command; a state the run did not compare is an environment failure with last lines plus a gap report (state, command, needs it to run to a verdict), never moved to another r
  • plugins/testing/skills/check-visual-parity/evals/evals.json: new case 6 (suite-run-fails-before-comparing): the model must pick npm test over npx playwright test, report the version-mismatch failure as an environment failure and give both states the gap report without falling through to drive
  • .changes/testing/fix-10105-visual-parity-suite-run-5b2e8d41.md: patch changelog fragment for the testing plugin (named by hand because HEAD is detached, so new-changelog-fragment refused)

Verification

The runner ran each check from the base copy against 5bec764:

  • scripts/check-changelog-fragments.sh --check: passed

The run reports:

  • .lane/checks/bin/check-changelog-fragments: All 6 changelog fragment(s) under .changes/ are valid
  • .lane/checks/bin/check-affected: 9 passed, 7 skipped (skips: shellcheck and ruff found no changed files of their type, typos is not installed, and the rest run code from the checked tree), over 3 changed files
  • .lane/verify/bin/check-evals-quality plugins/testing/skills/check-visual-parity/evals/evals.json: PASS, 0 warnings
  • fresh-context subagent review of the whole diff: 5 findings (gap report contents undefined for route 1, decide per state not per run, state the no-fallthrough reason inline, reword the Report line, the eval must make the model choose the command), all fixed
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/40232614232

Left out: the items under Not verified.

Related

#10105

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 5bec7649d419892bd8865f729018daf6314eb4c8: 0 finding(s), 0 as inline comments.

No security issues found in PR #10122 at head 5bec764.

I read the whole diff and the PR context. The change adds one new instruction to route 1 of plugins/testing/skills/check-visual-parity/SKILL.md, plus a Report line, an eval case and a changelog fragment. It touches no manifest and no trusted path.

  • Instruction surface: nothing is deleted or softened. The change adds a rule that a state the suite did not compare gets a gap report and never falls through to another route. That tightens the skill. The protected-class register was not consulted because no rule was removed.
  • Run the repository's own test command: route 1 now says to run the suite through the repository's documented test command or runner script instead of the test tool directly. That command is repository-controlled, but route 1 already ran the repository's suite, and the skill's tool grants are unchanged. The step adds no new authority, so it is not a finding.
  • Evals and changelog: the new eval case 6 is prompt text and expectations only. The changelog fragment is a patch-level note.
  • Manifests: the diff changes no plugin.json or marketplace.json, so there are no manifest <field> lines.
  • Cost: no billing change and no cost hold. Any extra lane or eval runs spend only prepaid or subscription usage.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 5bec7649d419892bd8865f729018daf6314eb4c8: 0 finding(s), 0 as inline comments.

No findings. I read the diff, the PR context and the full SKILL.md.

  • Closing issue fix(testing): say how check-visual-parity runs a suite and what a run with no verdict means #10105: All three "Done when" items are met.
    • Route 1 (SKILL.md:38-45) names the command to run (the repository's entry point, reported by name) and defines a run with no verdict as an environment failure.
    • Eval case 6 covers a suite that fails before comparing. Its expectations require the environment failure with its last lines, the gap report for both states, and no fall-through to drive.
    • The changelog fragment is a valid bump: patch entry. I did not run the fragment check myself; the PR author reports that it passed.
  • Consistency with the rest of the skill:
    • The no-fall-through rule matches Step 4's existing reasoning that two renderers differ.
    • The new gap report is the same one Step 1 route 2 and the "done when" line already use.
    • The Report section now lists the suite command, its verdict or environment failure, and each gap report.
    • Eval case 6 follows the shape of the other cases, including narration: true.
  • Spend: none. This is a docs and evals change only.
  • Unverified: I did not run the new eval case against a model. The PR body says it was also not run, and that only its structure was checked.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 5bec7649d419892bd8865f729018daf6314eb4c8.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Oct 25, 2026
Merged via the queue into main with commit fcbacec Oct 25, 2026
41 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-10105-40232614232-1 branch October 25, 2026 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(testing): say how check-visual-parity runs a suite and what a run with no verdict means

0 participants