-
Notifications
You must be signed in to change notification settings - Fork 146
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
Move failed airlock requests to "failed" state #2395
Move failed airlock requests to "failed" state #2395
Conversation
…requests-to-failed-state
…ed the output binding is not called
…requests-to-failed-state # Conflicts: # airlock_processor/StatusChangedQueueTrigger/__init__.py
…alyaron-feature/1967-airlock-move-failed-requests-to-failed-state � Conflicts: � CHANGELOG.md
…alyaron-feature/1967-airlock-move-failed-requests-to-failed-state
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, minor comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just small nits
…alyaron-feature/1967-airlock-move-failed-requests-to-failed-state � Conflicts: � api_app/_version.py
/test |
🤖 pr-bot 🤖 🏃 Running tests: https://github.com/microsoft/AzureTRE/actions/runs/2795607109 (with refid (in response to this comment from @yuvalyaron) |
Fixes #2268
Fixes #2339
What is being addressed
Failed airlock requests no longer get stuck on "submitted" status, instead, their status changes to "failed", along with an
error_message
field that was added to the airlock request and describes what went wrong.How is this addressed
error_message
field to airlock requests to describe why the request failed.StatusChangedQueueTrigger
, the block wraps the main method and handles all exceptions.StatusChangedQueueTrigger
- to publish the failed event from the function.AirlockInvalidContainerException
in airlock and added 2 exceptions that are more specific instead.