Skip to content

[Draft] Add support for standalone callbacks#10192

Draft
chrsmith wants to merge 1 commit intomainfrom
chrsmith/standalone-callbacks_ii
Draft

[Draft] Add support for standalone callbacks#10192
chrsmith wants to merge 1 commit intomainfrom
chrsmith/standalone-callbacks_ii

Conversation

@chrsmith
Copy link
Copy Markdown
Contributor

@chrsmith chrsmith commented May 7, 2026

ℹ️ This PR is a rebase and cleanup from an earlier prototype, #9805.

⚠️ This is dependent on changes in the api and api-go repos. And will need some care before merging.

What changed?

Adds support for "standalone" callbacks. Today, the CHASM Callback component is used to deliver an arbitrary payload to a URL. (e.g. when a Workflow has completed.) As part of supplying the Nexus Connector Foundations, this feature adds CRUD operations on callbacks directly. So callers can invoke StartCallbackExecution(...) and get the durability guarantees to ensure that the callback actually gets invoked.

Why?

The primary (only?) use-case for this is for completing Nexus operations. With this capability, a Handler can implement a Nexus operation outside of Temporal. And when that operation completes, simply call StartCallbackExecution(...) with the right callback URL and Token. Then the CHASM Callback machinery will attempt to deliver the result for the Nexus operation. (Rather than, say, the Nexus operation to be implemented as a Workflow that is separately polling the async or out-of-band process.)

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)

Potential risks

TBD. Will need to ask around.

@chrsmith chrsmith force-pushed the chrsmith/standalone-callbacks_ii branch 2 times, most recently from 0d3b36b to ad9f7cb Compare May 7, 2026 21:21
@chrsmith chrsmith changed the title [Draft] Standalone Callbacks - II [Draft] Add support for standalone callbacks May 7, 2026
@stephanos stephanos self-requested a review May 7, 2026 21:37
@chrsmith chrsmith requested a review from Quinn-With-Two-Ns May 7, 2026 21:40
@chrsmith chrsmith force-pushed the chrsmith/standalone-callbacks_ii branch from edb387a to 40f2f7e Compare May 7, 2026 22:01
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