YN-0620 - Batch creator/publisher/loader + Improve batch_utils module#124
Open
rdelillo wants to merge 14 commits into
Open
YN-0620 - Batch creator/publisher/loader + Improve batch_utils module#124rdelillo wants to merge 14 commits into
rdelillo wants to merge 14 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR expands Flame Batch workflow support by introducing batch-specific menus and adding publish/load tooling to serialize a Flame batch group into a consolidated JSON “workfile” representation and reload versions as native Flame batch iterations.
Changes:
- Add a dedicated Batch menu context (
FlameMenuBatch) and wire it into Flame startup hooks. - Introduce batch workfile creator/extractor/loader plugins (publish consolidated JSON; load all versions as batch iterations).
- Refactor/extend
batch_utilswith batch create/update, reel management, batch content editing, and consolidated JSON save/load.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| client/ayon_flame/startup/AYON_in_flame.py | Registers the new Batch menu app and routes Batch hook menus to it. |
| client/ayon_flame/api/menu.py | Adds FlameMenuBatch with Create/Publish/Load/Library actions in Batch context. |
| client/ayon_flame/api/init.py | Exposes new menu + batch utils API surface; removes deprecated batch lookup export. |
| client/ayon_flame/api/lib.py | Removes get_batch_group_from_desktop helper. |
| client/ayon_flame/api/batch_utils.py | Adds batch CRUD helpers and consolidated JSON (de)serialization utilities. |
| client/ayon_flame/plugins/create/create_batch.py | Adds a Batch “workfile” creator storing instance metadata in a Note node. |
| client/ayon_flame/plugins/publish/extract_batch_workfile.py | Adds extractor to export current batch group into consolidated JSON representation. |
| client/ayon_flame/plugins/load/load_batch.py | Adds loader that loads all published versions as Flame batch iterations. |
| client/ayon_flame/plugins/publish/integrate_batch_group.py | Updates integration flow to use the new batch utils APIs. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This was
linked to
issues
Apr 29, 2026
…20_batchgroup_loader_publisher
iLLiCiTiT
reviewed
Apr 30, 2026
Comment on lines
+284
to
+287
| menu['actions'].append({ | ||
| "name": "4 - Library...", | ||
| "execute": lambda x: self.tools_helper.show_library_loader() | ||
| }) |
Member
There was a problem hiding this comment.
I'd get rid of library, it is the same thing as loader.
Suggested change
| menu['actions'].append({ | |
| "name": "4 - Library...", | |
| "execute": lambda x: self.tools_helper.show_library_loader() | |
| }) |
iLLiCiTiT
reviewed
Apr 30, 2026
|
|
||
| instance = CreatedInstance( | ||
| product_base_type=self.product_base_type, | ||
| product_type=self.product_type, |
Member
There was a problem hiding this comment.
Suggested change
| product_type=self.product_type, | |
| product_type=self.product_base_type, |
iLLiCiTiT
reviewed
Apr 30, 2026
|
|
||
| instance = CreatedInstance( | ||
| product_base_type=self.product_base_type, | ||
| product_type=self.product_type, |
Member
There was a problem hiding this comment.
Suggested change
| product_type=self.product_type, | |
| product_type=self.product_base_type, |
This was referenced May 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog Description
fixes 119 #118
Changes:
Tests
Tested on Flame 2026 macOs
Testing notes: