Skip to content

Add -race flag to CI test runs #5

@dbravender

Description

@dbravender

Priority: Medium

Description

The codebase has a mutex guarding global state (sccMu) and stdout redirection — exactly the kind of code where race conditions hide. However, CI (ci.yml:23) runs tests without the race detector:

- run: go test ./... -count=1

Suggested fix

Change CI and pre-commit hook test commands to:

go test -race ./... -count=1

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