Skip to content
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

Stop sauce before timeout #9

Merged
merged 4 commits into from
Oct 4, 2017
Merged

Stop sauce before timeout #9

merged 4 commits into from
Oct 4, 2017

Conversation

yfangsl
Copy link

@yfangsl yfangsl commented Sep 22, 2017

  1. Added a checkbox to force job/tunnel cleanup in the build configuration page
  2. It will look for tunnels with the associated tunnel_id and stop them.
  3. It will stop jobs, then wait up to 5 seconds for additional jobs that might get added and stop those too. If it finds new jobs, the timer is reset.
  4. Sanitized build names in a way that matches what the API calls were returning so jobs could be matched
  5. The job id list was missing an item in the loop, which was preventing proper cleanup

…ing an item, add checkbox to force build cleanups to handle build aborts leaving sauce jobs/tunnels in a 90s timeout
Copy link

@christian-bromann christian-bromann left a comment

Choose a reason for hiding this comment

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

Code changes look good to me but @halkeye might have a better opinion on this.

@yfangsl yfangsl merged commit e54dd88 into master Oct 4, 2017
@diemol diemol deleted the stop-sauce-before-timeout branch October 25, 2023 09:38
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.

2 participants