Repository navigation
Tighten the README - #100
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## claude/2.0-12-ci #100 +/- ##
==================================================
Coverage 100.00% 100.00%
==================================================
Files 15 15
Lines 3290 3290
==================================================
Hits 3290 3290 🚀 New features to boost your workflow:
|
dfed
force-pushed
the
claude/2.0-13-readme
branch
from
November 16, 2026 11:40
1094511 to
a38d43c
Compare
Put the problem before the API, so a newcomer sees why the library exists before learning how to use it. The actorTaskOrdering example now comes right after the intro under "Task ordering in Swift concurrency", with a lead-in that says what the test expects, and ends on a bridge into "Choosing a queue". The example code is unchanged. Say each thing once: - Define "operation" where it is first used, in the FIFOQueue section, and shorten the "Choosing a queue" opening. - Tighten the FIFOQueue opening and compare it with a serial DispatchQueue. List the deadlock warning first. - Fold the ActorQueue "await the task's value" paragraph into the bullet that contrasts it with a FIFOQueue. - Cut the CancellableQueue cancellation bullet and point to the Cancellation section instead. - Fold the one-sentence "Task-local values" subsection into its section intro, and cut the Priority list from five bullets to three. - Trim "Checking whether a queue is idle" and move it below "Task-local values, priority, and cancellation". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HLuVQLsTNvRnyh155N25UM
dfed
force-pushed
the
claude/2.0-13-readme
branch
from
November 16, 2026 23:40
a38d43c to
c7d20de
Compare
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 review of how approachable this README is compared it with the README on
main. Sentence by sentence the new README is easier to read, but its first screen put "how" before "why": the example that shows the problem had moved below "Choosing a queue", under a heading that named the fix, with a lead-in that didn't say what to look for. This PR puts the problem first again and cuts repetition. TheactorTaskOrderingexample code, every other Swift example, and the Installation section are unchanged.Changes
FIFOQueueexample and list the deadlock warning first.ActorQueueparagraph and fold its point into the bullet about awaiting a task on the same queue ("Unlike on aFIFOQueue, this doesn't wait forever.").CancellableQueuesection, with a link to Cancellation.FIFOQueueopening and compare it with a serialDispatchQueue.Validation
-warnings-as-errors. All examples pass exceptactorTaskOrdering, which fails as its// often failscomment says.#cancellation, resolves to a heading.swiftformat . --lintreports no changes.FIFOQueuedoc comment says awaiting a task on the same queue waits forever, andActorQueueTestsawaits a nested task on the sameActorQueue.Series
Stacked on #99, the top of the 2.0 series.
Generated by Claude Code