-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
[SFN] Failure support for lambda (service tasks) #8158
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
Conversation
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!
def _eval_execution(self, env: Environment) -> None: | ||
parameters = self._eval_parameters(env=env) | ||
parameters_str = to_json_str(parameters) | ||
env.event_history.add_event( |
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.
The HistoryEventType.TaskScheduled
might imply some changes needed in the future for the internals here where this isn't actually executed immediately but scheduled instead and might have to wait for resources to be available 🤔
* Extends #8033
This pr:
service
state tasks
, withlambda service state task
andlambda state task
now benefitting of this changecatch declaration
s andcatchers
States.TaskFailed
matching task failure (seetodo
for further investigations)