Skip to content

Vites 4.1.11 broke cobertura reports #11069

Description

@dezsiszabi

Describe the bug

This happened before. At the time it was a bug in ast-v8-to-istanbul. See AriPerkkio/ast-v8-to-istanbul#169

This time I believe it's the change related to the concurrency:

Revive global concurrency limit for test lifecycle [backport to v4] - by @sheremet-va and @hi-ogawa in #10992 (5146d)

I'm speculating of course, but that seems to be the only relevant change.

Now, again, the generated cobertura report xml file contains method names with the same name for the same covered file (for example (anonymous_0) multiple times).

This breaks the cobertura report plugin in Jenkins which expects that the method names are unique. I assume this is mnadated by the cobertura report spec.

Reproduction

I will provide one later, when I'm not on mobile.

System Info

To be shared later.

Used Package Manager

npm

Validations

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions