@evident-ai/runner-synchroniser 3.4.1-dev.15755a4 → 3.4.1-dev.3adba63
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 +1 -1
- package/dist/cli.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -217,7 +217,7 @@ what it is.
|
|
|
217
217
|
- **`clear`** — deletes every key under `<prefix>/opencode.db/` passing `isDeletableReplicaKey`; that guard, not the `list()` prefix, is the boundary (IAM grants `s3:DeleteObject*` bucket-wide). One `try` per key. A **partial** clear still reports `recovered`/`32`. Cost: all saved history, unconditionally.
|
|
218
218
|
- **`crash`** — first in the switch, no S3 mutation even considered → `fatal(deliberate)`/`30` → `entrypoint.sh` `die`s → task replaced → **crash loop** until an operator intervenes.
|
|
219
219
|
|
|
220
|
-
#### The measured real-world key layout (litestream 0.5.13)
|
|
220
|
+
#### The measured real-world key layout (litestream 0.5.13 historical sample)
|
|
221
221
|
|
|
222
222
|
`parseLtxKey` (`src/replica-keys.ts`) expects
|
|
223
223
|
`<prefix>/opencode.db/<level:04d>/<minTxid>-<maxTxid>.ltx` — **no `ltx/` path segment**,
|
package/dist/cli.js
CHANGED
|
@@ -52330,7 +52330,7 @@ function renderLitestreamConfig(config) {
|
|
|
52330
52330
|
# (no static keys here).
|
|
52331
52331
|
#
|
|
52332
52332
|
# INVARIANT (see README "Single-writer invariant"): exactly ONE writer per S3
|
|
52333
|
-
# prefix \u2014
|
|
52333
|
+
# prefix \u2014 we do not enable Litestream's server-side lease, so never run two
|
|
52334
52334
|
# replicators on one prefix. Only opencode.db is replicated.
|
|
52335
52335
|
|
|
52336
52336
|
dbs:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evident-ai/runner-synchroniser",
|
|
3
|
-
"version": "3.4.1-dev.
|
|
3
|
+
"version": "3.4.1-dev.3adba63",
|
|
4
4
|
"description": "Restores and syncs the Evident runner's OpenCode credential stores (and litestream config) to an object store, so a runner survives task replacement with almost no state loss.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/cli.js",
|