Skip to content

Conversation

@iLLiCiTiT
Copy link
Member

Changelog Description

Integrate hero versions is using FileTransaction to handle copying of files.

Additional info

FileTransaction handles more than what integrate hero version did. It also uses thread pool, but it also validates if the destination paths are re-used for multiple files which helps to avoid cryptic bugs reporting that the file is alredy used.

Testing notes:

  1. Integrate hero version is still working as it was.
  2. When there is a re-used destination path, the error is more clear (e.g. remove {output} from hero publish template).

@iLLiCiTiT iLLiCiTiT self-assigned this Dec 19, 2025
@ynbot ynbot added type: bug Something isn't working size/S labels Dec 19, 2025
Copy link
Member

@kalisp kalisp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still works.

BTW Argument 'product_base_type' is not provided to 'get_publish_template_name'. Could be handled in different PR though.

@iLLiCiTiT
Copy link
Member Author

BTW Argument 'product_base_type' is not provided to 'get_publish_template_name'. Could be handled in different PR though.

Yes, different PR.

@iLLiCiTiT iLLiCiTiT merged commit f9bbab9 into develop Dec 22, 2025
2 checks passed
@iLLiCiTiT iLLiCiTiT deleted the bugfix/902-ay-3875_ayon-integrate-hero-for-review branch December 22, 2025 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants