Skip to content

[ci] Removed duplicate test runner - #189

Merged
nemesifier merged 1 commit into
masterfrom
issues/39-single-runner
Nov 30, 2026
Merged

nemesifier merged 1 commit into
masterfrom
issues/39-single-runner

Conversation

@nemesifier

Copy link
Copy Markdown
Member

Checklist

Reference to Existing Issue

Related to openwisp/openwisp-actions#39.

Description of Changes

Remove the unused legacy runtests.py entry point. CI and documented test commands already use ./runtests, which supports the same nose2 discovery and validates focused arguments. Contributors invoking the old script should use ./runtests instead.

Screenshot

N/A

@nemesifier

Copy link
Copy Markdown
Member Author

/review

@coderabbitai

coderabbitai Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request removes runtests.py. The script imported nose2, raised an ImportError with installation instructions if the import failed, and called nose2.discover() when run as the main script.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Suggested reviewers: daffytheduck

Merge Risk: Minimal · up to 0b20c

This removes an unused duplicate test entry point. CI and the documented test commands already use ./runtests, so the change is low risk. Anyone still calling runtests.py locally needs to switch to ./runtests.

Pre-merge checks: Passed 5

Check name Status Explanation
Title check Passed The title "[ci] Removed duplicate test runner" follows the required [prefix] format with the valid prefix "ci". It names the main change: removal of the legacy runtests.py script, which duplicates ./r…
Description check Passed The description follows the template. The checklist is filled in, with N/A for test and documentation items. The author marks manual testing as unchecked. The linked issue is referenced as related to …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Ui Changes, Regression Test, Docs Passed The check is not triggered by this pull request. The changed-file inventory shows one change: deletion of runtests.py (a dev test-runner script, not application code). Each sub-rule was checked: - *…
Full details: Title check

Explanation

The title "[ci] Removed duplicate test runner" follows the required [prefix] format with the valid prefix "ci". It names the main change: removal of the legacy runtests.py script, which duplicates ./runtests. The title is specific and matches the changeset.

Full details: Description check

Explanation

The description follows the template. The checklist is filled in, with N/A for test and documentation items. The author marks manual testing as unchecked. The linked issue is referenced as related to openwisp/openwisp-actions#39, but the template expects a 'Closes #<issue-number>' line, so the link type differs. The Description of Changes section explains the removal and directs contributors to ./runtests. The Screenshot section is N/A.

Full details: Ui Changes, Regression Test, Docs

Explanation

The check is not triggered by this pull request. The changed-file inventory shows one change: deletion of runtests.py (a dev test-runner script, not application code). Each sub-rule was checked: - UI changes: No end-user UI, terminal UI, or REST API output changes. Screenshots are not required. - Regression test: The PR is a CI/tooling cleanup (title prefix [ci]), and it does not change application behavior. The check exempts CI changes, so no regression test is required. - Documentation: This is not a new feature. The deleted runtests.py is not referenced in the README, the CI workflow, or AGENTS.md. Those files already use ./runtests, which the PR keeps. The documented feature (./runtests) is unchanged, so no doc update is required. - Security: The deleted file contained only a nose2 import guard and a nose2.discover() call. The diff contains no suspicious content.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: c8cd3920-3ec3-49c4-8013-736d71900757
Commits

Reviewing files that changed from the base of the PR and between 607874e and 0b20cb4.

Files selected for processing: 1

  • runtests.py
Files with no reviewable changes: 1

  • runtests.py

Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Recent review details

Context from checks skipped due to timeout: 3

  • GitHub Check: Finalize Coveralls report
  • GitHub Check: Analyze (python)
  • GitHub Check: Analyze (actions)

@openwisp-companion

openwisp-companion Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Waiting for CI to complete before reviewing 0b20cb4.

Update: review completed.

@openwisp-companion openwisp-companion Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

AI review of 0b20cb4 provided by github-copilot / gpt-6.1-terra

Verdict: Looks good

Remove the duplicate test runner

  • No findings. The documented and CI test commands already use ./runtests.
  • Contributors using the removed script will need to switch to ./runtests, as noted in the PR.

Security perimeter: NO. A security review is not needed, run /final-review next.

@nemesifier

Copy link
Copy Markdown
Member Author

/final-review

@openwisp-companion

openwisp-companion Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Update: review completed.

@openwisp-companion openwisp-companion Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

AI final-review of 0b20cb4 provided by github-copilot / gpt-6.1-terra

Verdict: Ready to merge

Ready to merge

Addressed
  • None
Outstanding
  • None
Unclear
  • None

@nemesifier
nemesifier merged commit a73237b into master Nov 30, 2026
16 checks passed
@nemesifier
nemesifier deleted the issues/39-single-runner branch November 30, 2026 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant