Skip to content

fix: poll on all terminal states for AgentforceStudioTester @W-22143479@ @W-22143478@#277

Merged
andresrivas-sf merged 2 commits into
mainfrom
wr/ngt
May 7, 2026
Merged

fix: poll on all terminal states for AgentforceStudioTester @W-22143479@ @W-22143478@#277
andresrivas-sf merged 2 commits into
mainfrom
wr/ngt

Conversation

@WillieRuemmele
Copy link
Copy Markdown
Member

What does this PR do?

Fixes AgentforceStudioTester.poll() to complete on all terminal states (SUCCESS, FAILED, TERMINATED) instead of only SUCCESS.

Previously, a test run that ended in FAILED or TERMINATED would never resolve the poller, causing it to spin until the client timeout fired — resulting in the caller receiving no results.

What issues does this PR fix or reference?

@W-22143479@ @W-22143478@

Copy link
Copy Markdown
Contributor

@andresrivas-sf andresrivas-sf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@andresrivas-sf andresrivas-sf merged commit 2ba8d03 into main May 7, 2026
15 checks passed
@andresrivas-sf andresrivas-sf deleted the wr/ngt branch May 7, 2026 17:08
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