Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add support for dynamic timeout and heartbeat in Task state#113

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
lialln merged 7 commits intoaws:masterfromlialln:dynamic-timeout
Jan 28, 2021

Conversation

@lialln
Copy link
Contributor

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@StepFunctions-Bot
Copy link
Contributor

AWS CodeBuild CI Report

Powered bygithub-codebuild-logs, available on theAWS Serverless Application Repository

Copy link
Contributor

@wong-awong-a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Let's fix the failing unit tests. Doesn't seem related to this change though.

state_id (str): State name whose length **must be** less than or equal to 128 unicode characters. State names **must be** unique within the scope of the whole state machine.
wait_for_callback(bool, optional): Boolean value set to `True` if the Task state should wait for callback to resume the operation. (default: False)
timeout_seconds (int, optional): Positive integer specifying timeout for the state in seconds. If the state runs longer than the specified timeout, then the interpreter fails the state with a `States.Timeout` Error Name. (default: 60)
timeout_seconds_path (str, optional): Path applied to the state's input to select the integer to be used for timeout seconds duration.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Aren't these applicable to all Task types and not just the ones you've updated?

liallnand others added2 commitsJanuary 15, 2021 13:20
Co-authored-by: Adam Wong <55506708+wong-a@users.noreply.github.com>
@StepFunctions-Bot
Copy link
Contributor

AWS CodeBuild CI Report

  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered bygithub-codebuild-logs, available on theAWS Serverless Application Repository

@StepFunctions-Bot
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: StepFunctionsPythonSDK-integtests
  • Commit ID:d291ca9
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered bygithub-codebuild-logs, available on theAWS Serverless Application Repository

Copy link
Contributor

@wong-awong-a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Looks good, one comment on the docstring

state_id (str): State name whose length **must be** less than or equal to 128 unicode characters. State names **must be** unique within the scope of the whole state machine.
resource (str): A URI that uniquely identifies the specific task to execute. The States language does not constrain the URI scheme nor any other part of the URI.
timeout_seconds (int, optional): Positive integer specifying timeout for the state in seconds. If the state runs longer than the specified timeout, then the interpreter fails the state with a `States.Timeout` Error Name. (default: 60)
timeout_seconds_path (str, optional): Path applied to the state's input to select the integer to be used for timeout seconds duration.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Grammar and extra help taken from thedocs:

Suggested change
timeout_seconds_path (str,optional):Pathappliedtothestate'sinputtoselecttheintegertobeusedfortimeoutsecondsduration.
timeout_seconds_path (str,optional):Pathspecifyingthestate'stimeoutvalueinsecondsfromthestateinput.Whenresolved,thepathmustselectafieldwhosevalueisapositiveinteger.

Same suggestion applies forheartbeat_seconds_path

@StepFunctions-Bot
Copy link
Contributor

AWS CodeBuild CI Report

  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered bygithub-codebuild-logs, available on theAWS Serverless Application Repository

@liallnlialln requested a review fromyoodan93January 25, 2021 18:27
@liallnlialln merged commit7640db1 intoaws:masterJan 28, 2021
@liallnlialln deleted the dynamic-timeout branchJanuary 28, 2021 19:02
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@alanboalanboAwaiting requested review from alanbo

2 more reviewers

@yoodan93yoodan93yoodan93 approved these changes

@wong-awong-awong-a approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@lialln@StepFunctions-Bot@yoodan93@wong-a

[8]ページ先頭

©2009-2025 Movatter.jp