Skip to content

Scope index store workaround to system modules - #998

Merged
Kyle-Ye merged 2 commits into
mainfrom
optimize/index_store
Aug 16, 2026
Merged

Scope index store workaround to system modules#998
Kyle-Ye merged 2 commits into
mainfrom
optimize/index_store

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Aug 16, 2026

Copy link
Copy Markdown
Member

Summary

  • add -index-ignore-system-modules to shared macOS Swift settings
  • remove broader --disable-index-store overrides from macOS CI and the Stdout renderer
  • document the consolidated Xcode 26.6 workaround

Motivation

Swift 6.3.3 can crash while indexing AppKit with the private framework shims. Disabling the entire index store avoids the crash, but also disables OpenSwiftUI source indexing and does not cover Xcode GUI package builds.

Applying the narrower driver flag through Package.swift skips imported system-module indexing while preserving source indexing across SwiftPM CLI, CI, the Stdout example, and Xcode GUI builds.

Validation

  • validated the package manifest with Xcode 26.6
  • parsed the updated workflow YAML and checked the Stdout script syntax
  • built and ran the Stdout renderer example with Xcode 26.6 / Swift 6.3.3

@github-actions github-actions Bot added area: tooling Developer tooling, package manifests, Tuist, scripts, formatting, or release tooling. platform: macOS macOS-specific behavior or support. type: build Build system, packaging, toolchain, release, or compiler support. labels Aug 16, 2026
@Kyle-Ye
Kyle-Ye marked this pull request as ready for review August 16, 2026 07:31
@Kyle-Ye
Kyle-Ye requested a review from Mx-Iris as a code owner August 16, 2026 07:31
@tuist

tuist Bot commented Aug 16, 2026

Copy link
Copy Markdown

🛠️ Tuist Run Report 🛠️

Tests 🧪

Scheme Status Cache hit rate Tests Skipped Ran Commit
OpenSwiftUI 0 % 1014 0 1014 6e112bb80

Builds 🔨

Scheme Status Duration Commit
OpenSwiftUI 1m 17s 6e112bb80

@codecov

codecov Bot commented Aug 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 26.29%. Comparing base (1c4edfb) to head (7e140c7).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #998      +/-   ##
==========================================
+ Coverage   26.24%   26.29%   +0.04%     
==========================================
  Files         734      734              
  Lines       55580    55580              
==========================================
+ Hits        14588    14615      +27     
+ Misses      40992    40965      -27     

☔ 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.

@Kyle-Ye
Kyle-Ye merged commit c78cd2a into main Aug 16, 2026
9 checks passed
@Kyle-Ye
Kyle-Ye deleted the optimize/index_store branch August 16, 2026 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: tooling Developer tooling, package manifests, Tuist, scripts, formatting, or release tooling. platform: macOS macOS-specific behavior or support. type: build Build system, packaging, toolchain, release, or compiler support.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant