Skip to content

runtime: stop implicit SessionID search attribute injection#99

Merged
raphael merged 1 commit intomainfrom
runtime/remove-implicit-sessionid-search-attr
Mar 15, 2026
Merged

runtime: stop implicit SessionID search attribute injection#99
raphael merged 1 commit intomainfrom
runtime/remove-implicit-sessionid-search-attr

Conversation

@raphael
Copy link
Member

@raphael raphael commented Mar 15, 2026

Summary

  • stop the runtime from auto-injecting SessionID into Temporal workflow search attributes for sessionful runs
  • keep strict session contracts by still rejecting mismatched caller-supplied SessionID values and any SessionID on one-shot runs
  • update runtime tests and docs to make workflow search attributes explicitly caller-owned

Test plan

  • go test ./runtime/agent/runtime
  • make test
  • make lint

Keep sessionful runs strict in the runtime while making Temporal search attributes caller-owned again. This avoids turning SessionID into an undeclared namespace schema requirement and keeps one-shot runs explicitly sessionless.
@raphael raphael merged commit 9f15d11 into main Mar 15, 2026
2 checks passed
@raphael raphael deleted the runtime/remove-implicit-sessionid-search-attr branch March 15, 2026 02:28
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