Skip to content

refactor: migrate Temporal search attributes with compatibility tests - #834

Draft
flemzord wants to merge 7 commits into
mainfrom
chore/temporal-typed-search-attributes
Draft

flemzord wants to merge 7 commits into
mainfrom
chore/temporal-typed-search-attributes

Conversation

@flemzord

Copy link
Copy Markdown
Member

Move the Temporal typed search-attribute migration out of the security-only PR #833. This draft is stacked on #833 so its diff contains only the Temporal migration and tests; retarget to main after #833 merges.

Migrate 40 SDK option sites to typed Keyword attributes. Preserve existing names/string values, legacy activity DTOs/readers, and connector GetVersion call points/counts. Retain the single dynamic outer schedule SearchAttributes field with the explicitly approved, documented local staticcheck exception to preserve historical non-string payload behavior.

Add serialization, legacy DTO, version-gate, child-workflow, reader, and schedule error-handling tests. Formatting and diff checks passed. Independent source review of the migration found no concrete defect; tests have not been executed locally under the resource hold.

Required before merge: hosted tests, registered Keyword type compatibility, and real pre-migration history replay covering DefaultVersion/version-1 connector behavior, bootstrap/periodic children, legacy RunNextTasks, Stack-only children, and schedule activity inputs. Historical replay remains UNVALIDATED. Typed serialization adds type metadata; complete wire equality is not claimed. No production histories or admin state were fetched.

No Go minor upgrade, merge, deployment, or release is requested in this PR.

@NumaryBot NumaryBot added risk: medium NumaryBot classified this pull request as medium risk. bot-reviewed NumaryBot completed its review workflow for the current head. draft-reviewed NumaryBot reviewed this draft, but published no readiness signal. labels Oct 21, 2026
Base automatically changed from chore/patched-go-toolchain to main October 22, 2026 07:41

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot-reviewed NumaryBot completed its review workflow for the current head. draft-reviewed NumaryBot reviewed this draft, but published no readiness signal. risk: medium NumaryBot classified this pull request as medium risk.

Development

Successfully merging this pull request may close these issues.

2 participants