Skip to content

Crash on upload attempt #145

@mzealey

Description

@mzealey

Running gh action with:

          uses: qltysh/qlty-action/coverage@v2
          with:
            oidc: true
            files: app/coverage.lcov
            skip-errors: false
            add-prefix: app/

in one of my python projects it's crashing qlty:

  with:
    oidc: true
    files: app/coverage.lcov
    skip-errors: false
    add-prefix: app/
    verbose: false
    skip-missing-files: false
    dry-run: false
    incomplete: false
    validate: true
    command: publish
...
 METADATA 

    CI: GitHub
    Reference Type: Branch
    Commit: xxx
    Branch: main
    Build ID: 17067624913:1
    Commit Time: 2025-08-19 11:03:45 UTC

 COVERAGE FILES: 1 

    Coverage File      Format  Size
    app/coverage.lcov  lcov    114.38 KiB


thread 'main' panicked at qlty-coverage/src/parser/lcov.rs:51:30:
index out of bounds: the len is 0 but the index is 4294967295
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: Action failed with error: CoverageError: Error executing coverage command. Output from the Qlty CLI follows:; qlty 0.566.0 linux-x64 (ded030c 2025-08-16)
2025-08-19T11:07:23.244802Z
https://qlty.sh/d/coverage

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions