Repository navigation
Rename ActorQueue.isIdle to hasStartedAllWork - #102
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## claude/2.0-13-readme #102 +/- ##
======================================================
Coverage 100.00% 100.00%
======================================================
Files 15 15
Lines 3290 3290
======================================================
Hits 3290 3290
🚀 New features to boost your workflow:
|
`isIdle` meant something different on each queue: a FIFOQueue is idle once every task has finished, while an ActorQueue was "idle" once every task had only started running on the actor. Give the ActorQueue property a name that says what it checks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dfed
force-pushed
the
claude/2.0-14-has-started-all-work
branch
from
November 16, 2026 23:40
7e5269a to
e99b6e5
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.
Requested by Dan · project thread
Part of the 2.0 stack, on top of
claude/2.0-13-readme.isIdlemeant different things on the two queues:FIFOQueue, it's true once every enqueued task has finished.ActorQueue, it was true once every enqueued task had started running on the actor.This PR renames the
ActorQueueproperty tohasStartedAllWork.FIFOQueue.isIdleis unchanged.ActorQueue.isIdle→ActorQueue.hasStartedAllWork. The doc comment drops the "idle"/"busy" wording.CancellableQueuehas neither.ActorQueuetests are renamed to match.Since
isIdleis new in 2.0, nothing has shipped with the old name, so no deprecation shim is needed.🤖 Generated with Claude Code