Skip to content

Revert the per-plugin test workflow (#84) - #89

Merged
MyPrototypeWhat merged 1 commit into
mainfrom
revert/plugin-tests-workflow
Oct 27, 2026
Merged

MyPrototypeWhat merged 1 commit into
mainfrom
revert/plugin-tests-workflow

Conversation

@MyPrototypeWhat

@MyPrototypeWhat MyPrototypeWhat commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

Reverts #84. Plugin authors keep their own tests passing; the repository CI goes back to the rule checks only.

Why

#84 runs every changed plugin's npm test on a clean macOS runner with Node.js 22 and Git. The trial (#88) showed plugin tests depend on the author's machine:

  • cutline needs FFmpeg, which the runner lacks;
  • cutline also listens on 127.0.0.2, which macOS does not configure.

Supporting tests like these would mean the maintainers install, pin, and maintain a toolset for plugin authors. That falls outside the review policy in AGENTS.md, which gates on npm run check, a truthful README, and user-data safety only. CONTRIBUTING already asks authors to test the app and report their environment and results in the pull request.

If authors later want CI to run their tests, an opt-in scripts["test:ci"] is the suggested shape: the author declares that the tests run on a clean runner, and the maintainers provide no tools.

Changes

A clean git revert of 475a658. Nothing has touched these files since:

  • deletes .github/workflows/plugin-tests.yml;
  • removes the "Plugin tests" sections from CONTRIBUTING.md and CONTRIBUTING.zh-CN.md;
  • removes step 5 from AGENTS.md.

Verification

npm run check passes (87 tests).


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

)"

This reverts commit 475a658.

The workflow runs each plugin's npm test on a clean macOS runner with Node.js 22 and Git only.
The trial (#88) showed plugin tests depend on what is installed: cutline needs FFmpeg, which the
runner lacks, and a CI-provided toolset would need its own install, pinning, and maintenance.
Plugin authors keep their tests passing on their own machines instead, as CONTRIBUTING already
asks them to test the app and report the environment in the pull request.

Removes .github/workflows/plugin-tests.yml and the "Plugin tests" sections in CONTRIBUTING
(en/zh) and AGENTS.md step 5.

Assisted-by: Claude Opus 5.5 (OpenCode)
@MyPrototypeWhat
MyPrototypeWhat merged commit c5f3d4b into main Oct 27, 2026
1 check passed
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.

1 participant