Repository navigation
Exit 1 when the run failed and write reports below the artifact dir - #115
Merged
Merged
Conversation
The executor records a failed action and runs the next one, so the CLI ended with status 0 whatever happened. The dispatch now runs inside a count of the actions that raised and the files reported as failed, and the process exits 1 when the count is not zero. With TEST_PIONEER_ARTIFACT_DIR set, a report asked for under a relative name is written below that directory. Without it nothing changes.
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 81 |
| Duplication | 7 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
Codacy reports B101 for an assert without the marker the other test files of this repository carry.
JE-Chen
marked this pull request as ready for review
October 11, 2026 07:23
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



The CLI now returns exit status 1 after completing a run with failed actions or files, and prints
error: N action(s) or file(s) failed. Actions after a failure and the requested reports still run. WithTEST_PIONEER_ARTIFACT_DIRset, relative JSON, XML, HTML, JUnit, Allure and interactive HTML reports are written below that directory;generate_all_reportslists their actual paths in its manifest.Failure detection covers sequential, ledger, dependency, thread, process and async execution. Process workers detect failed actions even with recording disabled. Per-thread counters keep ledger and dependency results independent of other concurrent files. Directory execution counts unreadable files and continues the remaining files. Absolute paths, paths outside the artifact directory and unusable artifact paths retain the supplied path.
Validation on Windows / Python 3.14:
git diff --checkpassed.CLI and artifact behavior are documented in the three READMEs, English/Chinese CLI documentation, architecture and update log.