Skip to content

feat(ext-tester): --strict and the action's strict input (#1487) - #1621

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/1487-tester-strict
Oct 16, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
devfrom
issue/1487-tester-strict

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Part of #1487 (quality of the extension-author CI).

Found while hardening QueryaHub/extension-template: on a GitHub runner the OS sandbox was silently missing, the tester printed WARN launch and the run was green, so --sandbox tested nothing. Warnings never fail the tester.

  • querya-ext-tester --strict: a warning makes the exit code 1 (HarnessReport.passes(strict:); isSuccess is unchanged, so JUnit/TAP and everything else behave as before).
  • .github/actions/test-extension: strict input, default false.
  • Docs (extension-testing.md) and CHANGELOG; unit test for the strict rule.

Not in a release yet, so the template cannot use strict: true until the next release publishes a tester with the flag; it keeps its JUnit grep until then. Not run locally, CI decides.

…put for the action (#1487)

A missing OS sandbox is only a warning, so --sandbox could pass green without
isolating anything. --strict turns warnings into exit code 1.
@github-actions github-actions Bot added bug Something isn't working enhancement New feature or request tests Theme parser epic P3 Low priority / Polish & Enhancements labels Oct 16, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit aa4e715 into dev Oct 16, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request P3 Low priority / Polish & Enhancements tests Theme parser epic

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant