1
1
mirror of https://github.com/go-gitea/gitea.git synced 2026-03-17 12:55:27 +01:00
gitea/services/doctor
Zettat123 61011f1648
Add a doctor command to fix inconsistent run status (#35840) (#35845)
Backport #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
```
2025-11-04 11:16:36 -08:00
..
actions_test.go Add a doctor command to fix inconsistent run status (#35840) (#35845) 2025-11-04 11:16:36 -08:00
actions.go Add a doctor command to fix inconsistent run status (#35840) (#35845) 2025-11-04 11:16:36 -08:00
authorizedkeys.go Refactor legacy code (#35708) (#35716) 2025-10-21 05:47:37 +00:00
breaking.go
checkOldArchives.go
dbconsistency_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
dbconsistency.go Fix doctor deleting orphaned issues attachments (#34142) 2025-05-30 05:06:03 +00:00
dbversion.go Add global lock for migrations to make upgrade more safe with multiple replications (#33706) 2025-03-07 21:08:53 +00:00
doctor.go Fix context usages (#35348) 2025-08-27 11:00:01 +00:00
fix8312.go Move team related functions to service layer (#32537) 2024-11-27 21:12:26 +00:00
fix16961_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
fix16961.go Fix panic for fixBrokenRepoUnits16961 (#30068) 2024-03-26 14:45:11 +08:00
heads.go Move git command to git/gitcmd (#35483) 2025-09-15 23:33:12 -07:00
lfs.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
main_test.go Fix oauth2 builtin application logic (#30304) 2024-04-08 04:13:34 +00:00
mergebase.go Move git command to git/gitcmd (#35483) 2025-09-15 23:33:12 -07:00
misc.go Move git config/remote to gitrepo package and add global lock to resolve possible conflict when updating repository git config file (#35151) 2025-09-01 18:47:04 +00:00
paths.go enforce explanation for necessary nolints and fix bugs (#34883) 2025-06-27 21:48:03 +08:00
repository.go Remove unused param doer (#34545) 2025-06-18 03:12:16 +00:00
storage.go add additional ReplaceAll in pathsep to cater for different pathsep (#34061) 2025-03-30 12:46:28 +08:00
usertype.go