Skip to content

[CHORE] Update DatadogSDKTesting to 2.7.6#3015

Open
ypopovych wants to merge 9 commits into
developfrom
ypopovych/update-datadog-sdk-testing-2.7.5
Open

[CHORE] Update DatadogSDKTesting to 2.7.6#3015
ypopovych wants to merge 9 commits into
developfrom
ypopovych/update-datadog-sdk-testing-2.7.5

Conversation

@ypopovych

@ypopovych ypopovych commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

What and why?

Updates the DatadogSDKTesting dependency from 2.7.0 to 2.7.6. Also enables DatadogSDKTesting for all platforms, adds @Suite(.datadogTesting) to Swift Testing suites, and imports DatadogSDKTesting in Swift Testing test targets.

DatadogSDKTesting requires iOS 15+, but Package.swift's platform floor is iOS 12 and SwiftPM has no per-target deployment override — so it can only be linked through Datadog.xcworkspace, not declared as a Package.swift dependency. Without a fallback, any SPM-only build (swift build/swift test, tools/spm-build.sh) fails to resolve DatadogSDKTesting in the test targets that use it.

How?

  • Bumped the minimum version requirement and resolved package to dd-sdk-swift-testing 2.7.6
  • Enabled the testing SDK across all platform schemes
  • Annotated Swift Testing suites with .datadogTesting and added the necessary import
  • Added TestUtilities/Sources/Helpers/DatadogSDKTestingCompat.swift: @_exported import DatadogSDKTesting when it's resolvable (real Xcode-project build), otherwise a local no-op stand-in for .datadogTesting and the Tag.dd.retriable/.nonretriable/.tia.skippable/.unskippable tags — so SPM-only builds compile without needing the real dependency
  • Since every SPM test target already depends on TestUtilities, and TestUtilities's Xcode target already links DatadogSDKTesting, this fallback lives in one place instead of being duplicated per test file

Review checklist

  • Feature or bugfix MUST have appropriate tests (unit, integration)
  • Make sure each commit and the PR mention the Issue number or JIRA reference
  • Add CHANGELOG entry for user facing changes
  • Add Objective-C interface for public APIs - see our guidelines (internal)
  • Run make api-surface when adding new APIs

simaoseica-dd
simaoseica-dd previously approved these changes Jun 23, 2026

@simaoseica-dd simaoseica-dd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you!

@ypopovych ypopovych marked this pull request as ready for review June 24, 2026 11:11
@ypopovych ypopovych requested review from a team as code owners June 24, 2026 11:11

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: eb175a86d7

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread DatadogInternal/Tests/Heatmaps/HeatmapIdentifierTests.swift Outdated
Comment thread DatadogRUM/Tests/Heatmaps/HeatmapIdentifierStoreTests.swift Outdated
Comment thread Datadog/Datadog.xcodeproj/project.pbxproj
simaoseica-dd
simaoseica-dd previously approved these changes Jun 26, 2026

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ae41bf66a7

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

requirement = {
kind = upToNextMinorVersion;
minimumVersion = 2.7.0;
minimumVersion = 2.7.6;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Keep the testing SDK resolvable with Xcode 16

When a supported developer or CI lane still uses the repo's documented minimum Xcode 16 environment (ZEN.md says the minimum accepted Xcode version is 16), resolving this package now fails before the build because dd-sdk-swift-testing 2.7.6 declares swift-tools-version:6.2 whereas the previous 2.7.0 manifest used 5.9. Please either stay on a DatadogSDKTesting release whose manifest Xcode 16 can parse or explicitly raise the repo's Xcode floor along with this bump.

Useful? React with 👍 / 👎.

@ypopovych ypopovych force-pushed the ypopovych/update-datadog-sdk-testing-2.7.5 branch from ae41bf6 to ce44a0c Compare July 1, 2026 16:22

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ce44a0c899

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@ypopovych ypopovych force-pushed the ypopovych/update-datadog-sdk-testing-2.7.5 branch from 596c4cb to 85a4356 Compare July 2, 2026 16:17
@ypopovych ypopovych force-pushed the ypopovych/update-datadog-sdk-testing-2.7.5 branch from 85a4356 to 7ecac58 Compare July 3, 2026 13:44
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