Skip to content

parity: Add completion reason inference#78

Merged
1 commit merged intomainfrom
batch-completion-assumption
Oct 22, 2025
Merged

parity: Add completion reason inference#78
1 commit merged intomainfrom
batch-completion-assumption

Conversation

@ghost
Copy link

@ghost ghost commented Oct 21, 2025

  • Adds completion reason inference based on the rules outlined in the typescript implementation / spec.

  • When all items are completed/failed, we assume ALL_COMPLETED

  • When we breach min successful, we assume MIN_SUCCESSFUL_REACHED

  • We assume we've failed completion due to errors

fixes: #36
closes: #71 as duplicate. Duplicating as #71 as source my fork, and CI breaks.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

- Adds completion reason inference based on the rules outlined in the
  typescript implementation / spec.

fixes: #36
@ghost ghost force-pushed the batch-completion-assumption branch 2 times, most recently from ca2dbb7 to fc0992a Compare October 21, 2025 23:44
@ghost ghost merged commit be50716 into main Oct 22, 2025
10 of 15 checks passed
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BatchResult CompletionReason Default Assumption

2 participants