Skip to content

run: exit gracefully on errors #319

Open
@fho

Description

@fho

The run command currently calls os.Exit() on some error conditions.
This causes an abrupt termination of all uploads and task execution that are ongoing in parallel.
E.g. if a task uploaded it's artifact successfully but did not record the result in db yet, the result gets lost.

Terminate gracefully instead, drain the goroutine pools before terminating

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions