stablemates-workhorse 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +23 -0
- data/README.md +1 -1
- data/lib/stablemates/workhorse/dashboard/bundle.json +1 -1
- data/lib/stablemates/workhorse/dashboard/read-surface-1.tar.gz +0 -0
- data/lib/stablemates/workhorse/sql_catalogue_generated.rb +1 -1
- data/lib/stablemates/workhorse/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ada675ecd38ee7f528c98894b840ae3efbb604f66055bbc405bd5e25a972b5c1
|
|
4
|
+
data.tar.gz: 7c800a1b76bdba58e2e9eb566814cd064a483c0dfe689ffd8b06b441850a1317
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 745a120d3e5ed782c595e512a9597c09a630b317b7004bf71e16677bcedede1f7d571b90dbaeda178adc07817880f4cd4e957fb1183ac3e2dc6ff3d35cbc2b44
|
|
7
|
+
data.tar.gz: 2ff9147d43d755d67dca231d5172f844c3fc810bebb0c70239d5e90e26df0ec3f77711f97b719c8d7d2fdbc641f9e13e48b0253b2fc8eba09be25c640118c646
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,29 @@
|
|
|
3
3
|
`stablemates-workhorse` gem versions and release notes live here. The gem carries the version the
|
|
4
4
|
other SDKs carry, because every tag names one release of all of them.
|
|
5
5
|
|
|
6
|
+
## 0.15.0 — 2026-11-21
|
|
7
|
+
|
|
8
|
+
The npm packages, Python distribution, Go module, Rust crate, Ruby gem, JVM artifacts, and .NET
|
|
9
|
+
packages release from one source commit.
|
|
10
|
+
|
|
11
|
+
Requires **schema v99**, Ruby **3.3** or newer, and PostgreSQL **15** or newer.
|
|
12
|
+
|
|
13
|
+
### Upgrade steps
|
|
14
|
+
|
|
15
|
+
**Migrate the schema, then roll out the new processes.** Run `workhorse schema migrate`. Migration
|
|
16
|
+
0106 moves the schema from version 104 to version **105**. It replaces two function bodies and changes
|
|
17
|
+
no stored rows. The SDK compatibility floor stays at **99**, so a 0.14 process keeps working on
|
|
18
|
+
version 105, and the upgrade is a rolling deployment.
|
|
19
|
+
|
|
20
|
+
[The upgrade notes](../docs/upgrading.md#upgrade-from-014x-to-0150) give each step.
|
|
21
|
+
|
|
22
|
+
### Cleanup no longer reads the whole key and dependency tables
|
|
23
|
+
|
|
24
|
+
Under a generic plan, `prune_enqueue_idempotency_v1` and `prune_released_dependencies_v1` read the
|
|
25
|
+
whole `enqueue_idempotency` or `task_dependency` table to delete the rows of one pass (issue 1263).
|
|
26
|
+
They now delete the rows that they locked by their `ctid`. The result does not change, and this SDK
|
|
27
|
+
does not change. Migration 0106 moves the schema to version 105, and the floor stays 99.
|
|
28
|
+
|
|
6
29
|
## 0.14.0 — 2026-11-13
|
|
7
30
|
|
|
8
31
|
There is no 0.13.0. A task queue does not tempt fate.
|
data/README.md
CHANGED
|
@@ -32,7 +32,7 @@ bundle add connection_pool
|
|
|
32
32
|
Install the schema once, as a deployment step. The application never installs or migrates it.
|
|
33
33
|
|
|
34
34
|
```bash
|
|
35
|
-
npx --package @stablemates/workhorse@0.
|
|
35
|
+
npx --package @stablemates/workhorse@0.15.0 workhorse schema install
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
The machine that runs that deployment step needs Node.js 22 or newer. The application itself needs
|
|
Binary file
|
|
@@ -11,7 +11,7 @@ module Stablemates
|
|
|
11
11
|
MINIMUM_PROTOCOL_VERSION = 5
|
|
12
12
|
MAXIMUM_PROTOCOL_VERSION = 5
|
|
13
13
|
MINIMUM_SCHEMA_VERSION = 99
|
|
14
|
-
MAXIMUM_SCHEMA_VERSION =
|
|
14
|
+
MAXIMUM_SCHEMA_VERSION = 105
|
|
15
15
|
# PostgreSQL's atomic enqueue batch limit.
|
|
16
16
|
MAX_ENQUEUE_BATCH_SIZE = 1000
|
|
17
17
|
DEFAULT_TASK_VALUE_MAX_BYTES = 1048576
|