Skip to content

Pushing new commits to a branch, does not stop a prebuild from a previous commit of the same branch. #6569

Closed
@shaal

Description

@shaal

Bug description

I think a previously running prebuild should be cancelled if new commits are pushed to the same branch.

I noticed it after I pushed changes to a branch, and realized I forgot to make a small change.
image

Steps to reproduce

Create long init task in .gitpod.yml.
After pushing a commit that will trigger the prebuild, push another commit to the same branch, and go to Prebuilds page on your gitpod.io account.

Workspace affected

No response

Expected behavior

Seems like waste of resources to keep the previous prebuild running.
Not sure if this might cause other issues (like an old prebuild finish running after the latest prebuild, and perhaps override things?)

Example repository

No response

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions