Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion references/java/integrations/spring-ai.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ Media image = new Media(MimeTypeUtils.IMAGE_PNG, URI.create("https://cdn.example

For anything larger than a small thumbnail, route the bytes to a binary store from an Activity and pass only the URL across the conversation.


## Vector stores, embeddings, and MCP

When the corresponding Spring AI modules (`spring-ai-rag`, `spring-ai-mcp`) are on the classpath, the integration registers Activities for vector stores, embeddings, and MCP tool calls automatically. Inject the matching Spring AI types into your Activities or Workflows and use them as you would in any Spring AI application — each operation executes through a Temporal Activity.
Expand Down
32 changes: 32 additions & 0 deletions references/typescript/versioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,38 @@ const worker = await Worker.create({
- `useWorkerVersioning`: Enables Worker Versioning
- `version.deploymentName`: Logical name for your service (consistent across versions)
- `version.buildId`: Unique identifier for this build
- `defaultVersioningBehavior` *(optional)*: per-Worker default if a Workflow type has no `versioningBehavior` annotation. If unset, every Workflow type must declare its own behavior.

### Build ID reporting without enabling Worker Versioning

The TypeScript `workerDeploymentOptions` shape lets you supply a `version` (with `deploymentName` and `buildId`) without setting `useWorkerVersioning: true` and without `defaultVersioningBehavior`. In that configuration, the Worker still reports its Build ID and deployment name to the Temporal Server when it polls — so the Worker Deployment Version becomes visible in describe output — but the Worker does **not** participate in Worker Versioning routing or Workflow pinning.

```typescript
const worker = await Worker.create({
workflowsPath: require.resolve('./workflows'),
taskQueue: 'my-queue',
workerDeploymentOptions: {
version: {
deploymentName: 'order-service',
buildId: '1.0.0',
},
// useWorkerVersioning omitted: no pinning, no routing.
// defaultVersioningBehavior omitted: no per-Worker default required.
},
});
```

**When to use this configuration:**

- You want the Worker's Build ID and deployment name to appear in Temporal Server visibility (e.g., `temporal worker deployment describe-version`) without committing to versioned routing yet.
- You are staging a rollout toward full Worker Versioning and want to first verify Build IDs surface correctly.

**When NOT to use this configuration:**

- You need Workflow Pinning or Auto-Upgrade behavior — that requires `useWorkerVersioning: true`.
- You are running on Serverless Workers — Worker Deployment Versioning is always enabled, and each Workflow must declare a versioning behavior.

**Do not use the legacy top-level `buildId` / `useVersioning` fields.** Those are the deprecated pre-2025 Worker Versioning API and will be removed from Temporal Server in March 2026; use `workerDeploymentOptions` instead.

### Deployment Workflow

Expand Down