docker / docker/go-sdk

Proposal: Any wait strategy

Open
#147 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
132
Forks
26
PR merge metrics
No merged PRs in 30d

Description

There are many wait strategies in the wait package, and even an "all" strategy for waiting on multiple strategies. I think this is great, but sometimes we may want to wait until the first condition is met.

I'm not sure if we can do that with the current code. If not, do you think this would be valuable? I could work on it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the wait package and its existing wait strategies, including the "all" strategy mentioned in the issue. Clarify whether waiting for the first condition is supported, define the intended behavior and API, and establish tests for the selected condition completing first.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
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.