Skip to content

Fail Fast option #581

Done
Done

Description

@HamishWHC

Describe the problem/challenge you have
Currently, I use kbld to build up to ~70 container images to deploy alongside my K8s manifests. These images, without caching, may take upwards of 10 minutes to build in CI. If there is an error in one of those builds, the errors for this are buried somewhere deep in my CI logs.

Describe the solution you'd like
An option that tells kbld to cancel all remaining builds and terminate in-progress ones as soon as a single build fails. Perhaps --fail-fast or similar.

Anything else you would like to add:
N/A


Vote on this request

This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.

👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"

We are also happy to receive and review Pull Requests if you want to help working on this issue.

Activity

  1. added
    enhancement
    carvel triage
    on Feb 16, 2026
  2. joaopapereira commented on Feb 17, 2026

    @joaopapereira
    Member

    Given that you do not have caching I assume that the images will always have to be rebuilt so in your use case sounds like this fail fast might be something useful.
    We are doing this work in parallel so we need to be a bit careful with the implementation but I think that is good feature to have.

    Is this something that you are interested in contributing?

  3. HamishWHC commented on Feb 18, 2026

    @HamishWHC
    Author

    I might be able to take a crack at it, not sure when I'd get around to it though - likely will be months away haha. I've since moved to a self-hosted runner which just handles caching through it being a shared docker cache between runs, so I don't actively need this as much.

  4. github-actions commented on Mar 31, 2026

    @github-actions

    This issue is being marked as stale due to a long period of inactivity and will be closed in 5 days if there is no response.

  5. added
    stale
    on Mar 31, 2026
  6. added
    carvel accepted
    and removed
    carvel triage
    stale
    on Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    carvel acceptedenhancement

    Type

    No type

    Projects

    • Status
      Closed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions