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.
forgejo/services/actions
Jason Song 6daf21c9b7
Fix content holes in Actions task logs file (#25560)
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: Giteabot <teabot@gitea.io>
1 year ago
..
clear_tasks.go Fix content holes in Actions task logs file (#25560) 1 year ago
commit_status.go Handle canceled workflow as a warning instead of a fail (#24282) 1 year ago
init.go Improve queue and logger context (#24924) 1 year ago
job_emitter.go Rewrite queue (#24505) 1 year ago
job_emitter_test.go Implement actions (#21937) 1 year ago
notifier.go Fix `Permission` in API returned repository struct (#25388) 1 year ago
notifier_helper.go Support `pull_request_target` event (#25229) 1 year ago