Skip to content

Updates to support Xcode 26 Beta - #239

Merged
AlexNachbaur merged 22 commits into
masterfrom
OKTA-965340-Xcode26
Jul 4, 2025
Merged

Updates to support Xcode 26 Beta#239
AlexNachbaur merged 22 commits into
masterfrom
OKTA-965340-Xcode26

Conversation

@AlexNachbaur

Copy link
Copy Markdown
Contributor
  • Includes minor updates to support Xcode 26 Beta
  • Updates to the README
  • Improvements to API documentation generation
    • Only includes swift-docc-plugin as a dependency within CI to improve performance when this is used by consuming projects
  • Include Xcode 16.4 and 26 Beta in the CI unit test matrix.
    • Xcode 26 Beta will only be used for swift test tests, until it becomes GA

Copilot AI review requested due to automatic review settings June 30, 2025 19:37

Copilot AI 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.

Pull Request Overview

Adds support for Xcode 26 Beta, refines CI and documentation workflows, and updates README references

  • Enforces Sendable on BrowserSigninProviderFactory and modifies CoalescedResult to use a custom queue for isActive
  • Moves swift-docc-plugin into CI-only configuration and expands test matrix for Xcode 16.4 and 26 Beta
  • Corrects workspace filenames, adds badges and links, and includes a new authorization example in the README

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
Sources/BrowserSignin/Providers/AuthenticationServicesProvider.swift Added Sendable requirement to protocol
Sources/AuthFoundation/Utilities/CoalescedResult.swift Introduced a private DispatchQueue and sync isActive
Samples/README.md Updated workspace filename
README.md Added badges, documentation links, and auth example
Package@swift-5.10.swift Conditional import of DocC plugin
Package.swift Moved DocC plugin dependency to environment check
.github/workflows/tests.yaml Expanded Swift versions and updated Xcode destinations
.github/workflows/documentation-ghpages.yaml Updated Xcode path and DocC flags
.github/actions/setup-swift/versions.yaml Added Swift 6.2 with Xcode 26 support
Comments suppressed due to low confidence (1)

Sources/BrowserSignin/Providers/AuthenticationServicesProvider.swift:51

  • Adding a Sendable requirement to this protocol is a breaking API change; consider documenting this impact and ensure all existing conforming types are updated to satisfy Sendable.
protocol BrowserSigninProviderFactory: Sendable {

Comment thread Sources/AuthFoundation/Utilities/CoalescedResult.swift Outdated
Comment thread Sources/AuthFoundation/Utilities/CoalescedResult.swift
Comment thread Sources/AuthFoundation/Utilities/CoalescedResult.swift
@AlexNachbaur
AlexNachbaur requested a review from FeiChen-okta July 4, 2025 01:35
@AlexNachbaur
AlexNachbaur merged commit 083f66c into master Jul 4, 2025
24 checks passed
@AlexNachbaur
AlexNachbaur deleted the OKTA-965340-Xcode26 branch July 4, 2025 16:12
AlexNachbaur added a commit that referenced this pull request Jul 4, 2025
* Support Xcode 26 Beta and Swift 6.2
* Improve test matrix to include more Xcode and Swift versions
  * Swift Package Manager tests across macOS and Linux:
    * Swift 5.10 _(macOS only)_
    * Swift 6.0
    * Swift 6.1
    * Swift 6.2
  * Xcode tests include:
    * iPhone: 16.4, 18.2, 18.5
    * tvOS: 18.5
    * watchOS: 11.5
    * visionOS: 1.0, 2.5
    * macOS: 15
* Update README
* Only imports `swift-docc-plugin` when run in CI (or the `ENABLE_DOC_GENERATION` environment variable is set) to improve dependency resolution performance
* Test and CI workflow improvements
  * Update swift language version detection script
  * Reduce parallel iteration count for async tests to avoid flaky CI race conditions
  * Do not parallelize Swift tests, due to limited CI runner speed
  * Resolve inadequate test timings for CI
  * Resolve unit test URLResponse race conditions
  * Ensure logs can be preserved from failed swift tests
  * Fix a collision in log output naming
  * Ensure xcbeautify is installed on Linux
  * Update to the newer CircleCI runner for UI tests
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.

3 participants