Temporal · Improve

Improve Temporal Workflows

Implement one selected, evidence-backed Temporal Workflows improvement at the authoritative owner. Complete the directly affected contract without broad cleanup or redesign.

Vibe Coding 1.3.0 · vibe-temporal · English technical instructions

← Back to search

Use this workflow

Use this workflow in Codex or Claude Code with the free Vibe Coding plugin. Choose your assistant and prompt language, then add your task details after the prompt.

Operation

Implement the requested coherent change at the owning source and update directly affected consumers. An earlier audit is optional when the user and repository already establish the target. Validate the changed behavior, then stop when the requested scope is complete.

Goal

Implement one selected, evidence-backed Temporal Workflows improvement at the authoritative owner. Complete the directly affected contract without broad cleanup or redesign.

Domain rules

  • Keep Workflow code deterministic and move external I/O/side effects into Activities with stable idempotency keys.
  • Use explicit timeout/retry/heartbeat/cancellation settings per Activity behavior; do not use retries for permanent business rejection.
  • Introduce compatible workflow changes with the repository's supported patching or worker-versioning pattern and retain old branches until histories are safe.
  • Bound history with Continue-As-New while transferring only durable workflow state and accounting for pending signals/updates.
  • Deploy task-queue/build changes in a staged sequence with replay evidence and an explicit rollback/forward-fix policy.

Validation

  • Run workflow unit tests with deterministic time and Activity mocks only for logic, plus integration tests for worker/task-queue behavior.
  • Replay representative captured histories, including old versions and edge cases, against candidate workflow code.
  • Exercise Activity timeout/heartbeat/cancel/retry, worker loss, signal/update concurrency, Continue-As-New, and mixed-version deployment where feasible.

Workflow ID: temporal-workflows-polish · View the versioned source · Shared workflow and authority rules