Repository navigation
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## fix/wait-for-child-run-starts #1154 +/- ##
=================================================================
- Coverage 94.05% 94.01% -0.04%
=================================================================
Files 54 54
Lines 4105 4196 +91
=================================================================
+ Hits 3861 3945 +84
- Misses 244 251 +7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
5bbadc2 to
033624c
Compare
7322d8e to
7c3d462
Compare
7c3d462 to
6f9300e
Compare
6f9300e to
c2f5a87
Compare
Pijukatel
left a comment
There was a problem hiding this comment.
I am struggling a lot with the variable naming in this PR. Reading this with fresh eyes the variable names gave me a lot of false leads instead of building a helpful mental model.
The usage of word slot here had a very confusing effect on me. One time it was for an asyncio.Condition and the second time for a very custom context manager that uses the first one inside...
On top of it, slot has its own established meaning in Python, but here it is not related in any manner.
Pijukatel
left a comment
There was a problem hiding this comment.
Thanks. It reads way better with new names. Just two more nits, otherwise good.
|
Btw. not using RecoverableState for persitence? |
Refactored to use it. |
|
I'll scope this PR back to the concurrency limit for child runs (both named and unnamed) and merge it in that form. Support for child runs without a
And later we can try to implement Pepa's idea: #1154 (comment) . |
0c64da0 to
50604d5
Compare
50604d5 to
663af55
Compare
663af55 to
1fa9bba
Compare
730b008 to
881d56b
Compare
Part 5 of 6 of the final specification of Actor composability: "Tracking child runs", section 5. Stacked on #1272.
Actor(max_concurrent_child_runs=...).None, the default, means no limit, and any other value must be a positive integer. It needs child run tracking.RuntimeError.timeout='inherit'is resolved when the start request goes out, so the child does not get the time that the call spent waiting.Closes: #1138
✍️ Drafted by Claude Code