You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@workflow/world-postgres currently executes Graphile jobs by POSTing back into the app workflow HTTP route. That kept Next production route registration correct after #1417, but #2656 shows the loopback transport can consume jobs before the local server is reachable.
Proposal
Retry the #1334 direction, but keep the implementation small: let Postgres own the queue-handler wrapper it needs, register the generated workflow handler in-process, and have Graphile call that handler directly. Durable delays and retries should stay in Graphile, and the code should not reintroduce a dependency on @workflow/world-local for queue execution.
Summary
@workflow/world-postgrescurrently executes Graphile jobs by POSTing back into the app workflow HTTP route. That kept Next production route registration correct after #1417, but #2656 shows the loopback transport can consume jobs before the local server is reachable.Proposal
Retry the #1334 direction, but keep the implementation small: let Postgres own the queue-handler wrapper it needs, register the generated workflow handler in-process, and have Graphile call that handler directly. Durable delays and retries should stay in Graphile, and the code should not reintroduce a dependency on
@workflow/world-localfor queue execution.Context
Acceptance criteria
WORKFLOW_LOCAL_BASE_URL,PORT, or loopback fetch to execute workflow messages.runAtjobs.