Skip to content

Add signal-with-start serialization context metadata - #73

Merged
tconley1428 merged 8 commits into
mainfrom
fix-signal-with-start-serialization-context
Jul 31, 2026
Merged

Add signal-with-start serialization context metadata#73
tconley1428 merged 8 commits into
mainfrom
fix-signal-with-start-serialization-context

Conversation

@tconley1428

@tconley1428 tconley1428 commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add a WIT serialization-context directive for signal-with-start
  • generate per-operation serialization-context factories in the Python operation registry
  • generate Python proto-backed models as TransferType-convertible values for the local SDK model

Why

Signal-with-start envelopes contain payloads destined for the target workflow. The SDK needs generated metadata that derives the target workflow serialization context from the typed request, instead of using the context-free Nexus default.

SDK integration

Consumed by temporalio/sdk-python#1672, which applies this metadata only while scheduling Temporal system-Nexus operations.

Validation

  • regenerated the Python workflow-service example
  • basedpyright against the local SDK branch: 0 errors, 0 warnings

@tconley1428
tconley1428 force-pushed the fix-signal-with-start-serialization-context branch 3 times, most recently from 4a96d37 to 9f38543 Compare July 30, 2026 17:06
@tconley1428
tconley1428 marked this pull request as ready for review July 30, 2026 17:07
@tconley1428
tconley1428 requested a review from a team as a code owner July 30, 2026 17:07
@tconley1428
tconley1428 force-pushed the fix-signal-with-start-serialization-context branch from 45dba95 to 1391d28 Compare July 31, 2026 17:53
Comment thread advanced/samples/inputs/workflow-service.wit
Comment thread advanced/samples/inputs/start-workflow.wit
Comment thread advanced/samples/python/json_schema/api/chat/__init__.py
Comment thread GUIDE.md Outdated
@tconley1428
tconley1428 merged commit e73905b into main Jul 31, 2026
4 checks passed
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.

2 participants