Skip to content

v2.0.0 alpha.4: Xcode 27 primary CI - #95

Merged
leogdion merged 4 commits into
v2.0.0-alpha.4from
ci/xcode-27-primary
Sep 18, 2026
Merged

leogdion merged 4 commits into
v2.0.0-alpha.4from
ci/xcode-27-primary

Conversation

@leogdion

@leogdion leogdion commented Sep 18, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Includes the SundialKitStream v1.0.0-alpha.4 demo/docs upgrade (supersedes v2.0.0 alpha.4 #94).
  • Apple CI: primary is now xcode-27 / Xcode 27.0 / OS 27.0 family (iPhone 18 Pro, Watch Ultra 4, Apple TV 4K, Vision Pro).
  • Former primary (macos-26 / Xcode 26.5 / OS 26.5) moves to secondary.
  • Removes the old secondary tier (Xcode_26.1 / OS 26.1).
  • Leaves Ubuntu, Windows, and Android matrices unchanged until released Docker images are available.

Test plan

  • Confirm xcode-27 jobs pick /Applications/Xcode_27.0.app and resolve OS 27 simulators
  • Confirm secondary macos-26 + Xcode 26.5 jobs still pass
  • Confirm Ubuntu/Windows/Android jobs are unchanged vs main
  • Demo package build/lint on primary + secondary
  • Close v2.0.0 alpha.4 #94 once this is preferred

Made with Cursor

Summary by CodeRabbit

  • Chores
    • Updated automated builds for the latest Xcode 27 toolchain and new Apple platform devices and operating system versions.
    • Retained secondary and legacy build configurations to support broader compatibility across macOS, iOS, watchOS, tvOS, and visionOS.
    • Updated demo builds and TestFlight archiving to use the latest Xcode and simulator environments.
    • Removed the automated CodeQL analysis workflow.

Drop the Xcode 26.1 secondary tier, keep 26.5 as secondary on
macos-26, and target the xcode-27 runner with OS 27 simulators.
Leave Ubuntu/Windows/Android matrices unchanged until release images ship.

Co-authored-by: Cursor <[email protected]>
@coderabbitai

coderabbitai Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

Warning

Review limit reached

Next included review available in 21 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 864cd51c-dd04-46b1-964c-d4130431d8d3

📥 Commits

Reviewing files that changed from the base of the PR and between fb62ca4 and a379a0d.

📒 Files selected for processing (1)
  • CHANGELOG.md

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 5806621c-24d0-4004-a84f-059e8be56646

📥 Commits

Reviewing files that changed from the base of the PR and between abe8516 and fb62ca4.

📒 Files selected for processing (3)
  • .github/workflows/SundialKit.yml
  • .github/workflows/codeql.yml
  • .github/workflows/sundial-demo.yml
💤 Files with no reviewable changes (1)
  • .github/workflows/codeql.yml

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

CI build workflows now use Xcode 27 as the primary toolchain and Xcode 26.6 as the secondary toolchain. Demo archive and TestFlight jobs use Xcode 27. The CodeQL workflow was deleted.

Changes

Xcode 27 workflow updates

Layer / File(s) Summary
Platform build matrices
.github/workflows/SundialKit.yml
SPM, macOS, iOS, watchOS, tvOS, and visionOS matrices now include Xcode 27 and Xcode 26.6 configurations. Legacy macOS coverage was added.
Workflow runtime updates
.github/workflows/sundial-demo.yml
Demo build, archive, and TestFlight jobs now use the xcode-27 runner and Xcode 27.0 where specified. The matrix uses updated devices and OS versions.

CodeQL workflow removal

Layer / File(s) Summary
Remove CodeQL workflow
.github/workflows/codeql.yml
The scheduled, push, and pull request CodeQL analysis workflow was deleted.

Priority: ➖ Normal

Estimated code review effort: 2 (Simple) | ~15 minutes

Change: Other

Merge Risk: 🟡 Moderate · up to fb62c

This change removes automatic Swift security scanning from pull requests, pushes, and weekly checks. Restore or explicitly replace that coverage before merging unless the reduced security control is intentionally accepted.

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Out of Scope Changes check ⚠️ Warning Issue #94 defines documentation, Sundial demo integration, and Sundial demo workflow cancellation objectives. The Apple CI matrix changes in .github/workflows/SundialKit.yml are unrelated to those o… Remove the unrelated Apple CI matrix changes and restore .github/workflows/codeql.yml, unless directly linked issue requirements provide a documented connection for those changes.
Linked Issues check ❓ Inconclusive Issue #94 requires installation documentation and examples to use the current SundialKit and SundialKitStream preview versions, corrected snapshot-sync stream-context documentation, and the Sundial de… Provide a reviewable whole-PR diff or focused evidence for the installation documentation, demo documentation, SundialDemoStream integration, and related automated tests. The current repository inspection failed because a required object wa…
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely identifies the main change: making Xcode 27 the primary CI environment for the v2.0.0 alpha.4 release.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Full details: Linked Issues check

Explanation

Issue #94 requires installation documentation and examples to use the current SundialKit and SundialKitStream preview versions, corrected snapshot-sync stream-context documentation, and the Sundial demo to use the appropriate stream-context module. The reviewed-head workflow shows no concurrency cancellation block, which supports the workflow objective. The whole-PR diff could not be fetched, and the supplied summaries conflict: the PR summary claims demo and documentation changes, while the file summaries list only workflow changes and CodeQL deletion. The available evidence does not establish the required documentation or stream-context behavior, or whether automated tests cover the changes.

Resolution

Provide a reviewable whole-PR diff or focused evidence for the installation documentation, demo documentation, SundialDemoStream integration, and related automated tests. The current repository inspection failed because a required object was unavailable.

Full details: Out of Scope Changes check

Explanation

Issue #94 defines documentation, Sundial demo integration, and Sundial demo workflow cancellation objectives. The Apple CI matrix changes in .github/workflows/SundialKit.yml are unrelated to those objectives. Deleting .github/workflows/codeql.yml is also unrelated. The supplied summary confirms both changes.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@claude

claude Bot commented Sep 18, 2026

Copy link
Copy Markdown

Review: CI Xcode 27 primary + demo/docs alpha.4 bump

This PR is CI/docs/demo-only (no Sources/ behavior changes besides a comment), so the blast radius on the library itself is low. A few things worth double-checking before merge:

1. runs-on: xcode-27 is a non-standard runner label

Every "primary" job across SundialKit.yml, codeql.yml, and sundial-demo.yml now targets runs-on: xcode-27, which isn't one of GitHub's documented hosted images (those are named macos-15/macos-26, etc.). If this isn't a runner label your org has actually provisioned (self-hosted, or a larger-runner alias), those jobs will queue indefinitely rather than fail fast. Worth confirming this resolves before merging — the PR's own test-plan checklist has "Confirm xcode-27 jobs pick /Applications/Xcode_27.0.app..." unchecked, and as of this review several xcode-27 jobs are still QUEUED.

2. New primary matrix entries drop download-platform: true

Every new xcode-27 entry (iOS/watchOS/tvOS/visionOS, in both SundialKit.yml jobs) omits download-platform: true, while the macos-26 secondary entries for the same platforms keep it. This is consistent across the file, so it looks intentional (presumably the xcode-27 image ships the OS 27 simulator runtimes preinstalled), but it's a silent behavioral difference worth a one-line comment explaining why, since the pattern is easy to break by copy/paste in future edits.

3. Examples/Sundial/Package.swift: tag pin → branch pin

.package(url: "https://github.com/brightdigit/SundialKit.git", branch: "v2.0.0-alpha.4"),
...
.package(url: "https://github.com/brightdigit/SundialKitStream.git", branch: "v1.0.0-alpha.4")

Switching from from: "2.0.0-alpha.3" (immutable tag) to branch: means the demo's resolved dependency can silently move out from under Package.resolved if either branch gets new commits before the alpha.4 tags are cut. If this is a deliberate stopgap until the tags exist, consider a comment saying so plus a follow-up TODO/issue to swap back to from:/exact: once tagged — otherwise this is easy to forget and ship as a permanently-floating dependency.

4. README.md / Documentation.md reference 2.0.0-alpha.4 / 1.0.0-alpha.4

These are the public copy-paste snippets for library consumers. Worth confirming the 2.0.0-alpha.4 and 1.0.0-alpha.4 tags actually exist (or will exist by merge time) on SundialKit/SundialKitStream — otherwise a user following the README gets an unresolvable dependency.

5. sundial-demo.yml: concurrency/cancel-in-progress removed

-concurrency:
-  group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
-  cancel-in-progress: true

This workflow includes deploy-testflight. Without the concurrency guard, two overlapping pushes (or a push while a prior run is still archiving/uploading) can now run the archive/TestFlight-deploy jobs concurrently. If that's intentional (e.g. to avoid cancelling an in-flight TestFlight upload), it'd be good to state why in a comment; if it's incidental, consider keeping a non-cancelling concurrency group (cancel-in-progress: false) to at least serialize deploys.

Minor / nitpicks

  • Nice cleanup: matrix entries are now clearly labeled Primary/Secondary/Legacy in comments, and stray trailing whitespace was trimmed — improves readability.
  • Test coverage: N/A here since this is pure CI/config; the real "test" is the workflow runs themselves, which are still in progress/queued at time of review — worth confirming all tiers go green (primary, secondary, and legacy) before merging, especially the TestFlight deploy path.

Overall this looks like a reasonable, well-organized CI tier rotation. The main risks are operational (runner label validity, floating branch deps, and the removed concurrency guard around a production deploy job) rather than code-correctness issues.

@codecov

codecov Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.47%. Comparing base (abe8516) to head (fb62ca4).

Additional details and impacted files
@@               Coverage Diff               @@
##           v2.0.0-alpha.4      #95   +/-   ##
===============================================
  Coverage           65.47%   65.47%           
===============================================
  Files                  32       32           
  Lines                 533      533           
===============================================
  Hits                  349      349           
  Misses                184      184           
Flag Coverage Δ
spm 66.85% <ø> (ø)
swift-6.1 65.91% <ø> (ø)
swift-6.2 65.91% <ø> (ø)
swift-6.3 65.91% <ø> (ø)
swift-6.4.x 65.91% <ø> (ø)
ubuntu 65.91% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Use the latest Xcode on macos-26; simulator runtimes remain 26.5
because 26.6 still ships the 26.5 SDK/simulators.

Co-authored-by: Cursor <[email protected]>
@claude

claude Bot commented Sep 18, 2026

Copy link
Copy Markdown

Review: CI matrix + alpha.4 doc/demo bump

This PR is CI/docs/demo-only (no Sources//Tests/ changes), so I focused on the workflow logic and the dependency pinning.

Findings

1. Race condition reintroduced by dropping concurrency on sundial-demo.yml (Correctness — Medium)
The deploy-testflight job's "Increment build number and commit" step reads CURRENT_PROJECT_VERSION from project.yml, bumps it, and does a plain git push to main/v2.0.0. Previously the workflow-level concurrency/cancel-in-progress: true block prevented overlapping runs (at the cost of killing in-flight deploys, which the commit message says was the motivation for removing it). Removing the block entirely means two overlapping pushes to main in quick succession can now run build-demo → archive-demo → deploy-testflight concurrently, both read the same CURRENT_BUILD, compute the same NEW_BUILD, and race to git push — one run fails outright, or in the worst case both succeed against slightly different bases and silently diverge/clobber each other's build-number bump.

A middle ground would keep the "don't cancel an active deploy" property while still serializing runs, e.g.:

concurrency:
  group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
  cancel-in-progress: false

This queues subsequent runs instead of canceling or letting them race.

2. New xcode-27 runner label — please confirm it's provisioned (Risk — Medium)
xcode-27 is a new runs-on value that doesn't follow the existing macos-XX GitHub-hosted naming convention used elsewhere in these workflows, which suggests it's a new self-hosted/custom runner label. It's now the primary tier for build-macos, build-macos-full, codeql.yml, and all of sundial-demo.yml (including deploy-testflight). If that runner group isn't registered/online yet, every one of those jobs will queue indefinitely rather than fail fast. Worth confirming the runner exists and is online before merging (the PR's own test plan checklist for "Confirm xcode-27 jobs pick up /Applications/Xcode_27.0.app" is still unchecked).

3. download-platform omitted on the new xcode-27 primary matrix entries (Minor — worth a comment)
Every macos-26/macos-15 iOS/watchOS/tvOS/visionOS entry sets download-platform: true, but the new xcode-27 primary entries (in both SundialKit.yml and sundial-demo.yml) don't. If that's because the custom xcode-27 image ships the OS 27 simulator runtimes pre-installed, a one-line comment saying so would save the next person from wondering whether this was accidentally dropped.

4. Branch-pinned dependencies in Examples/Sundial/Package.swift (Minor/temporary)
Both SundialKit and SundialKitStream are now pinned via branch: instead of a tag/version (branch: "v2.0.0-alpha.4", branch: "v1.0.0-alpha.4"). The comment explains this is needed so SPM can dedupe the transitive SundialKit dependency against SundialKitStream's own branch-based requirement — that's a real SPM constraint (you can't mix a branch requirement and a from: version requirement on the same package across the graph), so this is a reasonable stopgap. Just flagging that it makes the demo non-reproducible until the alpha.4 tags are cut and this can revert to from:/exact: — the PR's test plan already tracks that via "Close #94 once this is preferred," so a follow-up reminder is probably enough.

Nits

  • README.md / Documentation.md now advertise 2.0.0-alpha.4 / 1.0.0-alpha.4 — just make sure those tags actually get cut on merge so the documented Package.swift snippets resolve.

Overall the matrix restructuring (primary/secondary/legacy tiers, Xcode 26.1 removal, trailing-whitespace cleanup) looks correct and consistent across all three workflow files. The main actionable item is #1 (the concurrency/build-number race); #2 is a pre-merge sanity check rather than a code issue.

@leogdion
leogdion changed the base branch from main to v2.0.0-alpha.4 September 18, 2026 16:26
@leogdion
leogdion added this pull request to stack #96 September 18, 2026 16:27
@claude

claude Bot commented Sep 18, 2026

Copy link
Copy Markdown

Review of ci/xcode-27-primary

This is a CI-only change across SundialKit.yml and sundial-demo.yml, plus a full deletion of codeql.yml. Overall the primary and secondary tier restructuring is well organized and consistently applied across the SPM/macOS, iOS, watchOS, tvOS, and visionOS matrices, with good use of comments labeling each tier.

A few items worth resolving before merge:

  1. Unexplained removal of CodeQL scanning (security concern). The file codeql.yml is deleted entirely in this PR, but this is not mentioned anywhere in the PR description or summary, and the commit message is just "Delete .github/workflows/codeql.yml" with no rationale. This removes all CodeQL security scanning for Swift on push, PR, and the weekly schedule. If intentional -- for example being replaced by something else, or CodeQL for Swift being broken under Xcode 27 -- that should be called out explicitly in the PR description. If it is incidental scope creep from a rebase or merge, it should probably be split out or reverted, since dropping security scanning silently inside an "Xcode 27 primary CI" PR is easy to miss in review. Also worth checking whether main branch protection has a required status check tied to this workflow, which would need updating too.

  2. Unverified xcode-27 runner label. All "primary" matrix entries switch runs-on to xcode-27, but GitHub-hosted macOS runner images are conventionally named after the macOS major version, as this repo already does with macos-26 and macos-15, rather than the Xcode version. If xcode-27 is not an existing self-hosted or custom runner label already provisioned for this org, every primary job across all three workflows, including the SundialKit build jobs and the demo build, archive, and TestFlight deploy jobs, will queue indefinitely waiting on a runner that never picks it up. The PR own test-plan checkbox confirming that xcode-27 jobs resolve Xcode_27.0.app and OS 27 simulators is unchecked, so it is worth confirming a run has actually succeeded on this label before merging, since a bad runner label fails silently by staying queued rather than erroring immediately.

  3. download-platform inconsistency between tiers. Every new xcode-27 primary entry for iOS, watchOS, tvOS, and visionOS omits download-platform true, while the corresponding macos-26 secondary entries at Xcode 26.6 explicitly set it. This is consistent across all three files, so it looks intentional, presumably because the xcode-27 runner image already ships with OS 27 simulator runtimes preinstalled, similar to how the legacy macos-15 entries at OS 18.5 do not set it either. Worth confirming that assumption explicitly, since if the xcode-27 runner does not bundle the OS 27 platform, these jobs will fail at the simulator boot step instead of at scheduling, which is a more confusing failure to debug.

  4. Minor: the CodeRabbit-generated summary in the PR description references doc and README updates for 2.0.0-alpha.4 and SundialKitStream 1.0.0-alpha.4, but the actual diff here only touches the three workflow files with no doc changes included. Likely a stale summary carried over from the superseded PR 94, but worth confirming nothing was dropped during the rebase.

No test coverage concerns beyond the CI matrix itself, since this PR is the test infrastructure, and no application code is touched. The CodeQL removal above is the one item worth treating as a genuine security concern.

Generated with Claude Code

Living changelog to append per release and copy into GitHub releases.

Co-authored-by: Cursor <[email protected]>
@leogdion
leogdion merged commit a1ca436 into main Sep 18, 2026
1 check passed
@leogdion
leogdion deleted the ci/xcode-27-primary branch September 18, 2026 17:35
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.

1 participant