Skip to content

Fatal error from a tool results in "Success with 0 issues found." #128

@dmitshur

Description

@dmitshur

Note: Conception-go is a large unsupported repository with low quality Go code. It's not a goal to have it work well; I'm just using it as an opportunity to spot an issue that can happen in another useful Go repository.

See https://gci.gopherci.io/analysis/1156:

image

However, one of the tools failed to complete running:

$ staticcheck ./... 33.577s
fatal error: runtime: out of memory

It looks like a failure (non-zero exit code) from a tool isn't being correctly recognized and reported. This is bad, because it can give a false sense of confidence ("GopherCI told me were no issues in this commit; it turned out there were some issues but they weren't reported due to some problem").

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions