@fluidgrids/cli 2026.1115.1 → 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 +13 -0
- package/dist/cli.js +529 -266
- 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`,
|