Repository navigation
temporal: Add Workflow Updates and Update-With-Start - #8
Draft
kstewartfigma wants to merge 5 commits into
Draft
kstewartfigma wants to merge 5 commits into
kstewartfigma wants to merge 5 commits into
Conversation
kstewartfigma
changed the base branch from
kstewart/ruby-start-use-existing
to
master
November 18, 2026 00:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds Workflow Updates and atomic Update-With-Start to Figma's temporal-ruby fork. A caller can start or select a workflow, submit a validated operation, and receive its durable result. For example, a billing coordinator can process a cancel-invoice request against the existing account workflow and return the result to its caller.
Follow-up to merged #6 and #7, based on master. This is the implementation for APP-1298; service rollout remains separate.
Changes
make protoruns the ordered backports.Temporal::Testing.local!rejects the unsupported Update APIs.Test Plan
November 17 validation on Ruby 3.4.12, including the merged conflict-policy and retry-delay prerequisites:
make prototwice reproduces the checked-in bindings exactly, including a separatePROTO_OUTdirectory. Fixed the Update backport's output-directory handling.Scoped first-party parity comparison: client Update lifecycle tests, validator restrictions, and atomic start/update arguments and result conversion are covered by the fork's client and live tests. This does not claim first-party API parity: typed payload hints and WithStartWorkflowOperation classes are not implemented.
Limits: no production deployment, mixed-version rollout, process-kill/failover, or live transport fault injection. Worker restart tests reconstruct workers within one process. Servers other than 1.32 and arbitrary Ruby validator state mutations/I/O are not validated or sandboxed. The first-party suite was inspected, not run. The local macOS protoc plugin was killed by signal 9; Linux protobuf regeneration is the passing verification result.