Skip to content

Fix CI and prep 2.1.3 for AppState 3.0#31

Merged
0xLeif merged 1 commit into
mainfrom
cursor/ci-3.0-readiness-c2ed
Jul 17, 2026
Merged

Fix CI and prep 2.1.3 for AppState 3.0#31
0xLeif merged 1 commit into
mainfrom
cursor/ci-3.0-readiness-c2ed

Conversation

@0xLeif

@0xLeif 0xLeif commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes broken CI and prepares Cache for a 2.1.3 tag so AppState 3.0 can drop its revision pin of #30.

CI

macOS and DocC were failing on main with:

Could not find Xcode version that satisfied version spec: '16'

Current macos-latest images only ship Xcode 26.x. Aligned with AppState:

  • runs-on: macos-15
  • xcode-version: latest-stable
  • Dropped the redundant swift-actions/setup-swift step from DocC (Xcode toolchain is enough)

Release polish (post-#30 review)

  • Dictionary.get(_:as:) unwraps the optional before casting (idiomatic fix for the Linux/WASI _arrayForceCast abort)
  • Explicit import Combine when available for @Published / ObservableObject
  • CHANGELOG.md + README pin guidance for 2.1.3

After merge

Please tag 2.1.3 from main. AppState can then switch from:

.package(url: "https://github.com/0xLeif/Cache", revision: "33ef0d7…")

to:

.package(url: "https://github.com/0xLeif/Cache.git", from: "2.1.3")

Test plan

  • macOS workflow green on this PR
  • Ubuntu / Windows workflows still green
  • DocC will re-verify on merge to main
  • Maintainer tags 2.1.3 after merge
Open in Web Open in Cursor 

macOS and DocC were failing because runners no longer ship Xcode 16.
Switch those workflows to macos-15 + latest-stable (same as AppState).

Also polish the #30 fixes for release: unwrap before collection casts
on Linux/WASI, import Combine when available, and document 2.1.3 so
AppState can drop its Cache revision pin.

Co-authored-by: Leif <leif.algo@pm.me>
@0xLeif
0xLeif marked this pull request as ready for review July 17, 2026 20:33
@cursor

cursor Bot commented Jul 17, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@0xLeif
0xLeif merged commit a959a47 into main Jul 17, 2026
6 checks passed
@0xLeif
0xLeif deleted the cursor/ci-3.0-readiness-c2ed branch July 17, 2026 20:33
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