Skip to content

Preserve manually assigned step statuses#1337

Merged
baev merged 1 commit into
mainfrom
fix-1133
Jul 22, 2026
Merged

Preserve manually assigned step statuses#1337
baev merged 1 commit into
mainfrom
fix-1133

Conversation

@baev

@baev baev commented Jul 22, 2026

Copy link
Copy Markdown
Member

Context

Steps created with @Step or Allure.step now retain a status explicitly assigned while the step is running. For example, a step that sets its status to FAILED and then returns normally remains failed instead of being reported as passed.

Steps that throw continue to use the existing exception-based status and failure details, preserving current failure behavior.

fixes #1133

Checklist

@baev baev added pr:improvement Change that improves some user experience but can't be considered as a new feature and removed theme:core labels Jul 22, 2026
@github-actions

Copy link
Copy Markdown

Allure Report Summary

Name Duration Stats New Flaky Retry Report
Allure Java – Pull request #1337 26m 24s Passed tests 2019   Skipped tests 2 8 0 0 View
Allure Java GitHub actions run (2026-07-22T13:01:39.331Z) 26m 24s Passed tests 2019   Skipped tests 2 8 0 0 View

@baev
baev merged commit ad8d68d into main Jul 22, 2026
11 of 12 checks passed
@baev
baev deleted the fix-1133 branch July 22, 2026 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:improvement Change that improves some user experience but can't be considered as a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐞: setStatus not updated status and stopStep destroys nesting of steps

2 participants