@evident-ai/runner-synchroniser 3.4.1-dev.1549524 → 3.4.1-dev.1856549
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 +10 -0
- package/dist/cli.js +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -86,6 +86,13 @@ a warning `restore_retried` record before the retry's result is known. Writing i
|
|
|
86
86
|
and never changes this command's exit code. The CLI reader owns this record contract: add a new
|
|
87
87
|
`v` rather than repurposing a field.
|
|
88
88
|
|
|
89
|
+
MicroVM boot-shell give-ups use that same JSONL contract and path. The hook truncates the
|
|
90
|
+
report at the start of each `/run`, so a later startup decision supersedes an earlier one;
|
|
91
|
+
`/resume` preserves the current report. Their `replication_suspended` field is `true`, meaning
|
|
92
|
+
that start is not backing up its new session history. The normal mapper defaults the field to
|
|
93
|
+
`false`; the MicroVM `--fresh-db-fallback` outcome is also `true` because it cannot safely
|
|
94
|
+
replicate that boot.
|
|
95
|
+
|
|
89
96
|
#### Positionals
|
|
90
97
|
|
|
91
98
|
| Positional | Meaning |
|
|
@@ -119,6 +126,9 @@ marks a runtime that intentionally has no retry budget and will therefore boot f
|
|
|
119
126
|
otherwise-transient failure. Each flag may appear once, does not change the command's exit code,
|
|
120
127
|
and is rejected when repeated.
|
|
121
128
|
|
|
129
|
+
On the MicroVM's one-attempt path, `--fresh-db-fallback` also means the fresh database does not
|
|
130
|
+
replicate during that boot.
|
|
131
|
+
|
|
122
132
|
#### Outcome → exit code
|
|
123
133
|
|
|
124
134
|
| Outcome | Code | When |
|
package/dist/cli.js
CHANGED
|
@@ -62684,7 +62684,8 @@ function base(at2, stage) {
|
|
|
62684
62684
|
quarantine_failed_objects: null,
|
|
62685
62685
|
quarantined_bytes: null,
|
|
62686
62686
|
verified_restore_point: null,
|
|
62687
|
-
restore_points_tried: null
|
|
62687
|
+
restore_points_tried: null,
|
|
62688
|
+
replication_suspended: false
|
|
62688
62689
|
};
|
|
62689
62690
|
}
|
|
62690
62691
|
function recordRestoreOutcome(outcome, at2, exitCode, attempt, recoveryOccurred, freshDbFallback = false) {
|
|
@@ -62695,7 +62696,8 @@ function recordRestoreOutcome(outcome, at2, exitCode, attempt, recoveryOccurred,
|
|
|
62695
62696
|
...record,
|
|
62696
62697
|
outcome: "fresh_session_db",
|
|
62697
62698
|
severity: "error",
|
|
62698
|
-
reason: "retry_budget_exhausted"
|
|
62699
|
+
reason: "retry_budget_exhausted",
|
|
62700
|
+
replication_suspended: true
|
|
62699
62701
|
} : {
|
|
62700
62702
|
...record,
|
|
62701
62703
|
outcome: "restore_retried",
|
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.1856549",
|
|
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",
|