1
1
mirror of https://github.com/go-gitea/gitea synced 2025-12-06 21:08:25 +00:00

Add a doctor command to fix inconsistent run status (#35840)

#35783 fixes an actions rerun bug. Due to this bug, some runs may be
incorrectly marked as `StatusWaiting` even though all the jobs are in
done status. These runs cannot be run or cancelled. This PR adds a new
doctor command to fix the inconsistent run status.

```
gitea doctor check --run fix-actions-unfinished-run-status --fix
```

Thanks to @ChristopherHX  for the test.
This commit is contained in:
Zettat123
2025-11-03 19:32:26 -07:00
committed by GitHub
parent de26c8acce
commit bb1f52347a
7 changed files with 186 additions and 1 deletions

View File

@@ -740,3 +740,10 @@
type: 10
config: "{}"
created_unix: 946684810
-
id: 112
repo_id: 4
type: 10
config: "{}"
created_unix: 946684810