Skip to content

Lock SimpleCov to < 1.1.0 to fix coveralls CI failure - #314

Merged
dblock merged 1 commit into
codegram:masterfrom
dblock:fix-simplecov-coveralls
Aug 12, 2026
Merged

Lock SimpleCov to < 1.1.0 to fix coveralls CI failure#314
dblock merged 1 commit into
codegram:masterfrom
dblock:fix-simplecov-coveralls

Conversation

@dblock

@dblock dblock commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

SimpleCov 1.1.0 changed the created_at field in .resultset.json from an integer to a float timestamp. coveralls-ruby-adapter/coverage-reporter fails to parse that float, breaking the coverage GitHub Actions workflow on every push:

#<JSON::SerializableError:Couldn't parse (Int64 | Nil) from 1786493375.0592227 at line 1, column 3871
  parsing CoverageReporter::SimplecovParser::Report#timestamp at line 1, column 3859>

See coverallsapp/github-action#269 for the upstream issue and root cause.

This locks simplecov to < 1.1.0 (the last release before the regression) until coveralls fixes float-timestamp parsing.

Example failing run: https://github.com/codegram/hyperclient/actions/runs/31549159260/job/93967850389

SimpleCov 1.1.0 changed created_at from an integer to a float
timestamp, which coveralls-ruby-adapter/coverage-reporter fails to
parse (JSON::SerializableError: Couldn't parse (Int64 | Nil) from
a float). This breaks the coverage workflow on every push.

See coverallsapp/github-action#269

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

Danger Report

Warnings

  • Unless you're refactoring existing code or improving documentation, please update CHANGELOG.md.

Markdowns

Here's an example of a CHANGELOG.md entry:

* [#314](https://github.com/codegram/hyperclient/pull/314): Lock simplecov to < 1.1.0 to fix coveralls ci failure - [@dblock](https://github.com/dblock).

View run

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage is 94.7%dblock:fix-simplecov-coveralls into codegram:master. No base build found for codegram:master.

@dblock
dblock merged commit b73b492 into codegram:master Aug 12, 2026
9 checks passed
@dblock
dblock deleted the fix-simplecov-coveralls branch August 12, 2026 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants