Skip to content

Make retriable and skippable tags public for Swift Testing and XCTest#288

Merged
ypopovych merged 1 commit into
mainfrom
fix/public-retriable-skippable-tags
Jul 15, 2026
Merged

Make retriable and skippable tags public for Swift Testing and XCTest#288
ypopovych merged 1 commit into
mainfrom
fix/public-retriable-skippable-tags

Conversation

@ypopovych

Copy link
Copy Markdown
Contributor

Summary

  • Makes the Swift Testing tag properties Tag.dd.retriable / Tag.dd.nonretriable and Tag.dd.tia.skippable / Tag.dd.tia.unskippable public, 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 build succeeds with no warnings/errors

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]>
@ypopovych
ypopovych requested review from a team as code owners July 1, 2026 17:28

@datadog-datadog-prod-us1-2 datadog-datadog-prod-us1-2 Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Datadog Autotest: PASS

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.

Was this helpful? React 👍 or 👎

📊 Validated against 3 scenarios · Open Bits AI session

🤖 Datadog Autotest · Commit 3bfdab6 · What is Autotest? · Any feedback? Reach out in #autotest

@ypopovych
ypopovych merged commit 9969926 into main Jul 15, 2026
11 checks passed
@ypopovych
ypopovych deleted the fix/public-retriable-skippable-tags branch July 15, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants