Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/plugins/lib/backend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
name: Run the backend tests
working-directory: ./etherpad-lite
run: |
res=$(find .. -path "./node_modules/ep_*/static/tests/backend/specs/**" | wc -l)
res=$(find . -path "./src/plugin_packages/ep_*/static/tests/backend/specs/**" | wc -l)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Action required

1. find path fix untested 📘 Rule violation ⛯ Reliability

This PR fixes backend test discovery by changing the plugin search path, but it does not add any
regression test that would fail if the change were reverted. Without a regression test, the same CI
discovery bug could be reintroduced without detection.
Agent Prompt
## Issue description
The PR fixes backend test discovery in CI, but does not add a regression test that would fail if the fix were reverted.

## Issue Context
This change adjusts where plugins are searched for backend tests (`src/plugin_packages` instead of `node_modules`). A regression test should validate that backend tests are discovered from the intended install location so the bug cannot silently return.

## Fix Focus Areas
- bin/plugins/lib/backend-tests.yml[65-65]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

if [ $res -eq 0 ]; then
echo "No backend tests found"
else
Expand Down
Loading