Skip to content

Nexus support for Python worker [wip]#296

Draft
stephanos wants to merge 1 commit intomainfrom
nexus-python
Draft

Nexus support for Python worker [wip]#296
stephanos wants to merge 1 commit intomainfrom
nexus-python

Conversation

@stephanos
Copy link
Collaborator

@stephanos stephanos commented Mar 10, 2026

What was changed

Adds Nexus operations to the Python worker.

Why?

Parity with Go Worker.

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

@stephanos stephanos requested review from a team as code owners March 10, 2026 18:47
@stephanos stephanos force-pushed the nexus-python branch 5 times, most recently from dea63fd to c8d1761 Compare March 10, 2026 20:13

scenarioInfo := ScenarioInfo{
ScenarioName: "kitchenSinkTest",
RunID: fmt.Sprintf("%s-%d", strings.ReplaceAll(t.Name(), "/", "-"), time.Now().Unix()),
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Moved up here; and applying sanitization to ensure compatibility with nexus validation.

@stephanos stephanos force-pushed the nexus-python branch 4 times, most recently from 83bb817 to 5487a0d Compare March 10, 2026 22:28
Workflow.upsertMemo(memo);
} else if (action.hasNexusOperation()) {
throw Workflow.wrap(new IllegalArgumentException("ExecuteNexusOperation is not supported"));
throw ApplicationFailure.newNonRetryableFailure("ExecuteNexusOperation is not supported", "");
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Needed to make new tests pass.

@stephanos stephanos marked this pull request as draft March 11, 2026 00:30
@stephanos stephanos changed the title Add Nexus support to Python worker Add Nexus support to Python worker [wip] Mar 11, 2026
@stephanos stephanos changed the title Add Nexus support to Python worker [wip] Nexus support to Python worker [wip] Mar 11, 2026
@stephanos stephanos changed the title Nexus support to Python worker [wip] Nexus support for Python worker [wip] Mar 11, 2026
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