-
Notifications
You must be signed in to change notification settings - Fork 273
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
chore: set default timeouts #4066
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
7a08e4c
refactor: move constant `defaultBuildTimeout` to `constants.ts`
vvagaytsev b10a595
refactor: rename timeout constants for clarity
vvagaytsev a9afc8a
chore: set default build action timeout in joi schema
vvagaytsev 9c8dc11
chore: set default run action timeout in joi schema
vvagaytsev 3df5562
chore: set default test action timeout in joi schema
vvagaytsev 8c81431
chore: change default run and test action timeouts to 600s
vvagaytsev 0b99f31
chore: remove duplicate constant
vvagaytsev 2e3f470
docs: re-generated docs
vvagaytsev 03ac5ea
refactor: extract named constant
vvagaytsev cac6955
chore: default timeout value for module-based tasks and tests
vvagaytsev d754f43
chore: set min timeout value for module builds
vvagaytsev 41caeb7
refactor: non-nullable timeout in `BaseTestSpec`
vvagaytsev f35b1b4
refactor: non-nullable timeout in `BaseTaskSpec`
vvagaytsev f375f77
chore: replace `DEFAULT_BUILD_TIMEOUT` by `DEFAULT_BUILD_TIMEOUT_SEC`
vvagaytsev 71979cd
test: fix module version assertions
vvagaytsev 87efd53
test: fix test assertions
vvagaytsev dd916c7
chore: require integer as a k8s deployment timeout
vvagaytsev 9869b0e
refactor: non-nullable timeout in `BaseBuildSpec`
vvagaytsev e5e9266
style: linting
vvagaytsev 4a80859
chore: use default Run action timeout (similarly to Test action)
vvagaytsev 93af1ac
chore: non-optional timeout in `BaseRunParams`
vvagaytsev 4cffa52
chore: added some TODOs
vvagaytsev 8665c28
chore: set default timeout for exec service
vvagaytsev 72208a2
chore: set default timeout for exec Deploy action
vvagaytsev e032d4f
refactor: make `timeout` nonnullable in `KubernetesTypeCommonDeploySpec`
vvagaytsev 243a4a6
refactor: add optional `timeout` field in `BaseActionConfig`
vvagaytsev 61e9f50
chore: fix typo
vvagaytsev 0613f4c
refactor: shrink default build timeout to 600 sec
vvagaytsev e0f8515
test: fix test assertions
vvagaytsev f7c1cbf
chore: make `timeout` required in `runBaseParams`
vvagaytsev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@edvald it looks like this value is never used. Removing this and its initialization in the converter brings no compilation errors.
The timeout value is never passed to the
runPersistent
function which, in turn, does not seem to support timeouts.There is external logic on the
runPersistent
caller's side that relies on thestatusTimeout
andstatusCommand
. Do we still need thistimeout
field?