mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-10 18:50:59 +00:00
The daemon context is needed when the context of a job or the poller is done. Otherwise it is no longer possible to send a conclusion report to Forgejo, short of creating a context.Background() which poses its own set of problems. - WithDaemonContext is used to store the daemon context - The poller uses the daemon context instead of context.Background |
||
---|---|---|
.. | ||
testdata/validate | ||
cache-server.go | ||
cmd.go | ||
create-runner-file.go | ||
create-runner-file_test.go | ||
daemon.go | ||
exec.go | ||
job.go | ||
main_test.go | ||
register.go | ||
register_test.go | ||
validate.go | ||
validate_test.go |