@fluidgrids/cli 2026.1114.3 → 2026.1115.2
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.
- package/README.md +18 -0
- package/dist/cli.js +567 -271
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -223,6 +223,7 @@ fluidgrids signal <runId> approve --payload '{"by":"ana"}' # also `runs signal
|
|
|
223
223
|
fluidgrids runs stack <runId> # where the code is waiting (__stack_trace)
|
|
224
224
|
fluidgrids runs terminate <runId> --reason stuck # `runs cancel` asks the code to cancel instead
|
|
225
225
|
fluidgrids replay run.history.json --isolate # replay against the local code; fails on non-determinism
|
|
226
|
+
fluidgrids replay archive/<runId>/history.jsonl.gz # a run archive (11 §2.26), with its run.json when present
|
|
226
227
|
fluidgrids test --replay histories/ # the project tests, then every *.history.json
|
|
227
228
|
fluidgrids push --hotfix v3 --replay-sample 20 # replace the code of v3 (replay-verified by the service)
|
|
228
229
|
fluidgrids versions list approvals # versions with the bundle each one runs
|
|
@@ -230,6 +231,18 @@ fluidgrids run lead-enrichment --wait # trigger a canvas workflow fr
|
|
|
230
231
|
fluidgrids run lead-enrichment --workflow-id customer-7 --id-conflict use-existing --delay 5m
|
|
231
232
|
```
|
|
232
233
|
|
|
234
|
+
- **Archived runs** (spec `code-first` 11 §2.26, `fluidgrids.run-archival`).
|
|
235
|
+
When retention purges a run of a workspace with an archive destination, the
|
|
236
|
+
service first writes it to the workspace's bucket. `fluidgrids history
|
|
237
|
+
<runId>` and `fluidgrids replay <runId>` still work for such a run: the
|
|
238
|
+
service reads the events back from the archive's `history.jsonl.gz`, and the
|
|
239
|
+
CLI says where the archive is. When the destination does not grant
|
|
240
|
+
`s3:GetObject` to the archive role (or the object is gone), the command fails
|
|
241
|
+
with the service's reason (`archiveReadError`). `fluidgrids replay` also
|
|
242
|
+
takes the archive's own files: a downloaded `history.jsonl.gz` (or the
|
|
243
|
+
decompressed `.jsonl`) is replayed as it is, with the run's identity from the
|
|
244
|
+
`run.json` next to it. An archive written with `includePayloads: false`
|
|
245
|
+
cannot be replayed, and a canvas run's archive has no history events.
|
|
233
246
|
- **Canvas start options.** `fluidgrids run` takes `--workflow-id`,
|
|
234
247
|
`--id-conflict` (fail, use-existing or terminate-existing) and `--delay`
|
|
235
248
|
(spec `code-first` 11 §2.1 and §2.23; they need `fluidgrids.durable-parity`,
|
|
@@ -336,6 +349,7 @@ fluidgrids runs describe --workflow-id order-7 --key approvals --pending
|
|
|
336
349
|
fluidgrids signal approve --workflow-id order-7 --key approvals --payload '{"by":"ana"}'
|
|
337
350
|
fluidgrids runs result --workflow-id order-7 --key approvals --follow-runs
|
|
338
351
|
fluidgrids runs count --key approvals --group-by status,task-queue
|
|
352
|
+
fluidgrids runs count --key approvals --group-by status --group-by-attribute customerId
|
|
339
353
|
fluidgrids runs stack <runId> --metadata # also the run's __metadata
|
|
340
354
|
fluidgrids versions rollout approvals --to v4 --percent 10
|
|
341
355
|
fluidgrids versions rollout delete approvals
|
|
@@ -343,6 +357,10 @@ fluidgrids versions drainage approvals v3 # ACTIVE, DRAINING or DRAINED
|
|
|
343
357
|
fluidgrids versions override <runId> --pin v3 # or --auto-upgrade, --clear
|
|
344
358
|
```
|
|
345
359
|
|
|
360
|
+
- `runs count --group-by-attribute <names>` groups by search attributes (KEYWORD,
|
|
361
|
+
INT, DOUBLE, BOOL or DATETIME) after the `--group-by` columns, two columns in
|
|
362
|
+
all. A run without the attribute counts in the `(none)` group. It needs
|
|
363
|
+
`fluidgrids.search-attributes`.
|
|
346
364
|
- `--workflow-id <id> --key <workflowKey>` (with an optional `--first-run-id`)
|
|
347
365
|
works on `runs describe|history|signal|cancel|terminate|stack|result`,
|
|
348
366
|
`history`, `signal` and `versions override`, and reaches the latest run of
|