Skip to content

Update tooling and docs, require Swift 6.4, and update to DevTesting 1.7.0 - #13

Merged
prachigauriar merged 10 commits into
mainfrom
update-tooling-and-docs
Nov 25, 2026
Merged

prachigauriar merged 10 commits into
mainfrom
update-tooling-and-docs

Conversation

@prachigauriar

Copy link
Copy Markdown
Contributor

Summary

  • Move Scripts to Tools. Tools/lint and Tools/format now cover Package.swift and Markdown (with
    a pinned rumdl), and Tools/lint checks the length of Swift comments.
  • Build and test with Xcode 27.2 on the xcode-27 runner.
  • Require Swift 6.4, and enable the ImmutableWeakCaptures and NonisolatedNonsendingByDefault
    upcoming features.
  • Replace CLAUDE.md with a shorter AGENTS.md, and update the guides in Documentation, with the
    testing guides in Documentation/Testing.
  • Reformat existing Markdown with rumdl, and point the README at the Tools scripts.
  • Update to DevTesting 1.7.0: default-initialize mock stubs instead of force-unwrapping them, and
    replace MockError with DevTesting’s ArbitraryError.
  • Add release notes for 1.3.0.

  - Rename Scripts to Tools.
  - Add Tools/rumdl, which installs a pinned version of rumdl on first
    use, and .rumdl.toml with the project’s Markdown rules.
  - Lint and format Package.swift and Markdown in Tools/lint and
    Tools/format, and check the length of Swift comments, which
    swift-format doesn’t.
  - Run Tools/lint in the Verify Changes workflow.
  - Build and test with Xcode 27.2 on the xcode-27 runner, and test iOS
    on an iPhone 18 Pro.
  - Require DevTesting 1.7.0.
  - Default-initialize mock stubs instead of force-unwrapping them, so
    a test that calls an unconfigured stub fails instead of crashing.
  - Replace MockError and its randomError() with DevTesting’s
    ArbitraryError and randomError().
  - Raise the Swift tools version to 6.4, and say so in the README.
  - Enable the ImmutableWeakCaptures and NonisolatedNonsendingByDefault
    upcoming features for every target.
  - Format Package.swift, which Tools/lint now checks.
  - Replace CLAUDE.md with a shorter AGENTS.md that links to the guides
    instead of repeating them, and leaves out descriptions of the code
    that go out of date.
  - Move the testing guides into Documentation/Testing and rewrite them
    for DevTesting 1.7’s default stub values and ArbitraryError.
  - Add a Swift Style Guide and an index of the guides.
  - Add typography rules to the Markdown Style Guide.
  - Reformat existing Markdown with rumdl, which didn’t check it
    before.
  - Add release notes for 1.3.0, which requires Swift 6.4.
  - Point development setup at Tools/install-git-hooks, Tools/lint,
    and Tools/format.
  - Say that CI lints Swift and Markdown with Tools/lint.
  - Test tvOS on an Apple TV 4K (4th generation) and watchOS on an
    Apple Watch Series 12 (46mm). The runner’s tvOS 27.2 and watchOS
    27.2 simulators don’t include the older models.
  - Pin simulator destinations to OS 27.2, so a runner update can’t
    change which runtime CI tests on.
  - Resolve the example app’s packages again. Its Package.resolved
    still pinned DevTesting 1.2.0, which CI rejects as out of date
    because it disables automatic package resolution.
  - Let the Log Code Coverage step fail without failing the build.
    With Xcode 27.2, result bundles have no coverage for Swift package
    targets, so xccov can’t report it.
  - Upload xccovPretty’s output and post the coverage comment only
    when there’s a report.
@prachigauriar
prachigauriar merged commit c56ee42 into main Nov 25, 2026
6 checks passed
@prachigauriar
prachigauriar deleted the update-tooling-and-docs branch November 25, 2026 03:16
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