Skip to content

build: upgrade SwiftFormat to 0.58.7 - #18

Open
robmaceachern wants to merge 1 commit into
mainfrom
codex/mrkt-142-swiftformat-0587
Open

robmaceachern wants to merge 1 commit into
mainfrom
codex/mrkt-142-swiftformat-0587

Conversation

@robmaceachern

@robmaceachern robmaceachern commented Sep 10, 2026

Copy link
Copy Markdown
Member

Summary

Upgrade the mise SwiftFormat pin from 0.55.0 to 0.58.7 to support Swift 6.2 raw identifiers, including human-readable Swift Testing function names.

This one-line, main-based tooling PR supports MRKT-142 and can land independently of navigation/content-lifecycle changes. The formatter configuration, Swift sources, package dependencies, and CI workflow are unchanged. Keep this PR draft until Rob manually examines it and explicitly approves conversion; no automatic readiness conversion or merge.

Validation

  • mise exec -- swiftformat --version reports 0.58.7.
  • mise exec -- swiftformat --lint . --cache ignore: 0/140 files require formatting; six files skipped by formatter/configuration rules. The unchanged source tree also passed the previous 0.55.0 formatter.
  • A standalone Swift Testing fixture with a backticked, space-containing function name fails the old parser and passes lint under 0.58.7 with this repository's configuration and Swift 6.0.2 formatting mode.
  • git diff --check passes. Runtime tests were not rerun locally for a formatter-pin-only change.

Checklist

  • Unit Tests
  • Documentation (scope and validation documented above; no API documentation changes needed)
  • Pull request title follows conventional commits

This response was drafted with AI assistance.

Support Swift 6.2 raw identifiers with a pinned formatter and preserve existing formatting policy. Keep this MRKT-142 supporting tooling change independent of navigation API work.

---
*This response was drafted with AI assistance.*
@robmaceachern
robmaceachern marked this pull request as ready for review September 10, 2026 18:05
@robmaceachern
robmaceachern requested a review from a team as a code owner September 10, 2026 18:05

This branch has not been deployed

No deployments
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