Skip to content

CI: Codecov upload step can fail even when tests pass #117

Description

@t-uda

Summary

The CI workflow on main failed on March 25, 2026 after the v0.1.2 release merge, even though the test job itself passed.

Observed failure

The failure happened in codecov/codecov-action@v4.0.1, not in pytest:

  • Could not pull latest version information: SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON\n- Error: write EPIPE\n\nThis means the workflow can report a red CI status on main even when the package itself is fine.\n\n## Follow-up\n- Decide whether Codecov upload should be non-blocking for branch protection purposes\n- Consider updating codecov/codecov-action to a newer version\n- Check whether any extra changes are needed for the upcoming Node.js 24 migration, since the same run also showed Node.js 20 deprecation annotations\n\n## Files\n- .github/workflows/python-app.yml\n

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions