Skip to content

Commit 5118509

Browse files
Version Packages (#659)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 856d617 commit 5118509

16 files changed

Lines changed: 58 additions & 37 deletions

‎.changeset/cancel-failed-run-tasks.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎.changeset/remove-windows-breaking-postinstall.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎.changeset/start-tasks-visibility.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎.changeset/terminalize-skipped-tasks.md‎

Lines changed: 0 additions & 9 deletions
This file was deleted.

‎.changeset/use-effective-step-timeout.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎pkgs/cli/CHANGELOG.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# pgflow
22

3+
## 0.15.1
4+
5+
### Patch Changes
6+
7+
- 4ac87c9: Remove the postinstall `chmod` script that broke `npm install pgflow` on Windows; npm sets the executable bit for `bin` files automatically.
8+
- Updated dependencies [7903661]
9+
- Updated dependencies [078aa1e]
10+
- Updated dependencies [daadcac]
11+
- Updated dependencies [35d261b]
12+
- @pgflow/core@0.15.1
13+
314
## 0.15.0
415

516
### Minor Changes

‎pkgs/cli/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pgflow",
3-
"version": "0.15.0",
3+
"version": "0.15.1",
44
"license": "Apache-2.0",
55
"repository": {
66
"type": "git",

‎pkgs/client/CHANGELOG.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# @pgflow/client
22

3+
## 0.15.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [7903661]
8+
- Updated dependencies [078aa1e]
9+
- Updated dependencies [daadcac]
10+
- Updated dependencies [35d261b]
11+
- @pgflow/core@0.15.1
12+
- @pgflow/dsl@0.15.1
13+
314
## 0.15.0
415

516
### Minor Changes

‎pkgs/client/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pgflow/client",
3-
"version": "0.15.0",
3+
"version": "0.15.1",
44
"license": "Apache-2.0",
55
"repository": {
66
"type": "git",

‎pkgs/core/CHANGELOG.md‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# @pgflow/core
22

3+
## 0.15.1
4+
5+
### Patch Changes
6+
7+
- 7903661: Mark unfinished tasks as cancelled when their run fails, prevent late callbacks and stalled recovery from reviving them, and repair active tasks on historical failed runs.
8+
- 078aa1e: Make `start_tasks()` apply the PGMQ visibility extension before it returns claimed tasks. The visibility update is now structurally required (referenced CTE instead of an unreferenced `SELECT` CTE PostgreSQL may skip), so a claimed task keeps the effective timeout (`coalesce(step timeout, flow timeout) + 2`) instead of only the initial read visibility, and a visibility-update failure rolls back the whole claim.
9+
- daadcac: Terminalize queued and started task rows when their parent step is skipped: sibling tasks of a step skipped via `whenExhausted: 'skip'`/`'skip-cascade'` (and cascade-skipped steps) now end as `skipped` instead of staying `queued`/`started` forever, and a migration repairs existing rows.
10+
11+
Tasks are now terminalized before their queue messages are archived, preserving the task-before-queue lock order, and `start_tasks` only returns rows it actually claimed, so workers no longer execute tasks a concurrent skip already marked `skipped`.
12+
13+
Fixes #638
14+
15+
- 35d261b: Requeue stalled tasks using the effective step timeout instead of waiting for the flow timeout.
16+
- @pgflow/dsl@0.15.1
17+
318
## 0.15.0
419

520
### Minor Changes

0 commit comments

Comments
 (0)