You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services/actions
Giteabot 8981f6d0fc
Fix content holes in Actions task logs file (#25560) (#25566)
Backport #25560 by @wolfogre

Fix #25451.

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>
2 years ago
..
clear_tasks.go Fix content holes in Actions task logs file (#25560) (#25566) 2 years ago
commit_status.go Handle canceled workflow as a warning instead of a fail (#24282) 2 years ago
init.go Improve queue and logger context (#24924) 2 years ago
job_emitter.go Rewrite queue (#24505) 2 years ago
job_emitter_test.go Implement actions (#21937) 2 years ago
notifier.go Fix `Permission` in API returned repository struct (#25388) (#25441) 2 years ago
notifier_helper.go Fix `Permission` in API returned repository struct (#25388) (#25441) 2 years ago