Skip to content

Disable SwiftSyntax prebuilts for UI tests#942

Merged
Kyle-Ye merged 1 commit into
mainfrom
test/ui
Jul 19, 2026
Merged

Disable SwiftSyntax prebuilts for UI tests#942
Kyle-Ye merged 1 commit into
mainfrom
test/ui

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Jul 19, 2026

Copy link
Copy Markdown
Member

Summary

  • disable SwiftSyntax package prebuilts for both UI test xcodebuild invocations
  • apply the workaround consistently across iOS and macOS UI test jobs
  • document that Swift 6.3 fixes the issue so the workaround can be removed after the Xcode 26.6 upgrade

Context

Swift 6.2 can select SwiftSyntax macro prebuilts that cause architecture or duplicate-link failures in UI test builds. Passing -IDEPackageEnablePrebuilts=NO keeps both baseline recording and OpenSwiftUI UI tests on the same temporary workaround.

Validation

  • parsed .github/actions/uitests/action.yml as YAML
  • ran git diff --check

@github-actions github-actions Bot added area: tests Test suites, UI tests, fixtures, snapshots, and test support code. type: ci GitHub Actions, test infrastructure, runners, checks, or automation. labels Jul 19, 2026
@Kyle-Ye
Kyle-Ye marked this pull request as ready for review July 19, 2026 06:33
@Kyle-Ye
Kyle-Ye merged commit deaf7fa into main Jul 19, 2026
8 checks passed
@Kyle-Ye
Kyle-Ye deleted the test/ui branch July 19, 2026 06:34
@augmentcode

augmentcode Bot commented Jul 19, 2026

Copy link
Copy Markdown
🤖 Augment PR Summary

Summary: Updates the UI test GitHub Action to run xcodebuild test with -IDEPackageEnablePrebuilts=NO for both baseline recording and UI test jobs.
Why: Works around Swift 6.2 selecting problematic SwiftSyntax macro prebuilts (arch/duplicate-link failures) until Swift 6.3 / the Xcode 26.6 upgrade.

🤖 Was this summary useful? React with 👍 or 👎

@augmentcode augmentcode Bot 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.

Review completed. No suggestions at this time.

Comment augment review to trigger a new review at any time.

@codecov

codecov Bot commented Jul 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 26.35%. Comparing base (4c426a7) to head (b3c6f8b).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #942      +/-   ##
==========================================
- Coverage   26.36%   26.35%   -0.01%     
==========================================
  Files         723      723              
  Lines       51232    51232              
==========================================
- Hits        13507    13502       -5     
- Misses      37725    37730       +5     

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: tests Test suites, UI tests, fixtures, snapshots, and test support code. type: ci GitHub Actions, test infrastructure, runners, checks, or automation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant