TECHNOLOGY

Temporal pinned workflows need workers on their assigned version

In this article
THE QUICK TAKE

Plan worker availability per version that still serves pinned workflows, and distinguish version routing from replay compatibility and total fleet size.

Identify the version serving the stalled workflow

A new worker release is healthy, but an older agent workflow stops making progress after its previous workers are removed. The Worker Versioning guide distinguishes a deployment’s versions through deployment name and Build ID. A pinned workflow completes on a specific version. A healthy worker of another version therefore need not be eligible to execute that workflow’s tasks.

Distinguish pinned and auto-upgrade behavior

Pinned workflows remain with their assigned version, while auto-upgrade workflows move according to the deployment’s current routing. Auto-upgrade code still needs replay compatibility. The Workflow Definition guide explains why changing deterministic command sequences can break existing history. Choosing a newer routing target is therefore separate from proving the new code can safely replay a running execution.

Keep capacity on versions that still serve work

The worker best-practices guide frames availability per version, including older versions with open pinned workflows. Counting the total fleet can conceal a stranded population: many new workers do not compensate for no eligible old worker. Inventory which versions retain open work and which workers poll for them before removing capacity. Keep availability and throughput as separate questions; an eligible process can still be overloaded.

Interpret draining status as a lifecycle signal

The versioning guide describes a version becoming Draining after it stops being current or ramping while pinned workflows remain. That is a reason to inspect remaining work, rather than proof the version is unused. Drained indicates the pinned population has closed, with documented qualifications for later queries of retained workflows. Review the actual remaining operations and deployment contract before treating a status label alone as permission to delete runtime support.

Verify a rollout with representative existing work

Use a harmless workflow started on the old version and another started through the intended new routing. Observe eligible workers, replay outcomes and completion. Task budgets help track waiting and resource use; tool observations identify the version that actually handled a task. A successful rollout demonstrates both new execution behavior and continued service for the population that intentionally remained pinned.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles