Skip to content

reuse files when generate report within hardlinks(#545)#547

Open
todti wants to merge 3 commits intomainfrom
opt-and-reuse
Open

reuse files when generate report within hardlinks(#545)#547
todti wants to merge 3 commits intomainfrom
opt-and-reuse

Conversation

@todti
Copy link
Copy Markdown
Collaborator

@todti todti commented Mar 18, 2026

reduces disk usage and I/O when generating multiple reports into the same output directory by reusing identical files via hardlinks instead of writing duplicates.

  • Adds content-hash based deduplication in FileSystemReportFiles with atomic tmp+rename and a safe fallback to regular writes when hardlinking isn’t possible.
  • Adds unit tests and an e2e check ensuring shared static assets and attachments remain accessible across multiple awesome reports (inode check on non-Windows).

refer to #545 #486

image

@todti todti added theme:build type:improvement New feature or request labels Mar 18, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 18, 2026

Allure Report Summary

Name Duration Stats New Flaky Retry Report
Allure 3 Report 26m 19s Passed tests 6119   Skipped tests 15   Unknown tests 12 21 0 0
My Dashboard 26m 19s Passed tests 6119   Skipped tests 15   Unknown tests 12 21 0 0 View
Allure 3 GitHub actions run (2026-04-15T16:13:23.253Z) 26m 19s Passed tests 6119   Skipped tests 15   Unknown tests 12 21 0 0 View

@todti todti requested a review from epszaw March 30, 2026 12:17
@todti todti marked this pull request as ready for review March 30, 2026 12:17
@todti todti changed the title WIP: reuse files when generate report within hardlinks(#545) reuse files when generate report within hardlinks(#545) Mar 30, 2026
@todti todti requested a review from delatrie March 30, 2026 12:18
@jrett2
Copy link
Copy Markdown

jrett2 commented Apr 14, 2026

FYI this is a duplicate of #486

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:improvement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants