Skip to content

Backport #4757: fix(world-postgres): store timestamps as timestamp with time zone - #4892

Open
github-actions[bot] wants to merge 1 commit into
stablefrom
backport/pr-4757-to-stable
Open

github-actions[bot] wants to merge 1 commit into
stablefrom
backport/pr-4757-to-stable

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated backport of #4757 to stable (backport job run).

AI recommendation: This is a correctness fix for a bug that also exists on stable: I verified packages/world-postgres/src/drizzle/schema.ts on origin/stable still declares every column with the naive timestamp(...), so non-UTC servers return createdAt values off by the UTC offset, which skews the deterministic workflow clock and retry backoffs. The change is a patch changeset confined to the world-postgres schema, a new migration, tests, and docs/README corrections, with no new feature surface. Note that the migration must be renumbered for stable's journal (which ends well before 0027) and the docs/content/worlds/ path does not exist on stable, so that hunk should be dropped during the cherry-pick.

Merge conflicts were resolved by AI (opencode with anthropic/claude-opus-5). Please review the conflict resolution carefully before merging.

)

`@workflow/world-postgres` stores every timestamp column except
`hooks.token_retention_until` as `timestamp without time zone`. On a
Postgres server (or session) that is not in UTC, every `createdAt` the
World returns is off by the UTC offset. This PR moves all timestamp
columns to `timestamp with time zone`, with migration `0027` converting
existing databases and repairing the values that were stored wrong.

- `created_at` comes from `DEFAULT now()`, which Postgres casts to the
session's local wall time for a naive column. drizzle reads naive
columns back as UTC (`new Date(value + "+0000")`).
- JS-written columns (`started_at`, `completed_at`, `retry_after`, ...)
go in as ISO strings whose `Z` Postgres ignores, so they hold UTC wall
time and read back correctly.
- Result, with the server in `America/Los_Angeles`: every run's and
step's `createdAt` is 7 h **before** its `startedAt`. `Asia/Kolkata`:
5.5 h in the future. A pool with `-c TimeZone=Asia/Tokyo` on a UTC
server: 9 h in the future.
- It is more than cosmetic: `event.createdAt` drives the deterministic
workflow clock (`advanceClock(+event.createdAt)` in both runtimes), so
`Date.now()` inside workflow code stays pinned at run start for hours on
UTC-negative servers and jumps ahead on UTC-positive ones.

Found while building a durable agent harness on top of Workflow whose CI
checks what `workflow inspect` shows for runs on each World: on
world-postgres 5.0.2 with the database in `America/Los_Angeles`,
`createdAt` was 7 h before `startedAt` for every run and step, and
correct with the server in UTC. Present on `main`; no existing issue or
PR covers it.

- **`src/drizzle/schema.ts`**: every timestamp column is `timestamp with
time zone`, via a small `timestamptz` custom type with a comment on why.
No storage code changes: ISO `Z` strings and `now()` both land as the
right instant. TS types stay `Date`. The reader parses Postgres'
offset-suffixed output as is, and reads a value with no offset (only an
unconverted column prints one) as UTC, as earlier versions did;
drizzle's own `withTimezone` reader would parse it in the Node process's
local zone.
- **Migration `0027_timestamps_with_time_zone.sql`** (one `DO` block;
restores the session TimeZone it changes):
1. Sets the session to UTC and converts the 21 columns with no `USING`
clause. Postgres 12+ skips the table rewrite for `timestamp` ->
`timestamptz` when TimeZone is UTC, and stored values are taken as UTC,
which is already right for every JS-written column.
2. If the zone the defaults were written in is not a UTC alias, moves
values that only ever came from `now()` from that zone's wall time to
the instant they recorded: `created_at` on runs, events, steps, hooks,
waits, invocations and stream chunks; `updated_at` on runs/steps/waits
only where `updated_at = created_at` (never updated, so both came from
the same `now()`); `invocations.responded_at`. Left alone:
`invocations.expired_at` (mixes `now()` and JS dates, only null-checked)
and `snapshots.created_at` (always written from JS).
3. The legacy zone is the migration session's TimeZone, overridable with
`workflow.legacy_timezone` (e.g.
`?options=-c%20workflow.legacy_timezone%3DEurope%2FBerlin`) for apps
whose pool set a different session zone than `bootstrap` uses. `ALTER
DATABASE/ROLE ... SET workflow.legacy_timezone` works too, for poolers
that drop startup `options`.
4. Runs once. The drizzle migrator takes no lock, so two `bootstrap`
processes started together both apply 0027, and unlike earlier
migrations a second application would not fail: it would move the
repaired values by the offset again. The block locks the 8 tables first
and returns without changes when `workflow_runs.created_at` is already
`timestamptz`. It waits at most 10 s for those locks (unless the session
set its own `lock_timeout`), so a long transaction fails `bootstrap`
instead of queueing every query behind it.
- **`meta/_journal.json`**: entry `idx 27`, `when` one day after main's
`0026_add_seq_in_band`.
- **Package README**: a "Timestamps and time zones" section on the
migration and the override.
- **Docs** (`docs/content/worlds/v5/postgres.mdx`): a warning callout
under Installation. The page says migrations can run as a
post-deployment script; on non-UTC servers 0027 needs the upgrade order
below.
- **Changeset**: `@workflow/world-postgres` patch.
- **Test hygiene**: the new test's pools ignore `57P01` ("terminating
connection due to administrator command"). `pool.end()` resolves before
its sockets close, so stopping the container can still hand that error
to a closing client; pg-pool re-emits it on the pool, and with no
listener vitest counts an uncaught exception and fails the job even
though every test passed. Other errors are still thrown.

- **UTC servers** (the default on Neon, Supabase, RDS and the Docker
image): catalog-only ALTER, milliseconds under ACCESS EXCLUSIVE on the 8
tables, plus a rebuild of the small `workflow_invocations_pending`
partial index. No data changes. Postgres 11 and older rewrite the tables
on the ALTER regardless (still correct, slower).
- **Non-UTC servers**: the repair UPDATE rewrites every `created_at` row
(events and stream chunks can be large) while holding those locks, once.
- **Upgrade window.** New code against an unmigrated DB reads naive
timestamps as UTC, as old code did, in any Node time zone. Old code
against a migrated DB reads correctly in a UTC session and shifted by
the session's offset in a non-UTC one. A shifted read moves more than
display: `step_started` compares `retryAfter` with `Date.now()`, so a
retry backoff can be skipped or stretched by hours. On a non-UTC server:
stop the previous version's workers, run `bootstrap`, then start the
upgraded app (the README and the new docs callout say this). For the
same reason there is no rollback past 0027 on a non-UTC server.
- **Assumed zone.** The repair assumes old rows were written in the
migration session's zone; it is wrong if the server zone changed over
time or the app's pool used another zone (hence
`workflow.legacy_timezone`). Wall times in a DST fall-back hour are
ambiguous and can land 1 h off.
- Consumers of `@workflow/world-postgres/schema` see the column SQL type
change; the TS types stay `Date`.

New `test/timezone.test.ts` (testcontainers `postgres:15-alpine`,
skipped on Windows like the other container tests; per-database time
zones are set with `ALTER DATABASE ... SET timezone`):

- **Fresh schema** with the database in `America/Los_Angeles` and
`Asia/Kolkata`, and a UTC server with a pool setting
`TimeZone=Asia/Tokyo`: drive run/step/hook/wait creation through the
storage API and assert every `createdAt`/`startedAt` (write results,
`runs.get`, `steps.get`, `hooks.get`, `events.list`) is the current
instant.
- **Schema check**: every timestamp column in `workflow` is `timestamp
with time zone` and the `created_at` defaults stay `now()`.
- **Upgrade path**: migrate to 0026 (the last naive migration, current
`main`) only, write rows the way 5.0.x did (defaults plus JS ISO
updates), run all migrations, read back through the drizzle schema. In
`America/Los_Angeles`, `created_at` and never-updated `updated_at` equal
the transaction's real `now()` (and a `created_at` from January is moved
by the standard-time offset, not today's), while JS-written
`started_at`/`updated_at`/`resume_at`/snapshot `created_at` are
unchanged. On a UTC server the same holds and `pg_relation_filenode` of
all 8 tables and their indexes is unchanged except
`workflow_invocations_pending`, whose predicate reads `responded_at` (no
table rewrite). With rows written in a `TimeZone=Asia/Tokyo` session,
`workflow.legacy_timezone=Asia/Tokyo` repairs them (without it they stay
9 h off), set either in the connection's `options` or with `ALTER
DATABASE`.
- **Runs once**: two `runMigrations` in parallel from the 0025 state
(both insert a 0027 row in the migrations table), and the 0027 SQL
executed again on a converted database, leave the repaired values where
one run put them. Without the lock-and-skip guard both fail by
25,200,000 ms.
- **Lock timeout**: with another transaction holding a lock on
`workflow_events`, `bootstrap` fails with `55P03` within the 10 s
timeout, and succeeds once that transaction ends.
- **Reader before the migration**: on an unconverted UTC database with
`process.env.TZ = 'America/Los_Angeles'`,
`retryAfter`/`startedAt`/`createdAt` read back as the instants written
(with drizzle's stock reader `retryAfter` comes back 7 h late).
- **Journal order**: every entry's `idx` matches its file number and its
`when` is later than the one before, so a duplicate `when` like this
branch's pre-merge 0026 fails CI.

Results:

- Latest head (after merging `main` at ecaa047):
`test/timezone.test.ts` 13/13 and the whole package 388/388 on
`postgres:15-alpine`; typecheck and Biome clean on changed files; `node
scripts/check-changesets.mjs` OK. Breaking the reader alone fails only
the pre-migration reader test; restoring the duplicate `when` fails the
journal test and every upgrade test.
- Earlier heads: on `main`'s schema 8 of the 9 tests fail (off by
25,200,000 ms, 19,800,000 ms and 32,400,000 ms; the UTC no-rewrite test
is a guard and passes on both). With this PR: 9/9 on
`postgres:15-alpine`, `postgres:12-alpine` and `postgres:18-alpine` (the
image the `e2e-local-postgres` job uses), and 9/9 on Homebrew PostgreSQL
14.20 after merging the latest `main`.
- After merging `main`: `storage.test.ts`, `retention.test.ts` and
`run-creation.test.ts` 185/185 on PostgreSQL 14.20; `pnpm vitest run
src` 71/71; `pnpm build` and `pnpm typecheck` clean; Biome clean on
changed files; `node scripts/check-changesets.mjs` OK.
- CI: the `Unit Tests (ubuntu-latest)` job failed twice on this branch
with 330/330 tests passing and two unhandled `57P01` errors attributed
to `test/timezone.test.ts` (the teardown race above, now handled in this
file and reproduced in isolation with `pg_terminate_backend` on an idle
pooled client). `main` currently fails the same job the same way from
`test/invoke.test.ts` (e.g. on b5c1bc8), so the job can still go red
from the older test files until they get the same listener; that is
pre-existing and not touched here. On the latest head the job failed
earlier, in `packages/core` (`fanout-dispatch.test.ts` "publishes every
queued branch ... in chunks of at most 16": a wall-clock bound, 270 ms
against `< 260`), which this PR does not touch; it needs a rerun to show
the world-postgres result.
- Earlier full-package runs (`pnpm build && pnpm test`, testcontainers):
330/330 on three runs and 329/330 on one. Each failure was a single
pre-existing timing test that passes in isolation and is unrelated to
this diff: `storage.test.ts` "should release a retained hook after its
deadline" (writes a host `Date.now() - 1` and expects the container's
`now()` to be past it, on the already-`timestamptz`
`token_retention_until`) and `invoke.test.ts` "slow fallback" (3 s
budget under parallel load).
- A scratch test (not committed) wrote rows with `main`'s storage code
on servers in `America/Los_Angeles`, `Asia/Kolkata`, `Europe/London`,
`America/St_Johns` (-02:30) and UTC, ran the migrations, then continued
the same run with the new code: every run/step/hook/wait/event timestamp
is the instant it was written, the event log's `createdAt` stays
monotonic across the upgrade, and `main`'s code reading the migrated
database from a UTC session gets the same instants.

| Page | Preview |
| --- | --- |
| Postgres World, Installation (migration 0027 callout) |
[/worlds/postgres#installation](https://workflow-docs-git-pgp-world-postgres-utc-timestamps.vercel.sh/worlds/postgres#installation)
|

1. **`timestamptz` or the keep-`timestamp` fallback?** The fallback:
keep `timestamp`, change the defaults to `timezone('utc', now())`, fix
the raw `now()` writes in `invocations.ts`, and keep the same repair
UPDATE. It stays compatible with old readers in any session zone but
leaves the trap for any future `now()` write. This PR prefers the type
change.
2. **Repair under lock.** On non-UTC servers the repair UPDATE runs
inside the migration while holding ACCESS EXCLUSIVE on the 8 tables,
about one rewrite of each table (now documented so operators can plan a
window). Acceptable for a one-time migration, or should the repair be
batched outside the lock?
3. **Changeset level.** Kept as `patch`, per AGENTS.md (`patch` for bug
fixes); the review suggested `minor` given the data-rewriting migration.

- `main` shipped its own `0026_add_seq_in_band` (#4821) with the journal
`when` this branch's 0026 had, so this migration is now **`0027`**.
Without the renumber, databases already at main's 0026 would skip the
conversion silently.
- **#4761** (`[world-postgres] Scope startup recovery to the World's
jobPrefix`) also adds `0027_add_run_job_prefix` with the same `when` as
this PR's 0027, and does not have main's 0026 yet. Whichever of the two
merges second has to take `0028` and a later `when`; the journal-order
test in this PR fails on the clash.
- #4756 and #4759 touch world-postgres without migrations and are
independent of this one.

- [x] 📦 `pnpm changeset` was run to create a changelog for this PR
- [x] 🔒 DCO sign-off passes (run `git commit --signoff` on your commits)
- [ ] 📝 Ping `@vercel/workflow` in a comment once the PR is ready, and
the above checklist is complete

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
Co-authored-by: Pranay Prakash <1797812+pranaygp@users.noreply.github.com>
Signed-off-by: Pranay Prakash <pranay.gp@gmail.com>
@changeset-bot

changeset-bot Bot commented Oct 15, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 5228a9f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@workflow/world-postgres Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercel Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
example-nextjs-workflow-turbopack Ready Ready Preview, v0 Oct 15, 2026 2:51am UTC
example-nextjs-workflow-webpack Ready Ready Preview, v0 Oct 15, 2026 2:51am UTC
example-workflow Ready Ready Preview, v0 Oct 15, 2026 2:51am UTC
workbench-astro-workflow Ready Ready Preview, v0 Oct 15, 2026 2:51am UTC
workbench-express-workflow Ready Ready Preview, v0 Oct 15, 2026 2:51am UTC
workbench-fastify-workflow Ready Ready Preview, v0 Oct 15, 2026 2:51am UTC
workbench-hono-workflow Ready Ready Preview, v0 Oct 15, 2026 2:51am UTC
workbench-nestjs-workflow Ready Ready Preview, v0 Oct 15, 2026 2:51am UTC
workbench-nitro-workflow Ready Ready Preview, v0 Oct 15, 2026 2:51am UTC
workbench-nuxt-workflow Ready Ready Preview, v0 Oct 15, 2026 2:51am UTC
workbench-python-workflow Error Error v0 Oct 15, 2026 2:51am UTC
workbench-sveltekit-workflow Ready Ready Preview, v0 Oct 15, 2026 2:51am UTC
workbench-tanstack-start-workflow Ready Ready Preview, v0 Oct 15, 2026 2:51am UTC
workbench-vite-workflow Ready Ready Preview, v0 Oct 15, 2026 2:51am UTC
workflow-docs Ready Ready Preview, v0 Oct 15, 2026 2:51am UTC
workflow-swc-playground Ready Ready Preview, v0 Oct 15, 2026 2:51am UTC
workflow-tarballs Ready Ready Preview, v0 Oct 15, 2026 2:51am UTC
workflow-web Ready Ready Preview, v0 Oct 15, 2026 2:51am UTC

@github-actions

github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor Author

🧪 E2E Test Results

❌ Some tests failed

Summary

Passed Failed Skipped Total
✅ ▲ Vercel Production 1099 0 78 1177
✅ 💻 Local Development 1198 0 86 1284
✅ 📦 Local Production 1198 0 86 1284
✅ 🐘 Local Postgres 1198 0 86 1284
✅ 🪟 Windows 107 0 0 107
❌ 🌍 Community Worlds 83 105 9 197
✅ 📋 Other 606 0 36 642
Total 5489 105 381 5975

❌ Failed Tests

🌍 Community Worlds (105 failed)

redis (20 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01M4Z3THA6AX8Z0Y876EAV146H
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01M4Z3V26P7H6FVDXDJR2N8W0H
  • sleepingWorkflow | wrun_01M4Z3VZFA1SPA8AMEKCZ2W2HY
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • error handling serialization failures step-argument serialization failure is catchable in workflow code
  • error handling serialization failures uncaught step-argument serialization failure fails the run as USER_ERROR without redelivery retries
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01M4Z43F7JVJXFMXHG1X9JBMXK
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01M4Z43SSAE9F3F9QX7YX6WDFH
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01M4Z440KPJ3P09QQB3MQTJD9S
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01M4Z44ESEYDGVV2D2887YEP6P
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01M4Z458WMKR3EW93HNRBPRVCS
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01M4Z45C5MZHYXZQXF0M3P0X7C
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01M4Z45HGQXHQ7BWFBNVN7E6EQ
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01M4Z45P8CME2HSNVWD5A1AXJY
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01M4Z45Y5XKN7EMQPQDDY7HVW6
  • pages router sleepingWorkflow via pages router
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01M4Z4AZJSRVBWPC13SE5305ZB

turso (85 failed):

  • addTenWorkflow | wrun_01M4Z3SCX40TJT144MJNPDZ6EN
  • addTenWorkflow | wrun_01M4Z3SCX40TJT144MJNPDZ6EN
  • deploymentId: 'latest' is a no-op in non-Vercel worlds
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01M4Z3SHH0SE850K381D77DP90
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01M4Z3SJPNXAB3X6YTK7DJ3PFR
  • promiseRaceWorkflow | wrun_01M4Z3SNZ2MAZGR5M28MVB9GVK
  • promiseAnyWorkflow | wrun_01M4Z3SQY69S7X2MK3FZMBFSXS
  • importedStepOnlyWorkflow | wrun_01M4Z3SWCG5WNYGCRK4FQSCCTE
  • readableStreamWorkflow | wrun_01M4Z3ST48B0HMP3N12JH117N0
  • hookWorkflow | wrun_01M4Z3T9SD0YPMX0CMYESRJ3V7
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01M4Z3THA6AX8Z0Y876EAV146H
  • webhookWorkflow | wrun_01M4Z3TNKW9WSG0YTQ41QAKTJR
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01M4Z3V26P7H6FVDXDJR2N8W0H
  • sleepingWorkflow | wrun_01M4Z3VZFA1SPA8AMEKCZ2W2HY
  • parallelSleepWorkflow | wrun_01M4Z3WEGJWZQR1EHZ2R13ASY2
  • sleepWinsRaceWorkflow | wrun_01M4Z3WJYD67CMJDCR39TJCM0K
  • stepWinsRaceWorkflow | wrun_01M4Z3WP5W05WVB46VP4ACW9KV
  • nullByteWorkflow | wrun_01M4Z3WSD38D76PEYD9YRA1FSG
  • workflowAndStepMetadataWorkflow | wrun_01M4Z3WVNRCW39QR0J2RZJE7M9
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01M4Z3Z0CFNM3K09WDH3TXGRHS
  • writableForwardedFromWorkflowWorkflow | wrun_01M4Z3ZDDT3CW7NZPMGGB5RZQ8
  • writableForwardedFromStepWorkflow | wrun_01M4Z3ZJ4WWJ0VZQ625DJC171K
  • fetchWorkflow | wrun_01M4Z3ZMGSHGT6FWCPHZRH5QWW
  • promiseRaceStressTestWorkflow | wrun_01M4Z3ZQP6AP5NAFBQY47CF9CX
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling serialization failures step-argument serialization failure is catchable in workflow code
  • error handling serialization failures uncaught step-argument serialization failure fails the run as USER_ERROR without redelivery retries
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01M4Z434PY1YNNTZ81D33DHTER
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01M4Z43F7JVJXFMXHG1X9JBMXK
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01M4Z43SSAE9F3F9QX7YX6WDFH
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01M4Z43W0FDRV38TVW93F9X0DW
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01M4Z43Y9Q5EMH9TVR4FES07TQ
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01M4Z440KPJ3P09QQB3MQTJD9S
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01M4Z44ESEYDGVV2D2887YEP6P
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01M4Z458WMKR3EW93HNRBPRVCS
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01M4Z45C5MZHYXZQXF0M3P0X7C
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01M4Z45HGQXHQ7BWFBNVN7E6EQ
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01M4Z45P8CME2HSNVWD5A1AXJY
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01M4Z45Y5XKN7EMQPQDDY7HVW6
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01M4Z464J337Y0TJF76T0GQV4P
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01M4Z46K39ZB9ZD5BQNHMAQT9G
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01M4Z46TH43DX77F0ZC3A5JYAJ
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01M4Z46Z6S7YDTV79NET63T599
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01M4Z4719DVXCYS4YBCKNNT2JB
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01M4Z47DQYQEHRCA1Q6QKC9SZF
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01M4Z47JE4RX88XV2149A2PTQV
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01M4Z47TKSKHDFE8QWWGY3XNXH
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01M4Z47Z7YPK170K7125KJCVC7
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01M4Z485BKXQHAMZFXENRRN0QQ
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01M4Z48BP5H80F64JCHKFKHSAD
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01M4Z48HM26KPNGG0BE3JZTGQ1
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01M4Z48VMBVSCTJTH32TRSJS1Q
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01M4Z492YQ57YQJ8RWTQJYR50P
  • cancelRun - cancelling a running workflow | wrun_01M4Z498ZRSXR5EANYPJ99K1VX
  • cancelRun via CLI - cancelling a running workflow | wrun_01M4Z49EQPJTGRXS0ZPGKQEQHC
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01M4Z49NF2F9ZYYNZBX5KD9JKY
  • hookWithSleepFinalStepWorkflow - step only on final payload | wrun_01M4Z4A2AP4F8S8Q02858DGFPS
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01M4Z4AAEWM0SRK1A2FP5BTYWN
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01M4Z4AMS8ZEDKQM5HB8X7AG7X
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01M4Z4AV4DAA95S31ZPGWM8VGH
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01M4Z4AX81970DYAP6XKZ1Y054
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01M4Z4AZJSRVBWPC13SE5305ZB

Details by Category

✅ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 99 0 8
✅ example 99 0 8
✅ express 99 0 8
✅ fastify 99 0 8
✅ hono 99 0 8
✅ nextjs-turbopack 104 0 3
✅ nextjs-webpack 104 0 3
✅ nitro 99 0 8
✅ nuxt 99 0 8
✅ sveltekit 99 0 8
✅ vite 99 0 8
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 101 0 6
✅ express-stable 101 0 6
✅ fastify-stable 101 0 6
✅ hono-stable 101 0 6
✅ nextjs-turbopack-canary 88 0 19
✅ nextjs-turbopack-stable 107 0 0
✅ nextjs-webpack-canary 88 0 19
✅ nextjs-webpack-stable 107 0 0
✅ nitro-stable 101 0 6
✅ nuxt-stable 101 0 6
✅ sveltekit-stable 101 0 6
✅ vite-stable 101 0 6
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 101 0 6
✅ express-stable 101 0 6
✅ fastify-stable 101 0 6
✅ hono-stable 101 0 6
✅ nextjs-turbopack-canary 88 0 19
✅ nextjs-turbopack-stable 107 0 0
✅ nextjs-webpack-canary 88 0 19
✅ nextjs-webpack-stable 107 0 0
✅ nitro-stable 101 0 6
✅ nuxt-stable 101 0 6
✅ sveltekit-stable 101 0 6
✅ vite-stable 101 0 6
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 101 0 6
✅ express-stable 101 0 6
✅ fastify-stable 101 0 6
✅ hono-stable 101 0 6
✅ nextjs-turbopack-canary 88 0 19
✅ nextjs-turbopack-stable 107 0 0
✅ nextjs-webpack-canary 88 0 19
✅ nextjs-webpack-stable 107 0 0
✅ nitro-stable 101 0 6
✅ nuxt-stable 101 0 6
✅ sveltekit-stable 101 0 6
✅ vite-stable 101 0 6
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 107 0 0
❌ 🌍 Community Worlds
App Passed Failed Skipped
✅ mongodb-dev 4 0 3
✅ redis-dev 4 0 3
❌ redis 68 20 0
✅ turso-dev 4 0 3
❌ turso 3 85 0
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 101 0 6
✅ e2e-local-dev-tanstack-start-stable 101 0 6
✅ e2e-local-postgres-nest-stable 101 0 6
✅ e2e-local-postgres-tanstack-start-stable 101 0 6
✅ e2e-local-prod-nest-stable 101 0 6
✅ e2e-local-prod-tanstack-start-stable 101 0 6

📋 View full workflow run

This branch was successfully deployed

1 active deployment
Preview – workflow-docs — 5228a9f5 Deployed Oct 15, 2026 by vercel[bot]
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.

1 participant