🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

Limit oversized attachment previews - #3405

Merged
baev merged 3 commits into
mainfrom
limits
Jun 26, 2026
Merged

Limit oversized attachment previews#3405
baev merged 3 commits into
mainfrom
limits

Conversation

@baev

@baev baev commented Jun 26, 2026

Copy link
Copy Markdown
Member

Context

Allure Report now disables inline previews over 10 MiB for text-like and fully parsed attachment views: HTML, code, plain text, tables, URI lists, SVG, screen diffs, and HTTP exchange attachments. When one of these previews is too large, the report shows a translated fallback message with a download action instead of loading the full preview into the page.

Syntax highlighting is also skipped for code blocks over 2 MiB, and invalid HTML attachments only show their raw source fallback when that source is 2 MiB or smaller. Image and video previews are not capped by this change, and Playwright trace attachments continue using their dedicated viewer flow.

Checklist

@baev baev added the pr:improvement Change that improves some user experience but can't be considered as a new feature label Jun 26, 2026
@github-actions

github-actions Bot commented Jun 26, 2026

Copy link
Copy Markdown

Allure Report Summary

Name Duration Stats New Flaky Retry Report
Allure 2 – Pull request #3405 12m 27s Passed tests 390   Skipped tests 1 0 0 0

@baev
baev merged commit a966e39 into main Jun 26, 2026
10 checks passed
@baev
baev deleted the limits branch June 26, 2026 14:03
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.

3 participants