Skip to content

chore(deps): update tunit to 1.21.24#579

Open
thomhurst wants to merge 1 commit intomainfrom
renovate/tunit
Open

chore(deps): update tunit to 1.21.24#579
thomhurst wants to merge 1 commit intomainfrom
renovate/tunit

Conversation

@thomhurst
Copy link
Owner

@thomhurst thomhurst commented Mar 24, 2026

This PR contains the following updates:

Package Type Update Change
TUnit nuget patch 1.21.61.21.24
TUnit.Logging.Microsoft nuget patch 1.21.61.21.24

Release Notes

thomhurst/TUnit (TUnit)

v1.21.24: 1.21.24

What's Changed
Other Changes
  • Fix OpenTelemetry missing root span by reordering session activity lifecycle by @​Copilot in #​5245
Dependencies

Full Changelog: thomhurst/TUnit@v1.21.20...v1.21.24

v1.21.20: 1.21.20

What's Changed
Other Changes
Dependencies

Full Changelog: thomhurst/TUnit@v1.21.6...v1.21.20


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Copy link

@claude claude bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This is a clean, automated dependency bump of TUnit from → (patch release) across both test projects.

Changes reviewed:

  • tests/Dekaf.Tests.Integration/Dekaf.Tests.Integration.csproj: TUnit and TUnit.Logging.Microsoft updated to 1.21.20
  • tests/Dekaf.Tests.Unit/Dekaf.Tests.Unit.csproj: TUnit updated to 1.21.20

Assessment:

The update is appropriate and straightforward:

  • Patch version bump only — no breaking changes expected per semver
  • The TUnit 1.21.20 release notes include bug fixes (BeforeEvery/AfterEvery hooks fix, TUnitImplicitUsings fix) and additive features (covariant assertions, string-to-parseable conversions, string length range assertions) — all safe to adopt
  • Both test projects are updated in sync, which is correct since they share the same testing framework version
  • No source changes — purely .csproj version pin updates

One minor observation (not blocking): The integration test project pins TUnit and TUnit.Logging.Microsoft with explicit versions (1.21.20), while other dependencies like Testcontainers.Kafka use floating * ranges. This is consistent with the existing pattern in the file and is a deliberate choice by Renovate to keep test framework versions explicit and reproducible — no issue here.

This PR is safe to merge. ✅

Copy link

@claude claude bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This is a clean, automated dependency bump of TUnit from 1.21.6 to 1.21.20 (patch release) across both test projects.

Changes reviewed:

  • tests/Dekaf.Tests.Integration/Dekaf.Tests.Integration.csproj: TUnit and TUnit.Logging.Microsoft updated to 1.21.20
  • tests/Dekaf.Tests.Unit/Dekaf.Tests.Unit.csproj: TUnit updated to 1.21.20

Assessment:

The update is appropriate and straightforward:

  • Patch version bump only — no breaking changes expected per semver
  • The TUnit 1.21.20 release notes include bug fixes (BeforeEvery/AfterEvery hooks fix, TUnitImplicitUsings fix) and additive features (covariant assertions, string-to-parseable conversions, string length range assertions) — all safe to adopt
  • Both test projects are updated in sync, which is correct since they share the same testing framework version
  • No source changes — purely .csproj version pin updates

One minor observation (not blocking): The integration test project pins TUnit and TUnit.Logging.Microsoft with explicit versions, while other dependencies like Testcontainers.Kafka use floating * ranges. This is consistent with the existing pattern in the file and is a deliberate choice by Renovate to keep test framework versions explicit and reproducible — no issue here.

This PR is safe to merge.

Copy link

@claude claude bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review (Follow-up)

Previous reviews have already covered this PR thoroughly. No new issues have emerged.

Summary: This is a clean automated patch bump of TUnit from 1.21.61.21.20 across both test projects (Dekaf.Tests.Unit and Dekaf.Tests.Integration). The changes are purely .csproj version pin updates — no source modifications.

Previous review comments remain accurate:

  • Patch release — no breaking changes expected
  • Bug fixes in this range (BeforeEvery/AfterEvery hooks, TUnitImplicitUsings) are beneficial
  • Both projects updated in sync

Safe to merge. ✅

@claude
Copy link

claude bot commented Mar 25, 2026

Dependency Update Review: TUnit 1.21.6 → 1.21.20

This is a straightforward Renovate Bot patch update for TUnit and TUnit.Logging.Microsoft across both test projects. No concerns with the changes themselves.

What changed:

  • TUnit and TUnit.Logging.Microsoft bumped from 1.21.6 to 1.21.20 in both Dekaf.Tests.Unit and Dekaf.Tests.Integration
  • The 1.21.20 release includes bug fixes for TUnitImplicitUsings in Directory.Build.props, covariant assertions for interfaces/non-sealed classes, string-to-parseable type conversions in [Arguments], and BeforeEvery/AfterEvery hooks fixes

Observations:

  1. Version pinning inconsistency: TUnit and TUnit.Logging.Microsoft are pinned to exact patch versions (1.21.20), while many other test dependencies use wildcard/floating versions (Testcontainers.Kafka, Microsoft.Testing.Extensions.HangDump, Verify.TUnit, OpenTelemetry, etc.). Consider whether TUnit should also use a floating minor version like 1.* or 1.21.* to reduce the frequency of these routine update PRs, or conversely, pin the other dependencies for reproducibility.

  2. No Directory.Packages.props: The TUnit version is defined independently in two .csproj files. Since this repo already uses Directory.Build.props for shared settings, introducing Central Package Management (Directory.Packages.props) would allow managing TUnit and other shared test dependency versions in a single place, avoiding the need to update multiple .csproj files for each version bump. This would be a worthwhile follow-up improvement.

  3. TUnit.Logging.Microsoft only in integration tests: The logging extension is present in Dekaf.Tests.Integration but not in Dekaf.Tests.Unit. This appears intentional (unit tests don't need the full logging stack), but worth confirming this is deliberate.

The update itself is safe to merge. The suggestions above are non-blocking improvements worth considering as follow-ups.

@thomhurst thomhurst changed the title chore(deps): update tunit to 1.21.20 chore(deps): update tunit to 1.21.24 Mar 25, 2026
Copy link

@claude claude bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review (Follow-up: 1.21.24)

The PR has been updated since the previous review — the target is now 1.21.24 (previously 1.21.20). The diff remains clean: only .csproj version pin updates across both test projects.

What's new in 1.21.24:

  • Fix for OpenTelemetry missing root span (reordering session activity lifecycle — #5245)

This is a low-risk, beneficial bug fix. No concerns with the update.

Previous suggestions status: The follow-up suggestions from prior reviews (Central Package Management, floating versions) remain open — none are expected to be addressed in this automated dependency PR.

Safe to merge. ✅

@claude
Copy link

claude bot commented Mar 26, 2026

Code Review

This PR has been reviewed multiple times as it was updated through intermediate TUnit versions. This is the final review for the current state: TUnit 1.21.61.21.24.

Changes:

  • tests/Dekaf.Tests.Integration/Dekaf.Tests.Integration.csproj: TUnit and TUnit.Logging.Microsoft updated 1.21.61.21.24
  • tests/Dekaf.Tests.Unit/Dekaf.Tests.Unit.csproj: TUnit updated 1.21.61.21.24

Assessment:

No issues. This is a clean automated patch bump touching only test project .csproj files — no src/ library code is modified, so the zero-allocation, ConfigureAwait(false), thread-safety, and memory leak rules are not in scope.

The 1.21.24 cumulative changes include:

  • BeforeEvery/AfterEvery hooks fix — beneficial for test reliability
  • TUnitImplicitUsings in Directory.Build.props fix — non-impacting here
  • OpenTelemetry missing root span fix (reordering session activity lifecycle) — low risk
  • Additive features (covariant assertions, string length assertions, string-to-parseable conversions) — no impact unless explicitly used

Both test projects are updated in sync, which is correct.

Outstanding suggestions from previous reviews (non-blocking):

  • Central Package Management (Directory.Packages.props) to avoid multi-file version updates
  • Consider whether TUnit should use a floating version range (1.*) to reduce routine update PR churn

Neither item is expected to be addressed in an automated dependency PR.

Safe to merge.

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