Skip to content

Align tooling config and CI with established project standards - #44

Merged
chrisdhaan merged 4 commits into
masterfrom
chore/cross-repo-paradigm-consistency
Aug 30, 2026
Merged

chrisdhaan merged 4 commits into
masterfrom
chore/cross-repo-paradigm-consistency

Conversation

@chrisdhaan

@chrisdhaan chrisdhaan commented Aug 29, 2026 •

Copy link
Copy Markdown
Owner

Closes #45

Summary

  • A tooling audit found several config/paradigm drifts specific to this repo; this PR brings them in line with the project's established conventions.
  • .swiftformat: bumped --swiftversion 5.9 → 6.0 to match Package.swift's swiftLanguageModes: [.v6]. Checked first whether this would surface newly-activated rules the way it has elsewhere — it doesn't here; swiftformat --lint stays clean with 0/119 files needing changes.
  • .github/workflows/ci.yml: added an Example job — this repo wasn't building iOS Example in CI.
  • iOS Example.xcscheme: bumped the stale LastUpgradeVersion (1340, i.e. Xcode 13.4) to 2640, matching this repo's own main framework scheme. It had drifted years behind — the Example project apparently hasn't been opened directly in Xcode in a long time even though CI builds it via xcodebuild. No other scheme content needed changing.
  • .gitignore already had docs/superpowers/ and .superpowers/ — no change needed there.
  • file_length, function_body_length, and type_body_length SwiftLint limits tightened to a consistent baseline; every violation was fixed by restructuring — splitting CDUntappdAPIClient into per-endpoint-group extensions, splitting CDUntappdURLSession's retry/cancellation logic into its own file, and factoring CDUntappdVenue's initializer into named decode helpers — rather than raising limits or disabling rules.

Test plan

  • swift build succeeds
  • swiftformat Source Tests --lint passes with 0/119 files requiring formatting
  • swiftlint lint --strict passes with 0 violations (72 files)
  • .github/workflows/ci.yml validated as parseable YAML; iOS Example.xcscheme validated as parseable XML
  • CI green on this PR (iOS/macOS/tvOS/watchOS/visionOS/Catalyst/Example job/SPM/swiftlint/swiftformat/codeql/documentation)

🤖 Generated with Claude Code

https://claude.ai/code/session_01KbCr6TJJi2oFs254tFU4HV

chrisdhaan and others added 4 commits August 29, 2026 11:37
Cross-repo audit against CDMarkdownKit/CDYelpFusionKit/CDOAuth1Kit/CDYahooKit
punch list for CDUntappdKit:

- .swiftformat: bumped --swiftversion 5.9 → 6.0 to match Package.swift's
  swiftLanguageModes: [.v6]. Verified no new rules activate at this
  version for this codebase (unlike CDMarkdownKit/CDYelpFusionKit,
  where the same bump surfaced real issues) — swiftformat --lint stays
  clean with 0/119 files needing changes.
- CI: added an Example job (this repo wasn't building "iOS Example"
  in CI, unlike CDYahooKit).
- iOS Example.xcscheme: bumped the stale LastUpgradeVersion (1340,
  i.e. Xcode 13.4) to 2640, matching this repo's own main framework
  scheme — it had drifted years behind because the Example project
  apparently hasn't been opened in Xcode directly in a long time even
  though CI builds it via xcodebuild. Scheme content itself needed no
  other changes.

.gitignore already had docs/superpowers/ and .superpowers/ — no change
needed there; the original audit note was inaccurate for this repo.

Verified: swift build, swiftlint --strict (0 violations, 72 files),
swiftformat --lint (0/119 files), and the ci.yml/scheme XML both parse.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KbCr6TJJi2oFs254tFU4HV
…eline

Aligns file_length, function_body_length, type_body_length, and
line_length with the shared cross-repo baseline (400/1000, 40/100,
200/350, 149/200). Fixed all violations by splitting CDUntappdAPIClient
into endpoint-grouped extensions, splitting CDUntappdURLSession's retry
and cancellation logic into a same-purpose extension, and factoring
CDUntappdVenue's initializer into per-section decode helpers, rather
than raising thresholds or adding disables.
Documents the tooling-alignment and SwiftLint threshold-tightening work
already on this branch under Unreleased, following this project's
existing convention of logging tooling/CI changes alongside functional
ones.
Describes the tooling/threshold work on its own terms instead of
naming the other framework repos it was aligned with.
@chrisdhaan chrisdhaan changed the title Align tooling config and CI with sibling Swift frameworks Align tooling config and CI with established project standards Aug 29, 2026
@chrisdhaan
chrisdhaan merged commit a933bd2 into master Aug 30, 2026
38 checks passed
@chrisdhaan
chrisdhaan deleted the chore/cross-repo-paradigm-consistency branch August 30, 2026 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Align tooling config and CI with established project standards

1 participant