Skip to content

Restore the swift-format gate: format the three files holding it open - #227

Merged
scgopi merged 1 commit into
mainfrom
style/format-gate
Aug 30, 2026
Merged

Restore the swift-format gate: format the three files holding it open#227
scgopi merged 1 commit into
mainfrom
style/format-gate

Conversation

@scgopi

@scgopi scgopi commented Aug 30, 2026

Copy link
Copy Markdown
Owner

Problem

make check fails on main: 405 standing swift-format Indentation errors in GraphcodeKit/Sources/DaemonBootstrap.swift (introduced by the Linux-port commit 18feed8, already shipped in beta3 — surfaced when the Swift 6.3.3 toolchain's formatter started flagging them) plus 4 long-standing ones in GitClient.swift and GraphOverviewCards.swift. With the gate red on main, the release check cannot be enforced.

Fix

Output of swift format format --in-place under the repo's .swift-format configuration on exactly those three files. Nothing else touched:

File Change
GraphcodeKit/Sources/DaemonBootstrap.swift indentation only — git diff -w empty
graphcode/Sources/Features/Overview/GraphOverviewCards.swift whitespace only — git diff -w empty
graphcode/Sources/Clients/GitClient.swift one guard re-wrapped (same tokens); whitespace otherwise

swift format lint --recursive --strict is clean again across GraphcodeKit graphcode graphcode-cli graphcoded, and swiftlint stays green.

DaemonBootstrap.swift's indentation (from the Linux-port commit, shipped
in beta3) plus three spots in GitClient.swift and GraphOverviewCards.swift
have failed `make check` on main since the Swift 6.3.3 toolchain's
formatter started flagging them — 405 + 4 standing errors, so the release
gate cannot be enforced. Output of `swift format format --in-place`
under the repo configuration; `git diff -w` is empty everywhere except
one guard re-wrapped in GitClient.swift, so no semantics move.
@scgopi
scgopi merged commit 87f05d6 into main Aug 30, 2026
1 check passed
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