Skip to content

Auto Concurrency CancelPreviousJobs does not update the commit status to cancelled #33763

Closed
@ChristopherHX

Description

@ChristopherHX

Description

I became aware of a bug in the CancelPreviousJobs, jobs cancelled by this method don't get it's commit status updated from pending to cancelled.

For example you have no runners set up

  • push workflow 1
  • push workflow 2
  • Look at commit of push workflow 1

This problem appeared while testing #33694 (comment) and noticing webhooks were missing as well

Gitea Version

2c8bdd2

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

./gitea web

Database

MySQL/MariaDB

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions