Skip to content

test: add automated testing runner and matrix#3440

Merged
CharlVS merged 1 commit intodevfrom
qa/automated-testing
Mar 12, 2026
Merged

test: add automated testing runner and matrix#3440
CharlVS merged 1 commit intodevfrom
qa/automated-testing

Conversation

@CharlVS
Copy link
Copy Markdown
Collaborator

@CharlVS CharlVS commented Mar 10, 2026

Summary

  • Add automated testing toolkit under automated_testing/
  • Move manual test cases doc into automated_testing/ as part of the testing package

Note

This PR targets polish/05-docs-and-release-notes because qa/automated-testing was branched from it. After polish/05-docs-and-release-notes is merged, please switch this PR base to dev.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0fe0cc1230

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +76 to +78
pass_count = sum(1 for a in attempts if a.status == "PASS")
if pass_count >= 2:
return True
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Require majority threshold before early retry exit

This early-stop condition is incorrect for critical tests that run with max_attempts=5: returning after only two PASS attempts can produce a final PASS before a true majority is possible, and returning after two ERROR attempts can similarly short-circuit recoverable runs. Because run_test_with_retries applies this to all critical-tagged tests, the majority-vote reliability guarantee is broken for a large part of the matrix.

Useful? React with 👍 / 👎.

Comment on lines +40 to +41
python -m runner.runner --matrix "$MATRIX" --tag smoke --single
SMOKE_EXIT=$?
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Disable errexit when capturing runner exit statuses

With set -euo pipefail enabled, this command exits the script immediately on any non-zero status, so the later $SMOKE_EXIT/$FULL_EXIT branching and artifact collection logic does not run on failures. In practice, smoke/full failures bypass the script’s documented exit-code handling and can skip report copying, reducing CI diagnosability.

Useful? React with 👍 / 👎.

@CharlVS CharlVS changed the base branch from polish/05-docs-and-release-notes to dev March 12, 2026 14:26
@CharlVS CharlVS force-pushed the qa/automated-testing branch from 0fe0cc1 to faed95c Compare March 12, 2026 14:30
@CharlVS CharlVS merged commit 62d44ac into dev Mar 12, 2026
8 of 22 checks passed
@CharlVS CharlVS deleted the qa/automated-testing branch March 12, 2026 14:31
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 12, 2026

Visit the preview URL for this PR (updated for commit faed95c):

https://walletrc--pull-3440-merge-d2q3l3tm.web.app

(expires Thu, 19 Mar 2026 14:54:35 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: f66a4ff03faa546f12f0ae5a841bd9eff2714dcc

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