Make retriable and skippable tags public for Swift Testing and XCTest#288
Merged
Conversation
The XCTest tag properties (.retriable, .tiaSkippable) are already public, but their Swift Testing equivalents (Tag.dd.retriable/nonretriable and Tag.dd.tia.skippable/unskippable) were internal, so cross-module callers could not apply them via @test(.tags(...)). Co-Authored-By: Claude Sonnet 5 <[email protected]>
There was a problem hiding this comment.
More details
Validation passed: This PR makes Swift Testing retriable/nonretriable and skippable/unskippable tags public through pure visibility changes, matching XCTest's already-public API. The changes are minimal (6 lines), contain no logic modifications, and are fully covered by existing tests that already use these tags. No breaking changes or regressions detected.
📊 Validated against 3 scenarios · Open Bits AI session
🤖 Datadog Autotest · Commit 3bfdab6 · What is Autotest? · Any feedback? Reach out in #autotest
gnufede
approved these changes
Jul 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tag.dd.retriable/Tag.dd.nonretriableandTag.dd.tia.skippable/Tag.dd.tia.unskippablepublic, matching their already-public XCTest counterparts (.retriable,.tiaSkippable) so consumers of the SDK can apply them via@Test(.tags(...)).Test plan
xcodebuild -project DatadogSDKTesting.xcodeproj -scheme DatadogSDKTesting -sdk macosx buildsucceeds with no warnings/errors