Skip to content

Conversation

@bchav
Copy link

@bchav bchav commented Jan 28, 2026

Summary

  • Add Go code sample for "upgrade on continue-as-new" pattern
  • Snippet ID: upgrade-on-continue-as-new-go
  • Will be synced to worker-versioning docs via snipsync

Context

The worker-versioning docs (PR temporalio/documentation#4148) need a snipsync-integrated code sample for the "Upgrading on Continue-as-New" section. This snippet demonstrates how pinned Workflows can detect new Worker Deployment Versions and upgrade at Continue-as-New boundaries.

Source

Based on: temporalio/sdk-go@f431242

Files Added

  • features/deployment_versioning/upgrade_on_continue_as_new/feature.go - Go snippet with snipsync markers
  • features/deployment_versioning/upgrade_on_continue_as_new/README.md - Description

Usage in Docs

<!--SNIPSTART upgrade-on-continue-as-new-go-->
<!--SNIPEND-->

Generated with Claude Code

Add Go code sample demonstrating how pinned Workflows can upgrade to new
Worker Deployment Versions at Continue-as-New boundaries. This snippet
will be synced to the worker-versioning docs via snipsync.

Source: temporalio/sdk-go@f4312424

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@bchav bchav requested a review from a team as a code owner January 28, 2026 20:12
@CLAassistant
Copy link

CLAassistant commented Jan 28, 2026

CLA assistant check
All committers have signed the CLA.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Member

@cretz cretz Jan 28, 2026

Choose a reason for hiding this comment

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

The features repo is for asserting conformance across languages. It's basically a test suite. There is no assertion aspect or even use of this workflow. I wonder if samples-go would fit what you're wanting a bit more.

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.

4 participants