Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ChristopherHX opened this issue Mar 1, 2025 · 0 comments · Fixed by #33764
Closed
Labels

Comments

@ChristopherHX
Copy link
Contributor

ChristopherHX commented Mar 1, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant