Skip to content

Add run-level globals and global error reporting - #1372

Merged
baev merged 1 commit into
mainfrom
feat-globals
Aug 6, 2026
Merged

Add run-level globals and global error reporting#1372
baev merged 1 commit into
mainfrom
feat-globals

Conversation

@baev

@baev baev commented Aug 6, 2026

Copy link
Copy Markdown
Member

Context

Allure Java integrations can now report errors that belong to the entire test run instead of assigning them to a test or fixture. Allure.globalError(...) accepts either a Throwable or StatusDetails, timestamps the error, and immediately writes a distinct {uuid}-globals.json artifact.

The result model now exposes Globals, GlobalError, and GlobalAttachment for consumers that read or produce run-level artifacts. Result writers retain backward compatibility while gaining globals support, including file-system output and test utility integration.

Checklist

@baev baev added the pr:new feature Change that add something new for end users label Aug 6, 2026
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown

Allure Report Summary

Name Duration Stats New Flaky Retry Report
Allure Java – Pull request #1372 26m 44s Passed tests 2124 40 0 0 View
Allure Java GitHub actions run (2026-08-06T11:36:58.306Z) 26m 44s Passed tests 2124 40 0 0 View

@baev
baev merged commit d5c35c7 into main Aug 6, 2026
9 of 10 checks passed
@baev
baev deleted the feat-globals branch August 6, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:new feature Change that add something new for end users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants