0
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-03-17 01:20:08 +01:00
forgejo/models
Giteabot 8981f6d0fc
Fix content holes in Actions task logs file () ()
Backport  by @wolfogre

Fix .

Bugfixes:
- When stopping the zombie or endless tasks, set `LogInStorage` to true
after transferring the file to storage. It was missing, it could write
to a nonexistent file in DBFS because `LogInStorage` was false.
- Always update `ActionTask.Updated` when there's a new state reported
by the runner, even if there's no change. This is to avoid the task
being judged as a zombie task.

Enhancement:
- Support `Stat()` for DBFS file.
- `WriteLogs` refuses to write if it could result in content holes.

Co-authored-by: Jason Song <i@wolfogre.com>
2023-06-28 23:39:23 +00:00
..
actions Fix content holes in Actions task logs file () () 2023-06-28 23:39:23 +00:00
activities Use a separate admin page to show global stats, remove actions stat () 2023-06-03 22:03:41 +08:00
admin Make repo migration cancelable and fix various bugs () 2023-05-11 08:25:46 +00:00
asymkey Merge setting.InitXXX into one function with options () 2023-05-04 11:55:35 +08:00
auth Add ability to set multiple redirect URIs in OAuth application UI () 2023-06-05 15:00:12 +08:00
avatars
db Fix wrong warn messages in migration steps () () 2023-06-24 17:51:26 +08:00
dbfs Fix content holes in Actions task logs file () () 2023-06-28 23:39:23 +00:00
fixtures Implement actions artifacts () 2023-05-19 21:37:57 +08:00
git Fix index generation parallelly failure () () 2023-06-15 02:14:00 +00:00
issues Improve loadprojects for issue list () () 2023-06-26 02:06:58 +00:00
migrations Refactor path & config system () () 2023-06-22 16:27:18 +00:00
organization Use RepositoryList instead of []*Repository () 2023-06-05 15:25:47 +08:00
packages Hide limited users if viewed by anonymous ghost () () 2023-06-13 13:53:26 +08:00
perm Rewrite logger system () 2023-05-21 22:35:11 +00:00
project
pull
repo Remove stars when repo goes private () 2023-06-05 13:25:43 +00:00
secret Respect original content when creating secrets () 2023-05-16 14:49:40 +08:00
shared/types Display owner of a runner as a tooltip instead of static text () 2023-05-12 08:43:27 +00:00
system
unit Rewrite logger system () 2023-05-21 22:35:11 +00:00
unittest Refactor path & config system () () 2023-06-22 16:27:18 +00:00
user Show outdated comments in files changed tab () () 2023-06-22 08:34:42 +00:00
webhook New webhook trigger for receiving Pull Request review requests () 2023-05-24 22:06:27 -04:00
error.go
fixture_generation.go
fixture_test.go
main_test.go Merge setting.InitXXX into one function with options () 2023-05-04 11:55:35 +08:00
migrate.go
migrate_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go Implement actions artifacts () 2023-05-19 21:37:57 +08:00
repo_collaboration.go
repo_collaboration_test.go
repo_test.go
repo_transfer.go Fix unclear IsRepositoryExist logic () 2023-04-28 14:14:26 -04:00
repo_transfer_test.go