@beryl-so/cli 0.46.2 → 0.46.3
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/dist/commands/runs.js +6 -1
- package/dist/commands/watch.js +3 -1
- package/package.json +1 -1
package/dist/commands/runs.js
CHANGED
|
@@ -556,7 +556,12 @@ export const runCommands = [
|
|
|
556
556
|
"read a large run a slice at a time, optionally narrowed by --status, --group or --q, " +
|
|
557
557
|
"which keeps the output readable rather than saving a round trip. With --page the " +
|
|
558
558
|
"match total and page counts come back under results_page. Paged results are the run's " +
|
|
559
|
-
"settled tests only: anything still running, healing or queued is left out. " +
|
|
559
|
+
"settled tests only: anything still running, healing or queued is left out. A result " +
|
|
560
|
+
"carries `heal` when Beryl tried to repair it: `healed` (steps rewritten with the intent " +
|
|
561
|
+
"unchanged, proved in a browser, re-ran green; `version_no` is the revision it wrote, " +
|
|
562
|
+
"see `tests diff`) or `heal_failed` (the repair did not restore the flow, so the app " +
|
|
563
|
+
"changed), with the agent's rationale. The run's `summary` counts both as `healed` and " +
|
|
564
|
+
"`heal_failed`. " +
|
|
560
565
|
"`runs report` returns the generated report document, `runs explain` an AI explanation " +
|
|
561
566
|
"of one failed result.",
|
|
562
567
|
scope: "project",
|
package/dist/commands/watch.js
CHANGED
|
@@ -180,6 +180,7 @@ export async function watchRun(ctx, ws, project, runId, timeoutMinutes, opts = {
|
|
|
180
180
|
total: run?.total_tests ?? settledCount(lastCounters),
|
|
181
181
|
flaky: run?.summary?.flaky ?? 0,
|
|
182
182
|
healed: run?.summary?.healed ?? 0,
|
|
183
|
+
heal_failed: run?.summary?.heal_failed ?? 0,
|
|
183
184
|
};
|
|
184
185
|
const finalStatus = failFastStop ? "failed" : (run?.status ?? "unknown");
|
|
185
186
|
// Quarantined reds are excluded from `failed` by the API (they land in their own
|
|
@@ -192,7 +193,8 @@ export async function watchRun(ctx, ws, project, runId, timeoutMinutes, opts = {
|
|
|
192
193
|
const extra = (counters.cancelled ? yellow(`, ${counters.cancelled} cancelled`) : "") +
|
|
193
194
|
(counters.quarantined ? yellow(`, ${counters.quarantined} quarantined`) : "") +
|
|
194
195
|
(counters.flaky ? yellow(`, ${counters.flaky} flaky`) : "") +
|
|
195
|
-
(counters.healed ? yellow(`, ${counters.healed} healed`) : "")
|
|
196
|
+
(counters.healed ? yellow(`, ${counters.healed} healed`) : "") +
|
|
197
|
+
(counters.heal_failed ? yellow(`, ${counters.heal_failed} heal failed`) : "");
|
|
196
198
|
const summary = failed > 0
|
|
197
199
|
? red(`${failed} failed`) + `, ${passed} passed` + extra
|
|
198
200
|
: green(`${passed} passed`) + extra;
|
package/package.json
CHANGED