Skip to content

parity: resolve impossible-to-succeed TODO #80

Merged
1 commit merged intobatch-completion-assumptionfrom
impossible-to-complete-create-result
Oct 22, 2025
Merged

parity: resolve impossible-to-succeed TODO #80
1 commit merged intobatch-completion-assumptionfrom
impossible-to-complete-create-result

Conversation

@ghost
Copy link

@ghost ghost commented Oct 21, 2025

  • Remove impossible-to-succeed early termination logic and match TypeScript implementation
  • Refactor ExecutionCounters with separate should_continue() and is_complete() methods mimicking the typescript implementation.
  • Add documentation explaining TypeScript parity decisions
  • Update completion logic to properly handle ALL_COMPLETED with failures when all tasks finish

Resolves TODO at line 416 by implementing TypeScript-compatible completion behavior where operations continue until normal completion criteria are met rather than terminating early on impossible-to-succeed conditions.

Issue #, if available: part of #37

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

- Remove impossible-to-succeed early termination logic and match TypeScript implementation
- Refactor ExecutionCounters with separate should_continue() and is_complete() methods
  mimicking the typescript implementation.
- Add documentation explaining TypeScript parity decisions
- Update completion logic to properly handle ALL_COMPLETED with failures when all tasks finish

Resolves TODO at line 416 by implementing TypeScript-compatible completion behavior
where operations continue until normal completion criteria are met rather than
terminating early on impossible-to-succeed conditions.
@ghost ghost merged commit bcbee4e into batch-completion-assumption Oct 22, 2025
1 check passed
@ghost ghost deleted the impossible-to-complete-create-result branch October 22, 2025 12:39
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.

2 participants