Skip to content

test: add functional coverage for a batch operation over many workflows#10661

Draft
prathyushpv wants to merge 1 commit into
mainfrom
ppv/batch-functional-test
Draft

test: add functional coverage for a batch operation over many workflows#10661
prathyushpv wants to merge 1 commit into
mainfrom
ppv/batch-functional-test

Conversation

@prathyushpv

Copy link
Copy Markdown
Contributor

What changed?

Adds a functional test that starts a batch of workflows and terminates them all with a single batch operation, asserting every targeted workflow is processed.

Why?

There was no end-to-end coverage driving StartBatchOperation over many workflows through the batcher worker — visibility paging, the worker pool, and per-task completion. This guards that path against regressions.

How did you test it?

  • built
  • added new functional test (TestBatchOperationScaleTestSuite/TestBatchTerminate_ManyWorkflows) — passes locally (~2s, sqlite-backed test server)

Potential risks

Test-only change.

Starts a batch of workflows and terminates them all with a single batch
operation, exercising the StartBatchOperation -> batcher worker path
(visibility paging, the worker pool, and per-task completion) end to end.
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