Skip to content

Releases: DataDog/datadog-ci-rb

1.12.0

23 Jan 09:29
deb627e
Compare
Choose a tag to compare

Highlights

This release adds support for browser tests that are using cuprite as a browser driver.
This support includes:

  • marking tests using cuprite as "browser" tests in @test.type tag
  • if Datadog RUM is present in system under test, it links the test with the session replay from RUM

Added

  • Add Datadog RUM integration support for browser tests with cuprite driver (#283)

Read the full changeset and the release milestone.

1.11.0

02 Jan 10:31
61603be
Compare
Choose a tag to compare

Highlights

This release adds Ruby 3.4 support to the gemspec and couple of minor fixes and changes.

Changed

  • bump maximum Ruby version to 3.4 (#275)
  • Use logical test session name as part of test session span's resource instead of test command (#271)

Fixed

  • set the max payload size for events to 4.5MB (#272)
  • Fix inline comments handling when parsing CODEOWNERS files (#267)

Read the full changeset and the release milestone.

1.10.0

05 Dec 09:12
320605e
Compare
Choose a tag to compare

Highlights

This release improves time savings when using Test Impact Analysis with RSpec by skipping context hooks
when all child examples are skipped

Added

  • Skip before(:all) context hooks when all examples are skipped (#262)

Read the full changeset and the release milestone.

1.9.0

26 Nov 11:24
e15f77a
Compare
Choose a tag to compare

Highlights

Auto instrumentation is now supported!
If you prefer not to add Datadog.configure to your codebase, you can now either:

  • set RUBYOPT environment variable to "-rbundler/setup -rdatadog/ci/auto_instrument" in your CI job just before running tests
  • OR run your tests with bundle exec ddcirb exec prepended, for example: bundle exec ddcirb exec bundle exec rspec

Soon we'll update Datadog's integrations for GHA/Gitlab/CircleCI to support Ruby as well.

Added

  • Auto instrumentation (#259)

Read the full changeset and the release milestone.

1.8.1

18 Oct 12:15
cb3de5c
Compare
Choose a tag to compare

Highlights

Small fix for ddcirb CLI tool

Fixed

  • Make --spec-path option available to skipped-tests-estimate cli command (#250)

Read the full changeset and the release milestone.

1.8.0

17 Oct 13:26
2d4ca81
Compare
Choose a tag to compare

Highlights

This release adds an experimental command line tool to calculate percentage of tests that are going to be skipped.

Other notable changes include performance optimisation for Intelligent Test Runner, adding retries to HTTP requests, and correct handling of the case when timecop mocks monotonic time (for timecop versions 0.9.9 and later).

Added

  • Add command line tool to compute a percentage of skippable tests for RSpec (#194)

Changed

  • Bump gem datadog dependency to 2.4 and update test dependencies (#248)
  • Optimise LocalRepository.relative_to_root helper to make test impact analysis faster (#244)
  • Retry HTTP requests on 429 and 5xx responses (#243)
  • Use correct monotonic clock time if Timecop.mock_process_clock is set (#242)

Read the full changeset and the release milestone.

1.7.0

25 Sep 09:02
570d019
Compare
Choose a tag to compare

Highlights

The highlight of this release is the automatic total code coverage reporting when simplecov is configured for your test run.
Also, we have now better support for GitHub Actions jobs triggered by pull_request event, and test suites now have source location and codeowners.

Added

  • Report total lines coverage percentage to Datadog (#240)
  • add source location info to test suites (#239)
  • Add pull_request extra tags for GitHub Actions (#238)

Read the full changeset and the release milestone.

1.6.0

20 Sep 14:35
f3d84e6
Compare
Choose a tag to compare

Highlights

This release adds support for DD_TEST_SESSION_NAME environment variable that makes it possible to give logical names to test sessions.
Additionally, now the library sends internal metric with the number of virtual CPUs available for test runner to make ITR cost-saving calculation more precise.

Added

  • support logical names for test sessions (#235)
  • Send internal vCPU count metric (#236)

Read the full changeset and the release milestone.

1.5.0

18 Sep 07:44
671ff6c
Compare
Choose a tag to compare

Highlights

This release adds early flake detection support to Ruby library. This feature identifies new tests
added to your project and automatically retries them up to 10 times to find possible flaky tests before they land on default branch.

Added

  • Retry new tests - parse remote configuration and fetch unique known tests (#227)
  • early flake detection support for rspec and minitest (#229)
  • Early flake detection support for Cucumber (#231)

Fixed

  • Minor telemetry fixes (#226)

Read the full changeset and the release milestone.

1.4.1

28 Aug 11:09
1da7397
Compare
Choose a tag to compare

Highlights

Fixes potential crash when collecting per test coverage

Fixed

  • fix datadog_cov crash when doing allocation profiling (#224)

Read the full changeset and the release milestone.