Skip to content

Pin simplecov to < 1.0.0 to fix test suite crash#3571

Merged
nogates merged 1 commit into
masterfrom
nogates/pin-simplecov-lt-1
Jul 13, 2026
Merged

Pin simplecov to < 1.0.0 to fix test suite crash#3571
nogates merged 1 commit into
masterfrom
nogates/pin-simplecov-lt-1

Conversation

@nogates

@nogates nogates commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • simplecov 1.0.0 was released on 2026-07-12 and removed the SimpleCov.running method
  • datadog-ci ~> 1.11 (resolved to 1.34.0) calls SimpleCov.running in deprecated_total_coverage_metric.rb during test session teardown
  • This causes the test suite to exit with code 3 after all tests pass, failing CI

Fix

Pin simplecov to < 1.0.0 until datadog-ci releases a version compatible with SimpleCov 1.x.

Test plan

  • CI passes (all test scenarios should pass, no post-test crash)

🤖 Generated with Claude Code

@nogates
nogates requested review from a team as code owners July 13, 2026 13:36
@datadog-datadog-prod-us1-2

datadog-datadog-prod-us1-2 Bot commented Jul 13, 2026

Copy link
Copy Markdown

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 045ed1b | Docs | Datadog PR Page | Give us feedback!

simplecov 1.0.0 (released 2026-07-12) removed the `running` method, which
datadog-ci ~> 1.11 calls in its deprecated_total_coverage_metric module.
This causes the test suite to exit with code 3 after all tests pass.

Pin to < 1.0.0 until datadog-ci adds compatibility with simplecov 1.x.
@nogates
nogates force-pushed the nogates/pin-simplecov-lt-1 branch from 9c8bbdc to 045ed1b Compare July 13, 2026 13:41
@nogates
nogates merged commit 0f0b849 into master Jul 13, 2026
15 checks passed
@nogates
nogates deleted the nogates/pin-simplecov-lt-1 branch July 13, 2026 13:47
github-actions Bot pushed a commit that referenced this pull request Jul 13, 2026
simplecov 1.0.0 (released 2026-07-12) removed the `running` method, which
datadog-ci ~> 1.11 calls in its deprecated_total_coverage_metric module.
This causes the test suite to exit with code 3 after all tests pass.

Pin to < 1.0.0 until datadog-ci adds compatibility with simplecov 1.x. 0f0b849
github-actions Bot pushed a commit to ConnectionMaster/datadog-api-client-ruby that referenced this pull request Jul 13, 2026
simplecov 1.0.0 (released 2026-07-12) removed the `running` method, which
datadog-ci ~> 1.11 calls in its deprecated_total_coverage_metric module.
This causes the test suite to exit with code 3 after all tests pass.

Pin to < 1.0.0 until datadog-ci adds compatibility with simplecov 1.x. 0f0b849
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants