Reusing attachment source in multiple attachments results duplicate names and content types #3159
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
As of now, we have no plans to support reusing the attachment source. Allure 3 and Allure TestOps already link files only to the first attachment link found. This decision was made as a performance optimisation to support realtime reports. For you to better understand, the issue is that if we allow attachments to be reused in multiple steps or results, we will have to store all the attachment files in raw format until all the results are processed and only then proceed with the cleanup. Instead, the first link to the attachment file now "consumes" it, and we can process the file right away (e.g. if we need to remove attachments from passed tests, it can be done immediately). |
Beta Was this translation helpful? Give feedback.

As of now, we have no plans to support reusing the attachment source. Allure 3 and Allure TestOps already link files only to the first attachment link found. This decision was made as a performance optimisation to support realtime reports. For you to better understand, the issue is that if we allow attachments to be reused in multiple steps or results, we will have to store all the attachment files in raw format until all the results are processed and only then proceed with the cleanup. Instead, the first link to the attachment file now "consumes" it, and we can process the file right away (e.g. if we need to remove attachments from passed tests, it can be done immediately).