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/models/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
..
artifact.go Implement actions artifacts (#22738) 2 years ago
run.go Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2 years ago
run_job.go Implement actions (#21937) 2 years ago
run_job_list.go Implement actions (#21937) 2 years ago
run_list.go Don't filter action runs based on state (#24711) 2 years ago
runner.go Add user level action runners (#24995) 2 years ago
runner_list.go Implement actions (#21937) 2 years ago
runner_token.go Implement actions (#21937) 2 years ago
status.go Require approval to run actions for fork pull request (#22803) 2 years ago
task.go Fix content holes in Actions task logs file (#25560) (#25566) 2 years ago
task_list.go Implement actions (#21937) 2 years ago
task_output.go Support upload `outputs` and use `needs` context on Actions (#24230) 2 years ago
task_step.go Implement actions (#21937) 2 years ago
utils.go Implement actions (#21937) 2 years ago
utils_test.go Implement actions (#21937) 2 years ago