@inerrata-corporation/errata 2.0.6-dev.2681 → 2.0.6-dev.2693
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/errata.mjs +7 -3
- package/package.json +1 -1
package/errata.mjs
CHANGED
|
@@ -78536,7 +78536,7 @@ function createWatchBreaker(deps) {
|
|
|
78536
78536
|
}
|
|
78537
78537
|
|
|
78538
78538
|
// src/engine.ts
|
|
78539
|
-
var DAEMON_VERSION = true ? "2.0.6-dev.
|
|
78539
|
+
var DAEMON_VERSION = true ? "2.0.6-dev.2693" : "2.0.0-alpha.0";
|
|
78540
78540
|
var IGNORED_PATH = /[\\/](?:\.git|node_modules|\.errata|\.claude|\.codex|\.cursor|\.turbo|\.next|dist|coverage|test-results|playwright-report|__pycache__)(?:[\\/]|$)/;
|
|
78541
78541
|
var IGNORED_NOISE = /castalia\.db|eventlog\.sqlite|turn-cursors/;
|
|
78542
78542
|
var GIT_OP_MUTE_MS = 4e3;
|
|
@@ -84329,7 +84329,10 @@ function unitTiming(postStarted, prepMs, receipt) {
|
|
|
84329
84329
|
if (g) parts2.push(g.pRoutine === null ? `jev ${g.error ?? "n/a"}` : `jev ${s(g.ms)} p=${g.pRoutine}${g.skipped ? " skipped" : ""}`);
|
|
84330
84330
|
if (receipt.timing?.modelMs !== void 0) parts2.push(`model ${s(receipt.timing.modelMs)}`);
|
|
84331
84331
|
if (receipt.timing?.orderWaitMs) parts2.push(`waited ${s(receipt.timing.orderWaitMs)} for the previous write`);
|
|
84332
|
-
if (receipt.timing?.ingestMs !== void 0)
|
|
84332
|
+
if (receipt.timing?.ingestMs !== void 0) {
|
|
84333
|
+
const top = Object.entries(receipt.timing.ingestStages ?? {}).slice(0, 4).map(([k, v]) => `${k} ${v}`);
|
|
84334
|
+
parts2.push(`ingest ${s(receipt.timing.ingestMs)}${top.length ? ` [${top.join(", ")}]` : ""}`);
|
|
84335
|
+
}
|
|
84333
84336
|
return ` in ${s(Date.now() - postStarted + prepMs)} (${parts2.join(", ")})`;
|
|
84334
84337
|
}
|
|
84335
84338
|
function addCounts(a, b) {
|
|
@@ -84502,7 +84505,8 @@ async function walk10(root, input, client, opts, readBlob) {
|
|
|
84502
84505
|
await reportHistoryStage(client, profile, log);
|
|
84503
84506
|
return { profile, processed, state: "paused" };
|
|
84504
84507
|
}
|
|
84505
|
-
|
|
84508
|
+
const detail = err2 instanceof Error ? ` (${err2.message.replace(/\s+/g, " ").slice(0, 160)})` : "";
|
|
84509
|
+
log(`[errata] history ${label}: HTTP ${status || "connection error"} on attempt ${attempt} after ${elapsed}s${detail} \u2014 re-POSTing the same unit`);
|
|
84506
84510
|
await sleep(attempt === 1 ? 1e4 : Math.min(3e4 * attempt, 12e4));
|
|
84507
84511
|
continue;
|
|
84508
84512
|
}
|