Allow specifying timeouts for otherwise uncontrollable steps so that cost does not grow unbounded
J
Jonas T
We've had steps like "Spin up Environment" hang for over an hour before without doing anything, until we noticed, cancelled and rebuilt the build. Since, I assume, that we're paying for all the time that CircleCI spends on our build, even in built-in steps such as "Spin up Environment", it should really be possible to set a timeout on those to keep the cost in check.
CCI-I-451
Tim Krins
more than 3 years later - any change?
I would like to reduce the 5 hour timeout (aka the timeout which says "Build timed out after 5h0m0s") as all of our CI our jobs should never take more than 30 minutes... and every time this happens we are paying for 4.5 hours of completely wasted CI time.
Jason Karns
I would like to see a feature like this to be configurable at the job level. Presently one can use
no_output_timeout
to kill a hung process. But that doesn't work for processes that continue to generate output (like, say rspec --bisect
). Similarly, one can wrap an individual command with timeout 120m foo
, but that maxes a single command. It would be much nicer to just allow configuration and capping of the entire _job_. I don't care which individual step causes the limit, or if it's cumulatively across a bunch of steps. I just want to be able to say "this job may not run longer than X" regardless of the step(s) responsible or if there is output.J
Jonas T
Any progress here? I don't see an alternative to us running some sort of external monitor that cancels any builds that get stuck in "Spin up Environment", which is something I'd really like to avoid 😟
J
Juan Raimondi
No problem -- thank you for the follow up, Alexey! Have a great day!
Alexey
Sorry Jonas and Juan, I made a wrong call earlier. Just checked with our support team once again—your point is absolutely a valid one, and we’ll look into making this a feature. Sorry for the confusion, and thanks again.
J
Juan Raimondi
Hi! I can confirm a had a similar issue (except that it generated output instead of just being hang) and support told me to file a feature request here.
J
Jonas T
When I reported it to the support, they said I should file it as a feature request here
Alexey
Hey Jonas, this should not be happening. Could you please reach out to our support team for assistance? You can submit a support ticket here. Thanks!