fix(dspy): track completed None results in ParallelExecutor - #10142
Merged
Conversation
Co-authored-by: Isaac Miller <isaacbmiller@users.noreply.github.com> Amp-Thread-ID: https://ampcode.com/threads/T-019fcd6b-0068-752e-b9ce-2fd40b7f061b Co-authored-by: Isaac Miller <isaac@cmpnd.ai>
Contributor
Greptile SummaryThis update makes A focused executable check exercised serial and threaded execution, straggler resubmission, and comparison-result handling. The updated code reports completed Confidence Score: 5/5
What T-Rex did
Reviews (1): Last reviewed commit: "fix(dspy): track completed None results ..." | Re-trigger Greptile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compile
6728
d 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
Ports the completed-result tracking portion of dbreunig#4 as an independent upstream change.
NoneresultsNone-returning tasks as completed in sequential and threaded progressNoneslots from being accepted again after straggler resubmissionNoneThe original PR’s SIGINT-handler change is intentionally excluded because guarding with
callable()does not define correct behavior forSIG_DFLversusSIG_IGN.Original implementation authored by @dbreunig, with a progress-accounting regression assertion added during upstream review.
Test plan
pytest tests/utils/test_parallelizer.py -q(14 passed)git diff --checkLint note
A local whole-file Ruff run found two pre-existing RUF043 findings in
test_parallelizer.pylines 62 and 147; this PR does not modify those assertions.