@colony2/jobdb 0.0.8 → 0.0.11

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.
Files changed (2) hide show
  1. package/README.md +6 -4
  2. package/package.json +17 -17
package/README.md CHANGED
@@ -77,18 +77,19 @@ jobdb toy --listen 127.0.0.1:9047
77
77
 
78
78
  ### Direct
79
79
 
80
- The direct backend uses Postgres-backed `pgwf` for job state and an embedded
81
- Strata daemon for chapter and artifact storage. It installs or verifies the
82
- `pgwf` schema on startup.
80
+ The direct backend uses Postgres for job and chapter records, and a blobstore
81
+ URI for large artifact bytes. It installs or verifies the `pgwf` schema on
82
+ startup.
83
83
 
84
84
  ```bash
85
85
  JOBDB_POSTGRES_DSN='postgres://user:pass@localhost:5432/jobdb?sslmode=disable' \
86
- jobdb direct --listen 127.0.0.1:9047
86
+ jobdb direct --blob-store-uri 'blobfs:///var/lib/jobdb/blobs' --listen 127.0.0.1:9047
87
87
  ```
88
88
 
89
89
  Flags:
90
90
 
91
91
  - `--postgres-dsn`: Postgres DSN for `pgwf` state.
92
+ - `--blob-store-uri`: Blobstore URI for large artifacts. Defaults to local blobfs.
92
93
  - `--listen`: HTTP listen address. Defaults to `127.0.0.1:9047`.
93
94
 
94
95
  Environment:
@@ -135,5 +136,6 @@ Useful references:
135
136
 
136
137
  - [pkg/jobdb/README.md](pkg/jobdb/README.md): runtime API, data types, and backend packages.
137
138
  - [pkg/workflow/README.md](pkg/workflow/README.md): workflow SDK, workers, and engines.
139
+ - [docs/MIGRATION-SWF-GO-TO-JOBDB.md](docs/MIGRATION-SWF-GO-TO-JOBDB.md): concise import migration from `swf-go`.
138
140
  - [docs/API-SURFACE.md](docs/API-SURFACE.md): supported public packages.
139
141
  - [docs/SPEC-OpenAPI-Runtime-Contract.md](docs/SPEC-OpenAPI-Runtime-Contract.md): runtime REST contract notes.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@colony2/jobdb",
3
3
  "type": "module",
4
- "version": "0.0.8",
4
+ "version": "0.0.11",
5
5
  "description": "jobdb job system",
6
6
  "scripts": {
7
7
  "postinstall": "node install.js",
@@ -30,57 +30,54 @@
30
30
  },
31
31
  "archives": {
32
32
  "darwin-arm64": {
33
- "name": "jobdb_0.0.8_Darwin_arm64.tar.gz",
34
- "url": "https://github.com/colony-2/jobdb/releases/download/v0.0.8/jobdb_0.0.8_Darwin_arm64.tar.gz",
33
+ "name": "jobdb_0.0.11_Darwin_arm64.tar.gz",
34
+ "url": "https://github.com/colony-2/jobdb/releases/download/v0.0.11/jobdb_0.0.11_Darwin_arm64.tar.gz",
35
35
  "bins": [
36
36
  "jobdb"
37
37
  ],
38
38
  "format": "tar.gz",
39
39
  "checksum": {
40
40
  "algorithm": "sha256",
41
- "digest": "480b53c0d81c78097f412e4436059cab1098c67e7ce3448838d276895db8a68b"
41
+ "digest": "ea41e3550ee0a77b41a21964f0925341a0e1057ad1853c4809713c49fd21138b"
42
42
  }
43
43
  },
44
44
  "darwin-x64": {
45
- "name": "jobdb_0.0.8_Darwin_x86_64.tar.gz",
46
- "url": "https://github.com/colony-2/jobdb/releases/download/v0.0.8/jobdb_0.0.8_Darwin_x86_64.tar.gz",
45
+ "name": "jobdb_0.0.11_Darwin_x86_64.tar.gz",
46
+ "url": "https://github.com/colony-2/jobdb/releases/download/v0.0.11/jobdb_0.0.11_Darwin_x86_64.tar.gz",
47
47
  "bins": [
48
48
  "jobdb"
49
49
  ],
50
50
  "format": "tar.gz",
51
51
  "checksum": {
52
52
  "algorithm": "sha256",
53
- "digest": "558e930d85bdb9b7599a6e67f546015e063ff969c681c9717ad6a7a13c50b63c"
53
+ "digest": "f355d3252f458e47d7011f9c81201ea867bb2afbafb2cf0668f1210135a30e54"
54
54
  }
55
55
  },
56
56
  "linux-arm64": {
57
- "name": "jobdb_0.0.8_Linux_arm64.tar.gz",
58
- "url": "https://github.com/colony-2/jobdb/releases/download/v0.0.8/jobdb_0.0.8_Linux_arm64.tar.gz",
57
+ "name": "jobdb_0.0.11_Linux_arm64.tar.gz",
58
+ "url": "https://github.com/colony-2/jobdb/releases/download/v0.0.11/jobdb_0.0.11_Linux_arm64.tar.gz",
59
59
  "bins": [
60
60
  "jobdb"
61
61
  ],
62
62
  "format": "tar.gz",
63
63
  "checksum": {
64
64
  "algorithm": "sha256",
65
- "digest": "89a52c995a080fb86357fc030378d7b1d402b8be1a69c32e368ae105058b68fc"
65
+ "digest": "937c07f74f391b53efe7a6b813e3ba6c708ee6ada7c57eb6dba58d3d8ae1e8ec"
66
66
  }
67
67
  },
68
68
  "linux-x64": {
69
- "name": "jobdb_0.0.8_Linux_x86_64.tar.gz",
70
- "url": "https://github.com/colony-2/jobdb/releases/download/v0.0.8/jobdb_0.0.8_Linux_x86_64.tar.gz",
69
+ "name": "jobdb_0.0.11_Linux_x86_64.tar.gz",
70
+ "url": "https://github.com/colony-2/jobdb/releases/download/v0.0.11/jobdb_0.0.11_Linux_x86_64.tar.gz",
71
71
  "bins": [
72
72
  "jobdb"
73
73
  ],
74
74
  "format": "tar.gz",
75
75
  "checksum": {
76
76
  "algorithm": "sha256",
77
- "digest": "d8406e066f086dd6890d3f5e143cc5135d5d2dfa2fa18f1b37f2fb3bfe4e1611"
77
+ "digest": "d18cdaaad7ba47ead3bca41f0a74565ed0148a436de2983db52dab2436fe77fc"
78
78
  }
79
79
  }
80
80
  },
81
- "engines": {
82
- "node": "\u003e=14.0.0"
83
- },
84
81
  "keywords": [
85
82
  "sandbox",
86
83
  "docker",
@@ -88,5 +85,8 @@
88
85
  "agent",
89
86
  "cli",
90
87
  "security"
91
- ]
88
+ ],
89
+ "engines": {
90
+ "node": "\u003e=14.0.0"
91
+ }
92
92
  }