Skip to content

publish result files atomically - #1563

Open
formaceft-93 wants to merge 1 commit into
mainfrom
atomic-write
Open

publish result files atomically#1563
formaceft-93 wants to merge 1 commit into
mainfrom
atomic-write

Conversation

@formaceft-93

@formaceft-93 formaceft-93 commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Write Allure result files and attachments to same-directory .tmp files, fsync them, and rename them to the final names after writing completes.

This prevents live report generation and TestOps readers from observing partially written outputs, especially large attachments such as videos. Failed publications clean up their temporary files.

Checklist

@formaceft-93
formaceft-93 requested a review from epszaw August 10, 2026 12:00
@formaceft-93 formaceft-93 added the pr:new feature Pull requests that add new user-facing functionality. label Aug 10, 2026
@github-actions

Copy link
Copy Markdown

Allure Report Summary

Name Duration Stats New Flaky Retry Report
Allure JS – Pull request #1563 2h 10m Passed tests 4824 0 0 0 View
Allure JS GitHub actions run (2026-08-10T12:21:51.696Z) 2h 10m Passed tests 4824 0 0 0 View

@formaceft-93
formaceft-93 requested a review from baev August 10, 2026 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:new feature Pull requests that add new user-facing functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant