Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… (or not) This adds a hook point to the matching service once it has matched a task or decided to spool it. This can be leveraged to react to task sync or no-sync match events, while keeping matching service decoupled from the event handling logic.
* origin/main: CHASM: improve support for implementing Terminate method (#9351) Add testhooks package documentation (#9373) Improve re-usability of ringpop membership & PerNamespaceWorker (#9321) Fairness counter: fix heap bug in map counter (#9370) Avoid finalGC when ack level is zero (#9371) Fairness counter: persist top K keys (#9188) Flake Fix: In Reactivation Cache tests, wait for appropriate delays when confirming expected drainage status (#9352) Include transient and speculative WFT events in GetWorkflowExecutionHistoryResponse (#9325) Fix flaky test TestTransitionDuringTransientTask (#9356) Add per-workflow scheduler for history task processing (#9141) Populate currentAttemptScheduledTime on PollActivityTaskQueueResponse for standalone activities (#9333) Standalone activity heartbeating bug fix (#9354) Revert "Last part of making Nexus work OOTB" (#9343) Convert flake report from Python to Go (#9334) Do not enforce payload limits for system nexus endpoint (#9344)
- **Point go.temporal.io/api to serverless branch of api-go** - **Add CreateWorkerDeployment API** ## What changed? New API added for explicitly creating a worker deployment. also supports passing Compute Config ## Why? Needed for serverless workers. ## How did you test it? - [ ] built - [ ] run locally and tested manually - [ ] covered by existing tests - [ ] added new unit test(s) - [x] added new functional test(s) ## Potential risks None
# Conflicts: # go.mod # go.sum # service/frontend/workflow_handler.go # service/worker/workerdeployment/version_workflow_test.go # service/worker/workerdeployment/workflow_test.go
… status (#9651) ## Summary - Add `CreateWorkerDeploymentVersion` frontend API that explicitly creates a version in an existing deployment with optional compute config and scaling group validation - Add `WORKER_DEPLOYMENT_VERSION_STATUS_CREATED` status for explicitly created versions that transitions to `INACTIVE` once a poller registers a task queue - Validate scaling groups in compute config have no overlapping task queue types (extracted as reusable `ValidateWorkerDeploymentVersionComputeConfig` in `util.go`) - Pass compute config through the full flow: frontend → client → deployment workflow → activity → version workflow initial state ## Test plan - [x] Unit tests for `CreateWorkerDeploymentVersion` success, idempotency, and rejection cases in `workflow_test.go` - [x] Functional tests for success, idempotency, already-exists, deployment-not-found, invalid args, auto-created conflict, multiple versions, and task queue registration in `worker_deployment_version_test.go` - [x] Functional tests for invalid/valid scaling group configurations - [x] Functional test verifying CREATED → INACTIVE status transition on poll - [x] Compute config round-trip verified via `DescribeWorkerDeploymentVersion`
## What changed? Enable the integration between matching service and the worker controller by registering a matching service hook. ## Why? So the worker controller can auto-scale based on matching performance ## How did you test it? - [X] built - [X] run locally and tested manually - [X] covered by existing tests - [ ] added new unit test(s) - [ ] added new functional test(s)
## What changed? Implement UpdateWorkerDeploymentVersionComputeConfig ## Why? For server-scaled workers ## How did you test it? - [ ] built - [ ] run locally and tested manually - [ ] covered by existing tests - [x] added new unit test(s) - [x] added new functional test(s) ## Potential risks None
## What changed? - Implement ValidateWorkerDeploymentVersionComputeConfig. - Implement `last_modifier_identity` for Version - Refactor the workflows/activities to send incremental compute config to WCI ## Why? Needed for server-scaled workers ## How did you test it? - [x] built - [ ] run locally and tested manually - [ ] covered by existing tests - [x] added new unit test(s) - [x] added new functional test(s) ## Potential risks None
# Conflicts: # api/deployment/v1/message.pb.go # go.mod # go.sum # proto/internal/temporal/server/api/deployment/v1/message.proto # service/worker/workerdeployment/client.go # tests/worker_deployment_version_test.go
02strich
approved these changes
Apr 2, 2026
rkannan82
approved these changes
Apr 2, 2026
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.
This PR merges the serverless feature branch into main.
Individual PRs included in this branch: