Skip to content

DLQ CHASM pure task if valid after execution, add unit test verifications to test framework#10502

Open
awln-temporal wants to merge 3 commits into
mainfrom
awln/chasm-pure-task-invalidates
Open

DLQ CHASM pure task if valid after execution, add unit test verifications to test framework#10502
awln-temporal wants to merge 3 commits into
mainfrom
awln/chasm-pure-task-invalidates

Conversation

@awln-temporal
Copy link
Copy Markdown
Contributor

What changed?

If pure task is still valid after execution, we throw a new task error and move the task to DLQ to avoid stuck executions. Also adds unit test verifications to the framework.

Why?

Task Validation checks if a task should be executed by running a Predicate on the component state. Pure tasks should not be valid after execution, but as of now, there is no such verifications in place to prevent a task from remaining valid after execution, leading to stuck executions. The logical task remains in the CHASM tree, and no other physical task is generated.

How did you test it?

  • built
  • run locally and tested manually
  • covered by existing tests
  • added new unit test(s)
  • added new functional test(s)

@awln-temporal awln-temporal requested review from a team as code owners June 3, 2026 16:31
@awln-temporal awln-temporal requested a review from a team as a code owner June 5, 2026 19:30
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.

1 participant