Skip to content

fix(ci): move macOS jobs off the retired macos-14 runner label - #7224

Merged
Fluf22 merged 3 commits into
mainfrom
cursor/macos-14-runner-label-916a
Nov 6, 2026
Merged

Fluf22 merged 3 commits into
mainfrom
cursor/macos-14-runner-label-916a

Conversation

@Fluf22

@Fluf22 Fluf22 commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator

🧭 What and Why

🎟 JIRA Ticket: N/A (CI incident)

Since 2026-11-05 ~20:00 UTC, every macos-14 job in check.yml is cancelled before a runner is assigned, with the annotation The configuration 'macos-14-arm64-us-default' is not supported. check_green then fails because kotlin_build_macos and the Swift macOS client_gen leg report cancelled. The workflow files did not change: the same run passed on 2026-11-05 at 14:15 UTC, and the failure reproduces with a one-job workflow that only contains runs-on: macos-14. The label is rejected by the GitHub Actions platform, not by repo code.

Reproduction on throwaway branches (deleted afterwards), same account:

  • runs-on: macos-14 → cancelled, no runner, 0 steps, the annotation above
  • runs-on: macos-15 → success
  • runs-on: macos-latest → success

macos-15 only ships Xcode 16.x, which breaks the Swift 5.9 toolchain the macOS Swift leg used (probe on macos-15, same setup-swift pin):

  • Swift 5.9 and 5.10: cannot import the SDK (could not build module 'DarwinFoundation')
  • Swift 6.0.3: compiles, but swift test crashes after the XCTest run (swiftpm_testing_helper: XCTestCore.framework not found)
  • Swift 6.1 and 6.2: compile and run tests

Changes included:

  • .github/workflows/check.yml: Swift client_gen leg and kotlin_build_macos job use macos-15.
  • clients/algoliasearch-client-kotlin/.github/workflows/release.yml (hand-written, not generated): the Maven Central publish job uses macos-15.
  • scripts/ci/githubActions/createMatrix.ts: the Swift macOS matrix entry uses Swift 6.1 (the version bundled with Xcode 16.4). SWIFT_DATA, which feeds swift_build_linux, still carries the version from config/.swift-version.

What this does not change

  • config/.swift-version stays 5.9. The generator reads it for swift-tools-version and the podspec swift_version, so the generated Package.swift and podspec keep the same minimum and this is not a breaking change for customers.
  • swift_build_linux (ubuntu-22.04) keeps building the clients with Swift 5.9, so the minimum supported version stays verified on every Swift-affecting PR. It builds only; the CTS runs on the macOS leg.
  • The local Docker image stays on swift:5.9.

🧪 Test

  • CI run 42213391265, all green:
    • client swift@5.9 linux: success (minimum version build)
    • client swift@6.1 (macOS, macos-15): success, including unit CTS, e2e CTS, benchmarks, snippets and guides
    • client kotlin@21.0.11 macos (macos-15): success
    • check_green: success
  • yarn scripts:test passes (18 files, 160 tests).
  • Ran createMatrix locally: SWIFT_DATA.version is 5.9, the Swift entry in GEN_MATRIX is 6.1.

Follow-ups, not in this PR

  • The Swift 6.1 pin is a constant in createMatrix.ts, so Renovate does not bump it (unlike config/.swift-version).
  • The Kotlin release workflow only runs on a chore: release push to main, so PR CI does not exercise the macos-15 change there.
Open in Web Open in Cursor 

GitHub Actions now rejects the macos-14 label for this org ("The configuration 'macos-14-arm64-us-default' is not supported"). The job is cancelled before a runner is assigned, which fails check_green. Switch the Swift/Kotlin macOS jobs and the Kotlin publish workflow to macos-15, which runs fine on the same account.

Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
@algolia-api-clients-automation-bot

algolia-api-clients-automation-bot Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

✔️ Code generated!

Name Link
🪓 Triggered by d7c0a5f83f3d21980971c7fe5afbdf6bde7d7c72
🍃 Generated commit f1247a18b0eb982534be757cbc73fcb52dcf954f
🌲 Generated branch generated/cursor/macos-14-runner-label-916a
📊 Benchmark results

Benchmarks performed on the method using a mock server, the results might not reflect the real-world performance.

Language Req/s
csharp 2469
javascript 2224
go 1793
php 1606
python 1257
ruby 1169
java 1082
scala 850
swift 390

cursoragent and others added 2 commits November 6, 2026 11:33
…n on linux

macos-15 only ships Xcode 16+, whose SDK cannot be imported by swift 5.9 or 5.10. Use swift 6.0 for the macOS matrix entry only. config/.swift-version stays 5.9, so the generated Package.swift and podspec keep the same minimum, and swift_build_linux (which reads SWIFT_DATA) keeps building the clients with 5.9.

Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
…code 16.4

swift 6.0 compiles the client on macos-15 but its swiftpm_testing_helper fails to load the XCTest bundle against Xcode 16.4 (XCTestCore.framework not found), so swift test exits non-zero after the XCTest run. 6.1 matches the swift bundled with Xcode 16.4 and runs.

Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
@Fluf22
Fluf22 marked this pull request as ready for review November 6, 2026 12:28
@Fluf22
Fluf22 requested a review from a team as a code owner November 6, 2026 12:28
@Fluf22
Fluf22 merged commit 575c3ab into main Nov 6, 2026
@Fluf22
Fluf22 deleted the cursor/macos-14-runner-label-916a branch November 6, 2026 12:39
algolia-api-clients-automation-bot Bot added a commit that referenced this pull request Nov 6, 2026
… (generated) [skip ci]

Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
algolia-api-clients-automation-bot Bot added a commit to algolia/algoliasearch-client-csharp that referenced this pull request Nov 6, 2026
…ated)

algolia/api-clients-automation#7224

Co-authored-by: algolia-api-clients-automation-bot[bot] <288895823+algolia-api-clients-automation-bot[bot]@users.noreply.github.com>
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
algolia-api-clients-automation-bot Bot added a commit to algolia/algoliasearch-client-dart that referenced this pull request Nov 6, 2026
…ated)

algolia/api-clients-automation#7224

Co-authored-by: algolia-api-clients-automation-bot[bot] <288895823+algolia-api-clients-automation-bot[bot]@users.noreply.github.com>
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
algolia-api-clients-automation-bot Bot added a commit to algolia/algoliasearch-client-go that referenced this pull request Nov 6, 2026
…ated)

algolia/api-clients-automation#7224

Co-authored-by: algolia-api-clients-automation-bot[bot] <288895823+algolia-api-clients-automation-bot[bot]@users.noreply.github.com>
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
algolia-api-clients-automation-bot Bot added a commit to algolia/algoliasearch-client-java that referenced this pull request Nov 6, 2026
…ated)

algolia/api-clients-automation#7224

Co-authored-by: algolia-api-clients-automation-bot[bot] <288895823+algolia-api-clients-automation-bot[bot]@users.noreply.github.com>
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
algolia-api-clients-automation-bot Bot added a commit to algolia/algoliasearch-client-javascript that referenced this pull request Nov 6, 2026
…ated)

algolia/api-clients-automation#7224

Co-authored-by: algolia-api-clients-automation-bot[bot] <288895823+algolia-api-clients-automation-bot[bot]@users.noreply.github.com>
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
algolia-api-clients-automation-bot Bot added a commit to algolia/algoliasearch-client-kotlin that referenced this pull request Nov 6, 2026
…ated)

algolia/api-clients-automation#7224

Co-authored-by: algolia-api-clients-automation-bot[bot] <288895823+algolia-api-clients-automation-bot[bot]@users.noreply.github.com>
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
algolia-api-clients-automation-bot Bot added a commit to algolia/algoliasearch-client-php that referenced this pull request Nov 6, 2026
…ated)

algolia/api-clients-automation#7224

Co-authored-by: algolia-api-clients-automation-bot[bot] <288895823+algolia-api-clients-automation-bot[bot]@users.noreply.github.com>
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
algolia-api-clients-automation-bot Bot added a commit to algolia/algoliasearch-client-python that referenced this pull request Nov 6, 2026
…ated)

algolia/api-clients-automation#7224

Co-authored-by: algolia-api-clients-automation-bot[bot] <288895823+algolia-api-clients-automation-bot[bot]@users.noreply.github.com>
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
algolia-api-clients-automation-bot Bot added a commit to algolia/algoliasearch-client-ruby that referenced this pull request Nov 6, 2026
…ated)

algolia/api-clients-automation#7224

Co-authored-by: algolia-api-clients-automation-bot[bot] <288895823+algolia-api-clients-automation-bot[bot]@users.noreply.github.com>
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
algolia-api-clients-automation-bot Bot added a commit to algolia/algoliasearch-client-scala that referenced this pull request Nov 6, 2026
…ated)

algolia/api-clients-automation#7224

Co-authored-by: algolia-api-clients-automation-bot[bot] <288895823+algolia-api-clients-automation-bot[bot]@users.noreply.github.com>
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
algolia-api-clients-automation-bot Bot added a commit to algolia/algoliasearch-client-swift that referenced this pull request Nov 6, 2026
…ated)

algolia/api-clients-automation#7224

Co-authored-by: algolia-api-clients-automation-bot[bot] <288895823+algolia-api-clients-automation-bot[bot]@users.noreply.github.com>
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
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