Skip to content

Some reports are "randomly" missing #1306

Closed
@ldez

Description

@ldez

Describe the bug

Some reports are "randomly" missing

To Reproduce

git clone -q [email protected]:prometheus/prometheus.git
cd prometheus
git checkout 701d13abf
$ revive ./... | wc -l
723
$ revive ./... | wc -l
723
$ revive ./... | wc -l
723
$ revive ./... | wc -l
723
$ revive ./... | wc -l
720
$ revive ./... | wc -l
723
$ revive ./... | wc -l
723
$ revive ./... | wc -l
723
$ revive ./... | wc -l
723
$ revive ./... | wc -l
723
$ revive ./... | wc -l
723
$ revive ./... | wc -l
720
$ revive ./... | wc -l
723
...

As you can see, sometimes there are 723 reports and sometimes there are only 720 reports.

Expected behavior

Report consistency.

Additional context

For now, I didn't find the root cause but I think the problem is related to a concurrency issue.
I will try to find the root cause.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions