-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting the log verbosity level produces a strict concurrency warning #1549
Comments
I can file a separate issue for this if you prefer, but it would also be nice if |
Hello @jpsim 👋. This request seems to overlap with #1440.
This is something we already track in our backlog. I will bump up the priority with this new ask. |
Any update here? |
@farshadtx Unfortunately no, this topic is still in our backlog. |
@ncreated Howdy, I would like to know, when you write |
Explicitly declares Sendable conformance for ReadWriteLock. Uses ReadWriteLock to Synchronize access to Datadog.verbosityLevel.
I've opened a PR from my fork of the repo that addresses the defect using an existing synchronization within the SDK: |
Explicitly declares Sendable conformance for ReadWriteLock. Uses ReadWriteLock to Synchronize access to Datadog.verbosityLevel.
Explicitly declares Sendable conformance for ReadWriteLock. Uses ReadWriteLock to Synchronize access to Datadog.verbosityLevel.
…urrency-swift-6-error [#1549] Address Swift 6 concurrency warning by synchronizing access to verbosityLevel.
Thanks a lot @jaredsinclair 👍. I just merged the PR, so it will be available in the next release (likely |
* develop: (43 commits) Update apiSurface files for Swift and Objective-C Update dependency-manager-tests/spm/Shared/DatadogSetup.swift Bumped version to 2.10.0 Update CHANGELOG for 2.10.0 release Revert nil interface Revert "Lock identifier assertion to default device" Lock identifier assertion to default device Tests for store update Fix lint Update store version Fix color SR identifier PR fixes Synchronize access to Datadog.verbosityLevel fixing issue #1549 RUM-3134 attach vc to window Fix deployment target on SPM project Apply suggestions from code review apply cr suggestions Documentation update PR fixes Remove failing test ...
2.11.0 is out and it includes the fix. Thanks everyone for participating! |
Setting the log verbosity level produces a strict concurrency warning when compiling with
SWIFT_STRICT_CONCURRENCY = complete
or-strict-concurrency=complete
produces the following warning:Ideally Datadog's iOS SDKs would be audited for strict concurrency warnings so that consumers can enable these strict flags if they choose to do so without introducing warnings.
The text was updated successfully, but these errors were encountered: