Skip to content

Decode CHASM ComponentRef in legacy callback router#10194

Closed
stephanos wants to merge 1 commit intomainfrom
stephanos/sano-hsm-token-compat
Closed

Decode CHASM ComponentRef in legacy callback router#10194
stephanos wants to merge 1 commit intomainfrom
stephanos/sano-hsm-token-compat

Conversation

@stephanos
Copy link
Copy Markdown
Contributor

@stephanos stephanos commented May 7, 2026

What changed?

Use ComponentRef in HSM's system callback request handler, if available and namespaceID is empty.

Why?

Forward-compatibility; once clusters have upgraded to a version with this change, the next OSS release can stop dual-populating the CHASM token with HSM fields.

However; history.enableChasmCallbacks is likely the default in the next OSS version - so maybe this is not needed?

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)

}
namespaceID = ref.GetNamespaceId()
businessID = ref.GetBusinessId()
}
Copy link
Copy Markdown
Contributor Author

@stephanos stephanos May 7, 2026

Choose a reason for hiding this comment

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

^ identical to temporal/chasm/lib/callback/request.go

@stephanos stephanos force-pushed the stephanos/sano-hsm-token-compat branch 2 times, most recently from 13cf5cd to c5be4aa Compare May 7, 2026 21:03
@stephanos stephanos changed the title [SANO] Decode CHASM ComponentRef in legacy callback router Decode CHASM ComponentRef in legacy callback router May 7, 2026
@stephanos stephanos force-pushed the stephanos/sano-hsm-token-compat branch from c5be4aa to 90767c1 Compare May 7, 2026 21:23
@stephanos stephanos marked this pull request as ready for review May 7, 2026 21:39
@stephanos stephanos requested review from a team as code owners May 7, 2026 21:39
@stephanos stephanos requested a review from S15 May 7, 2026 21:41
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