Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement ensure process ready #124

Open
iLLiCiTiT opened this issue Aug 28, 2024 · 0 comments
Open

Implement ensure process ready #124

iLLiCiTiT opened this issue Aug 28, 2024 · 0 comments
Assignees

Comments

@iLLiCiTiT
Copy link
Member

iLLiCiTiT commented Aug 28, 2024

Description

Implement functionality that makes sure everything is set up for certain processes.

At this moment all the preparation happens during Tray initialization and startup, e.g. login. But when webactions will be used, there is no option to run or validate that preparations, because tray is not running, or is running in different process.

Webactions, especially those who require publishing, will ask ayon-core to ask all addons to prepare and validate their requirements. That part has to be implemented for shotgrid.

How would you imagine the implementation of the feature?

Implementation definition in ayon-core is here ynput/ayon-core#781 . Addon has to override ensure_is_process_ready where should happen whatever it needs to do. The method will receive ProcessContext where are metadata information about the started project, e.g. project name (does not have to be filled - e.g. traypublisher), if is in headless mode, which addon and version triggered the preparation.

@iLLiCiTiT iLLiCiTiT added the type: enhancement Improvement of existing functionality or minor addition label Sep 16, 2024
@dee-ynput dee-ynput removed the type: enhancement Improvement of existing functionality or minor addition label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants