buildkite / buildkite/agent

[Feature Request/Enhancement] Retry delay/back off timer

Open
#1,545 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
1.1k
Forks
378
Avg merge
2d 6h
Merged PRs (30d)
74

Description

Would be great if command steps can have a retry `wait` parameters, similar to stepfunction or airflow's retry_delay or retry_exponential_backoff https://airflow.apache.org/docs/apache-airflow/stable/_api/airflow/models/baseoperator/index.html

Use case would be to have a `step` poll the completion status of some (external) dependency and dynamically wait & retry till the dependency is ready. Ideally this wait won't consume any agent runtime

Possible & useful? 🤔 💭

Contributor guide

Open the contributing guide

Research direction

Start by tracing how command steps currently handle retries and where step execution consumes agent runtime. Compare the requested behavior with the linked Airflow retry options, then define how wait, retry, and exponential backoff parameters should work for external dependency polling. Done means the behavior and configuration are specified clearly enough to implement and test.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
ci-cd
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.