Skip to content

bug(Coverage): forge coverage --report lcov is failing after the latest release #5609

@jalextowle

Description

@jalextowle

Component

Forge

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

Run forge --version forge 0.2.0 (3fec8c1 2023-08-11T00:15:50.024503184Z)

What command(s) is the bug in?

forge coverage

Operating System

Linux

Describe the bug

forge coverage --report lcov runs for 6 hours before our CI actions are timing out. I'm posting screenshots from before and after the new release dropped. Prior to the new release, we never had issues with our code coverage action, but since the release, every coverage job has run for 6 hours and failed due to a timeout.

Here's a screenshot showing our recent job statuses:
Screen Shot 2023-08-11 at 10 29 46 AM

I looked at the release history, and the latest release coincides with this.
Screen Shot 2023-08-11 at 10 18 39 AM

I downgraded to version forge 0.2.0 (1044042 2023-08-10T13:04:25.942019017Z), and sure enough, the coverage job succeeds:

Screen Shot 2023-08-11 at 10 38 38 AM

Downgrading is an easy fix for us in the meantime, but let me know if there's any other information that would be helpful when investigating this. Unfortunately, our repo is private at the moment, so I don't have an example to point to.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions