Skip to content

Conversation

@Steph0
Copy link
Contributor

@Steph0 Steph0 commented May 12, 2021

  • [modified] Avoidable loss of 10sec of runner

The sleep in trigger_workflow is a loss of 10 seconds on Github runners (which cost money) that can be avoided since wait_for_workflow_to_finish will still do the job if user wants to wait for workflow.
Especially if a user uses wait_workflow=false since he specifically asks to not wait.

Concerned lines:

echo "Sleeping for $wait_interval seconds"
sleep $wait_interval

@Steph0
Copy link
Contributor Author

Steph0 commented May 26, 2021

Up @keithconvictional :)

Copy link
Contributor

@keithconvictional keithconvictional left a comment

Choose a reason for hiding this comment

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

@Steph0 Thanks for putting this together. Changes look good. Give me 24 hours to test them out.

@Steph0
Copy link
Contributor Author

Steph0 commented May 31, 2021

@keithconvictional my pleasure! :)

@Steph0
Copy link
Contributor Author

Steph0 commented Jun 17, 2021

@keithconvictional 😞

@keithconvictional keithconvictional merged commit b3813dc into convictional:master Jun 17, 2021
@keithconvictional
Copy link
Contributor

@Steph0 released in v1.4.0. Thanks for contributing!

@Steph0
Copy link
Contributor Author

Steph0 commented Jun 25, 2021

@keithconvictional thanks to you! Migrating all our apps to 1.4.0 as of today :)

@NotNils
Copy link

NotNils commented Dec 30, 2021

I've tested between v1.3 and v1.4 and v1.3 is more stable because of that first 10 second sleep than v1.4, but I like the feature of v1.5 xD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants