Repository navigation
Update tooling and docs, require Swift 6.4, and update to DevTesting 1.7.0 - #43
Merged
Merged
Conversation
- 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().
- Conform LiveQuerySchedulingStrategy to DefaultStubValueProviding in
tests.
- 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.
- Implement next(isolation:) instead of next() in
CurrentValueMulticaster.Values.AsyncIterator, passing the caller’s
isolation to the underlying stream. Calling the stream’s next()
sends the iterator to a @Concurrent function, which is a data race
error under NonisolatedNonsendingByDefault.
- 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.
- Add Async Test Patterns and update Dependency Injection.
- Reformat existing Markdown with rumdl, which didn’t check it
before.
- Mark the next closure that intercept(request:context:next:) takes
as @Concurrent. NonisolatedNonsendingByDefault otherwise makes it
nonisolated(nonsending), and interceptors in modules that don’t
enable the feature no longer conform.
- Add release notes for 1.12.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.
- Say that CI tests every platform, and stop recommending
Scripts/test-all-platforms, which no longer exists.
- 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.
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
a pinned rumdl), and Tools/lint checks the length of Swift comments.
upcoming features.
testing guides in Documentation/Testing.
replace MockError with DevTesting’s ArbitraryError.
NonisolatedNonsendingByDefault otherwise rejects as a data race.
NonisolatedNonsendingByDefault still conform.