From 713744ede6fe9a719be455fa7d42a4dc88bde03e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 24 Nov 2026 12:14:26 +0000 Subject: [PATCH] Version Packages --- .changeset/permanently-stalled-escalation.md | 5 ----- .changeset/worker-result-boundaries.md | 8 -------- .changeset/worker-startup-handshake.md | 6 ------ pkgs/cli/CHANGELOG.md | 9 +++++++++ pkgs/cli/package.json | 2 +- pkgs/client/CHANGELOG.md | 10 ++++++++++ pkgs/client/package.json | 2 +- pkgs/core/CHANGELOG.md | 15 +++++++++++++++ pkgs/core/package.json | 2 +- pkgs/dsl/CHANGELOG.md | 2 ++ pkgs/dsl/package.json | 2 +- pkgs/edge-worker/CHANGELOG.md | 15 +++++++++++++++ pkgs/edge-worker/jsr.json | 6 +++--- pkgs/edge-worker/package.json | 2 +- 14 files changed, 59 insertions(+), 27 deletions(-) delete mode 100644 .changeset/permanently-stalled-escalation.md delete mode 100644 .changeset/worker-result-boundaries.md delete mode 100644 .changeset/worker-startup-handshake.md diff --git a/.changeset/permanently-stalled-escalation.md b/.changeset/permanently-stalled-escalation.md deleted file mode 100644 index 3bd79619f..000000000 --- a/.changeset/permanently-stalled-escalation.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@pgflow/core": minor ---- - -Terminalize permanently stalled tasks through the step's `whenExhausted` policy. A new `pgflow.escalate_permanently_stalled()` function, scheduled as its own `pgflow_escalate_permanently_stalled` cron job, hands tasks marked with `permanently_stalled_at` to `fail_task()`, which now treats the marker as exhaustion regardless of remaining attempts: the run fails, the step skips or cascades per policy, dependents start, and siblings are cancelled or archived. `attempts_count` stays untouched as committed task claims, and ordinary failure callbacks on a marked task exhaust it instead of requeueing against its archived message. Includes the SQL migration (which preserves an absent or paused recovery cron job and copies the installed recovery interval), generated types, and upgrade guidance with a stamped-backlog inventory query. diff --git a/.changeset/worker-result-boundaries.md b/.changeset/worker-result-boundaries.md deleted file mode 100644 index a7c486404..000000000 --- a/.changeset/worker-result-boundaries.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@pgflow/core": patch -"@pgflow/edge-worker": patch ---- - -Preserve handler outcomes when worker logging or task settlement fails, and classify interruption from the worker shutdown signal instead of the exception name. Successful handlers get one completion attempt even during shutdown; settlement errors reach the worker error boundary without replay or conversion into handler failures. - -Preserve falsy task outputs (`0`, `false`, and `""`) and store null or undefined outputs as JSON null instead of SQL NULL. diff --git a/.changeset/worker-startup-handshake.md b/.changeset/worker-startup-handshake.md deleted file mode 100644 index ca843a4d0..000000000 --- a/.changeset/worker-startup-handshake.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@pgflow/core": patch -"@pgflow/edge-worker": patch ---- - -Coordinate pending worker starts with invocation handshakes. `ensure_workers()` now reserves a unique `invocation_id` per function under a row lock and enqueues it in one transaction; the HTTP worker start atomically consumes the still-current, unexpired invocation when it registers readiness. Duplicate cron starts, duplicate delivery to independent runtimes, and manual/local requests now share one reservation protocol with a 60-second pending deadline, idempotent acknowledgement, explicit dismissal on failure, and bounded watchdog/SQL-timeout recovery. `debounce` becomes a retry throttle instead of the correctness mechanism. Includes the SQL migration and generated types; requires applying the migration before deploying new workers. diff --git a/pkgs/cli/CHANGELOG.md b/pkgs/cli/CHANGELOG.md index 3850cb977..0824a0684 100644 --- a/pkgs/cli/CHANGELOG.md +++ b/pkgs/cli/CHANGELOG.md @@ -1,5 +1,14 @@ # pgflow +## 0.18.0 + +### Patch Changes + +- Updated dependencies [c8703a4] +- Updated dependencies [f67145b] +- Updated dependencies [d04b79d] + - @pgflow/core@0.18.0 + ## 0.17.2 ### Patch Changes diff --git a/pkgs/cli/package.json b/pkgs/cli/package.json index 6dc79f54c..ca09a8da4 100644 --- a/pkgs/cli/package.json +++ b/pkgs/cli/package.json @@ -1,6 +1,6 @@ { "name": "pgflow", - "version": "0.17.2", + "version": "0.18.0", "license": "Apache-2.0", "repository": { "type": "git", diff --git a/pkgs/client/CHANGELOG.md b/pkgs/client/CHANGELOG.md index 3c138ecf0..ad15799a8 100644 --- a/pkgs/client/CHANGELOG.md +++ b/pkgs/client/CHANGELOG.md @@ -1,5 +1,15 @@ # @pgflow/client +## 0.18.0 + +### Patch Changes + +- Updated dependencies [c8703a4] +- Updated dependencies [f67145b] +- Updated dependencies [d04b79d] + - @pgflow/core@0.18.0 + - @pgflow/dsl@0.18.0 + ## 0.17.2 ### Patch Changes diff --git a/pkgs/client/package.json b/pkgs/client/package.json index d5159f6dc..6e56d3fed 100644 --- a/pkgs/client/package.json +++ b/pkgs/client/package.json @@ -1,6 +1,6 @@ { "name": "@pgflow/client", - "version": "0.17.2", + "version": "0.18.0", "license": "Apache-2.0", "repository": { "type": "git", diff --git a/pkgs/core/CHANGELOG.md b/pkgs/core/CHANGELOG.md index 623098777..85d2f5684 100644 --- a/pkgs/core/CHANGELOG.md +++ b/pkgs/core/CHANGELOG.md @@ -1,5 +1,20 @@ # @pgflow/core +## 0.18.0 + +### Minor Changes + +- c8703a4: Terminalize permanently stalled tasks through the step's `whenExhausted` policy. A new `pgflow.escalate_permanently_stalled()` function, scheduled as its own `pgflow_escalate_permanently_stalled` cron job, hands tasks marked with `permanently_stalled_at` to `fail_task()`, which now treats the marker as exhaustion regardless of remaining attempts: the run fails, the step skips or cascades per policy, dependents start, and siblings are cancelled or archived. `attempts_count` stays untouched as committed task claims, and ordinary failure callbacks on a marked task exhaust it instead of requeueing against its archived message. Includes the SQL migration (which preserves an absent or paused recovery cron job and copies the installed recovery interval), generated types, and upgrade guidance with a stamped-backlog inventory query. + +### Patch Changes + +- f67145b: Preserve handler outcomes when worker logging or task settlement fails, and classify interruption from the worker shutdown signal instead of the exception name. Successful handlers get one completion attempt even during shutdown; settlement errors reach the worker error boundary without replay or conversion into handler failures. + + Preserve falsy task outputs (`0`, `false`, and `""`) and store null or undefined outputs as JSON null instead of SQL NULL. + +- d04b79d: Coordinate pending worker starts with invocation handshakes. `ensure_workers()` now reserves a unique `invocation_id` per function under a row lock and enqueues it in one transaction; the HTTP worker start atomically consumes the still-current, unexpired invocation when it registers readiness. Duplicate cron starts, duplicate delivery to independent runtimes, and manual/local requests now share one reservation protocol with a 60-second pending deadline, idempotent acknowledgement, explicit dismissal on failure, and bounded watchdog/SQL-timeout recovery. `debounce` becomes a retry throttle instead of the correctness mechanism. Includes the SQL migration and generated types; requires applying the migration before deploying new workers. + - @pgflow/dsl@0.18.0 + ## 0.17.2 ### Patch Changes diff --git a/pkgs/core/package.json b/pkgs/core/package.json index 567c56b9c..89694b96a 100644 --- a/pkgs/core/package.json +++ b/pkgs/core/package.json @@ -1,6 +1,6 @@ { "name": "@pgflow/core", - "version": "0.17.2", + "version": "0.18.0", "license": "Apache-2.0", "repository": { "type": "git", diff --git a/pkgs/dsl/CHANGELOG.md b/pkgs/dsl/CHANGELOG.md index 646203c80..8e30d4fe8 100644 --- a/pkgs/dsl/CHANGELOG.md +++ b/pkgs/dsl/CHANGELOG.md @@ -1,5 +1,7 @@ # @pgflow/dsl +## 0.18.0 + ## 0.17.2 ## 0.17.1 diff --git a/pkgs/dsl/package.json b/pkgs/dsl/package.json index 9e70afa37..d94b37942 100644 --- a/pkgs/dsl/package.json +++ b/pkgs/dsl/package.json @@ -1,6 +1,6 @@ { "name": "@pgflow/dsl", - "version": "0.17.2", + "version": "0.18.0", "license": "Apache-2.0", "repository": { "type": "git", diff --git a/pkgs/edge-worker/CHANGELOG.md b/pkgs/edge-worker/CHANGELOG.md index 65423af68..83c93f6f3 100644 --- a/pkgs/edge-worker/CHANGELOG.md +++ b/pkgs/edge-worker/CHANGELOG.md @@ -1,5 +1,20 @@ # @pgflow/edge-worker +## 0.18.0 + +### Patch Changes + +- f67145b: Preserve handler outcomes when worker logging or task settlement fails, and classify interruption from the worker shutdown signal instead of the exception name. Successful handlers get one completion attempt even during shutdown; settlement errors reach the worker error boundary without replay or conversion into handler failures. + + Preserve falsy task outputs (`0`, `false`, and `""`) and store null or undefined outputs as JSON null instead of SQL NULL. + +- d04b79d: Coordinate pending worker starts with invocation handshakes. `ensure_workers()` now reserves a unique `invocation_id` per function under a row lock and enqueues it in one transaction; the HTTP worker start atomically consumes the still-current, unexpired invocation when it registers readiness. Duplicate cron starts, duplicate delivery to independent runtimes, and manual/local requests now share one reservation protocol with a 60-second pending deadline, idempotent acknowledgement, explicit dismissal on failure, and bounded watchdog/SQL-timeout recovery. `debounce` becomes a retry throttle instead of the correctness mechanism. Includes the SQL migration and generated types; requires applying the migration before deploying new workers. +- Updated dependencies [c8703a4] +- Updated dependencies [f67145b] +- Updated dependencies [d04b79d] + - @pgflow/core@0.18.0 + - @pgflow/dsl@0.18.0 + ## 0.17.2 ### Patch Changes diff --git a/pkgs/edge-worker/jsr.json b/pkgs/edge-worker/jsr.json index a03ff2b1f..7d4d0f9cf 100644 --- a/pkgs/edge-worker/jsr.json +++ b/pkgs/edge-worker/jsr.json @@ -1,6 +1,6 @@ { "name": "@pgflow/edge-worker", - "version": "0.17.2", + "version": "0.18.0", "license": "Apache-2.0", "exports": { ".": "./src/index.ts", @@ -10,8 +10,8 @@ "@henrygd/queue": "jsr:@henrygd/queue@^1.0.7", "@std/crypto": "jsr:@std/crypto@^1.0.5", "postgres": "jsr:@oscar6echo/postgres@3.4.5-d", - "@pgflow/core": "npm:@pgflow/core@0.17.2", - "@pgflow/dsl": "npm:@pgflow/dsl@0.17.2" + "@pgflow/core": "npm:@pgflow/core@0.18.0", + "@pgflow/dsl": "npm:@pgflow/dsl@0.18.0" }, "publish": { "include": [ diff --git a/pkgs/edge-worker/package.json b/pkgs/edge-worker/package.json index 52d557bdb..5435fffd6 100644 --- a/pkgs/edge-worker/package.json +++ b/pkgs/edge-worker/package.json @@ -1,6 +1,6 @@ { "name": "@pgflow/edge-worker", - "version": "0.17.2", + "version": "0.18.0", "license": "Apache-2.0", "repository": { "type": "git",