Skip to content

[Actions] Opt-out from auto-cancellation #32662

@schlamar

Description

@schlamar

There are a lot of complains about the new auto-cancellation feature (#25716) as this has a lot of unexpected side effects:

The worst side effect: Cancel does not really work as expected on a Windows runner, as child processes are not terminated: https://gitea.com/gitea/act_runner/issues/549

Please provide an option to disable auto-cancellation feature.

Activity

added
type/proposalThe new feature has not been accepted yet but needs to be discussed first.
on Nov 28, 2024
michaelhofer-slg

michaelhofer-slg commented on Jan 14, 2025

@michaelhofer-slg

I agree, this would be very helpful. We have to start the jobs manually again when merging multiple branches within a short time.

lunny

lunny commented on Jan 14, 2025

@lunny
Member

Related to #32751

linked a pull request that will close this issue on Jan 14, 2025
lyz-code

lyz-code commented on Mar 31, 2025

@lyz-code

Just to give some more context on why this is important. We're using gitea actions as part of our gitops workflow, so each commit in main triggers a version bump that updates the changelog and does a tag. To be able to do that it needs to push to main these changes, but the workflow is not able to finish because this push cancels the job.

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

    topic/gitea-actionsrelated to the actions of Giteatype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @lunny@schlamar@Zettat123@michaelhofer-slg@lyz-code

      Issue actions

        [Actions] Opt-out from auto-cancellation · Issue #32662 · go-gitea/gitea