0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-01 05:41:58 +01:00
gitea/services/actions
FuXiaoHei 68e1d17a5f
Expire artifacts before deleting them physically (#29241)
https://github.com/go-gitea/gitea/pull/27172#discussion_r1493735466

When cleanup artifacts, it removes storage first. If storage is not
exist (maybe delete manually), it gets error and continue loop. It makes
a dead loop if there are a lot pending but non-existing artifacts.

Now it updates db record at first to avoid keep a lot of pending status
artifacts.
2024-02-18 22:25:14 +08:00
..
auth_test.go Add artifacts v4 jwt to job message and accept it (#28885) 2024-02-02 14:25:59 +00:00
auth.go Add artifacts v4 jwt to job message and accept it (#28885) 2024-02-02 14:25:59 +00:00
cleanup.go Expire artifacts before deleting them physically (#29241) 2024-02-18 22:25:14 +08:00
clear_tasks.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
commit_status.go Improve ObjectFormat interface (#28496) 2023-12-19 07:20:47 +00:00
init.go Move notification interface to services layer (#26915) 2023-09-05 18:37:47 +00:00
job_emitter_test.go
job_emitter.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
notifier_helper.go Only delete scheduled workflows when needed (#29091) 2024-02-08 13:00:17 +00:00
notifier.go Implement some action notifier functions (#29173) 2024-02-18 10:58:46 +00:00
schedule_tasks.go Fix an actions schedule bug (#28942) 2024-01-31 14:55:12 +00:00