We are using the approval step feature quite a lot. two questions:
Many times we have approval steps that we don’t approve and stay live forever (?). how can we set them with time to live? We would like, for example, that after 1 day the steps will get canceld.
When an approval step is not approved, is it considered to be a running job by circle ci?
- I think there’s a hard 90d timeout that’s not configurable (more details and a caveat here): https://support.circleci.com/hc/en-us/articles/360043401212-Time-Limit-for-Approval-Hold-Job
- I don’t believe it consumes time / credit while it’s not approved
Note, however, that if you cancel the job, it can’t be approved. If the API supports it, you could probably write something to kill stale approvals and / or approvals older than an existing. approved job
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.