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

Webaction: Handle event status #176

Merged
merged 4 commits into from
Oct 14, 2024

Conversation

iLLiCiTiT
Copy link
Member

@iLLiCiTiT iLLiCiTiT commented Oct 10, 2024

Changelog Description

Handle status of webactions and pass the event id via AYON_WEBACTION_EVENT_ID enviornment variable. Launcher logic makes sure status is set to failed/finished if is still in progress at the end of process, and will abort action if user skips login logic.

Additional info

Pass event id of webaction to children AYON launcher process so he can try to handle it via AYON_WEBACTION_EVENT_ID.

Requirements

Testing notes:

  1. Build AYON launcher and create installer.
  2. Upload installer to server.
  3. Use the version in your bundle.
  4. Launch webaction.
  5. Status of webaction should change to finished or failed, based on what happened.

Important note: It should not crash if AYON server without those 2 PRs is used.

Resolves #170

@iLLiCiTiT iLLiCiTiT changed the title implemented base of handling webaction statuses Webaction: Handle event status Oct 10, 2024
@iLLiCiTiT iLLiCiTiT self-assigned this Oct 10, 2024
@iLLiCiTiT iLLiCiTiT added the type: bug Something isn't working label Oct 10, 2024
@iLLiCiTiT iLLiCiTiT marked this pull request as ready for review October 11, 2024 11:53
@iLLiCiTiT iLLiCiTiT requested review from 64qam and MilaKudr October 11, 2024 11:53
@iLLiCiTiT iLLiCiTiT merged commit 4db8d34 into develop Oct 14, 2024
1 check passed
@iLLiCiTiT iLLiCiTiT deleted the bugfix/170-handle-webaction-event-status branch October 14, 2024 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle WebAction event status
2 participants