Skip to content

Releases: DataDog/datadog-ci-rb

1.23.1

14 Oct 07:33
8f24939
Compare
Choose a tag to compare

Highlights

This release fixes source code integration for RSpec tests when test's location is redefined by a custom rspec plugin.

========== Changelog ==========

Fixed

  • Drop source end line when it is before start line (#414)

Read the full changeset and the release milestone.

1.23.0

08 Oct 08:53
582f66c
Compare
Choose a tag to compare

Highlights

The highlight of this release is an important fix for parallel_tests tracing when using manual instrumentation.
Additional improvements include better support for DDTest tool currently in development.

Changed

  • In test discovery mode output suiteSourceFile for each test (#400)
  • DDTest integration changes (#407)
  • Support context propagation from Datadog test runner (#399)

Fixed

  • Fix issue when parallel_tests doesn't track test sessions when using manual instrumentation (#410)

Read the full changeset and the release milestone.

1.22.1

25 Aug 11:06
eb3d235
Compare
Choose a tag to compare

Highlights

This patch fixes a rare race condition in the configuration process that could lead to unpredictable library behavior, such as incorrectly marking old tests as new. This ensures more reliable and consistent performance of the library.

Fixed

  • Fix configuration race condition that caused undefined library behaviour (marking old tests as new as an example) (#402)

Read the full changeset and the release milestone.

1.22.0

12 Aug 09:04
d488b42
Compare
Choose a tag to compare

Highlights

Added

  • Add pr_number extraction to GitHub Actions provider (#390)
  • Add ci.job.id tag to events (#387)
  • Test discovery mode - internal, intended for usage with Datadog test runner (#378)

Changed

  • fetch exact head commit instead of unshallowing parent for impacted tests detection (#393)

Fixed

  • Fix: make test_suite_name parameter optional for Datadog::CI.active_test_suite method (#396)
  • Fix handling of base branch commit SHA for Github Actions and Gitlab (#394)
  • fix Minitest's test suite name when encountering relative source file paths (#391)

Read the full changeset and the release milestone.

1.21.1

22 Jul 12:41
734c46a
Compare
Choose a tag to compare

Highlights

This release fixes a couple of bugs reported lately.

Fixed

  • fix: RSpec's DocumentationFormatter might not be present at instrumentation time (#384)
  • fix: do not crash when Minitest.run is called in a fork (#383)

Read the full changeset and the release milestone.

1.21.0

14 Jul 08:16
04daa27
Compare
Choose a tag to compare

Highlights

This release adds support for automated flaky test fixing flow for Github Action jobs with pull_request trigger

Added

  • Support automated flaky test fixing flow for Github Action jobs with pull_request trigger (#370)

Read the full changeset and the release milestone.

1.20.2

04 Jul 09:24
9ffb72d
Compare
Choose a tag to compare

Highlights

Fixes auto-instrumentation issue with RSpec formatter (this time for real)

Fixed

  • Fix autoinstrumenting rspec (#366)

Read the full changeset and the release milestone.

1.20.0

03 Jul 10:03
4b5587b
Compare
Choose a tag to compare

Highlights

This release adds Datadog output for RSpec when --format documentation is used.
Set DD_TRACE_RSPEC_DATADOG_FORMATTER_ENABLED=0 if you want to disable it.

Added

  • Add Datadog output to RSpec documentation formatter (#355)
  • Add Drone CI support and update CI envs handling (#349)

Fixed

  • FIX: send git.tag when requesting library settings if git.branch is not available (#359)

Read the full changeset and the release milestone.

1.19.0

16 Jun 10:38
74b97f1
Compare
Choose a tag to compare

Highlights

New milestone of impacted tests detection feature in Ruby: now tests are marked as modified and retried with EFD if the body of the test was changed
(before we marked all tests in file as modified if test file changed).

This release also contains some fixes for impacted tests detection that would prevent the feature from working correctly in monorepo setups.

Changed

  • Impacted tests detection works with line level granularity (#335)

Fixed

  • Fix stdin close in Command.popen_with_stdin (#339)

Read the full changeset and the release milestone.

1.18.0

06 Jun 09:38
0d4bc8e
Compare
Choose a tag to compare

Highlights

This release adds long overdue support for reporting end lines of tests for source code integration (supported in RSpec and Minitest).
Now source code view in Datadog UI will show the complete and exact source code for every test.

Additionally, impacted tests detection (beta) is more resilient now: we are able to discover changed tests in your PRs more reliable and support more edge cases in your CI setup.

Added

  • Report end lines for tests (#327)

Changed

  • Impacted tests detection: improve a script to determine the base branch sha (#329)

Read the full changeset and the release milestone.