Skip to content

Removes eager creation of Outcome from SANO#10153

Merged
S15 merged 4 commits intotemporalio:mainfrom
S15:eager-outcome
May 4, 2026
Merged

Removes eager creation of Outcome from SANO#10153
S15 merged 4 commits intotemporalio:mainfrom
S15:eager-outcome

Conversation

@S15
Copy link
Copy Markdown
Contributor

@S15 S15 commented May 1, 2026

What changed?

Removes eager creation of the outcome for standalone nexus operations.

Why?

The eager creation leaves an Outcome around without a variant. This means if the SANO fails, in some circumstances, we'll look up the empty outcome for our result. This does correctly return LastAttemptFailure, but it also trips a softassert.

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)

@S15 S15 requested a review from stephanos May 1, 2026 19:57
@S15 S15 marked this pull request as ready for review May 1, 2026 20:01
@S15 S15 requested review from a team as code owners May 1, 2026 20:01
@S15 S15 marked this pull request as draft May 1, 2026 20:05
@S15 S15 marked this pull request as ready for review May 1, 2026 20:55
@S15 S15 requested review from a team as code owners May 1, 2026 20:55
Copy link
Copy Markdown
Contributor

@stephanos stephanos left a comment

Choose a reason for hiding this comment

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

let's revert the tests/nexus_standalone_test.go change again and fix the softassert issue separately

@S15 S15 enabled auto-merge (squash) May 4, 2026 16:32
@S15 S15 merged commit 285606a into temporalio:main May 4, 2026
47 checks passed
@S15 S15 deleted the eager-outcome branch May 4, 2026 16:58
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