@erdoai/cli 0.103.0 → 0.103.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/dist/index.js +4 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4185,7 +4185,8 @@ function renderDecision(detail) {
|
|
|
4185
4185
|
console.log("");
|
|
4186
4186
|
console.log(detail.actions.length === 1 ? "Action:" : `Actions (${detail.actions.length}):`);
|
|
4187
4187
|
detail.actions.forEach((a, i) => {
|
|
4188
|
-
|
|
4188
|
+
const attempt = a.superseded_by_retry ? " (superseded by a later retry of this call)" : a.is_carried_retry ? " (retry of an earlier attempt at this call)" : "";
|
|
4189
|
+
console.log(` ${i + 1}. ${a.action_key} \u2014 ${a.execution_status}${attempt}`);
|
|
4189
4190
|
if (a.subject_label) console.log(` subject: ${a.subject_label}`);
|
|
4190
4191
|
if (a.effective_at) console.log(` effective: ${a.effective_at}`);
|
|
4191
4192
|
if (a.result_summary) console.log(` result: ${a.result_summary}`);
|
|
@@ -5160,8 +5161,8 @@ pagesCmd.command("restore <id>").description("Restore a previously deleted page
|
|
|
5160
5161
|
}
|
|
5161
5162
|
});
|
|
5162
5163
|
pagesCmd.command("monitor <id>").description(
|
|
5163
|
-
"Control health monitoring for a published page: --exclude stops all probing (dashboards, trackers, demos); --ack <sig> acknowledges a known failure class (mobile:overflow, desktop:resource) so it stops alerting and never auto-repairs while a NEW failure class still alerts"
|
|
5164
|
-
).option("--exclude [reason]", "exclude this page from monitoring entirely (optional reason)").option("--include", "re-include the page in monitoring").option("--ack <sigs>", "comma-separated failure signatures to acknowledge (e.g. mobile:overflow,desktop:resource)").option("--unack <sigs>", "comma-separated failure signatures to un-acknowledge").option("--reset", "clear all acknowledged failure signatures").action(async (id, opts) => {
|
|
5164
|
+
"Control health monitoring for a published page: --exclude stops all probing (dashboards, trackers, demos); --ack <sig> acknowledges a known failure class (mobile:overflow, desktop:resource, visual:defect, visual:score) so it stops alerting and never auto-repairs while a NEW failure class still alerts"
|
|
5165
|
+
).option("--exclude [reason]", "exclude this page from monitoring entirely (optional reason)").option("--include", "re-include the page in monitoring").option("--ack <sigs>", "comma-separated failure signatures to acknowledge (e.g. mobile:overflow,desktop:resource,visual:defect,visual:score)").option("--unack <sigs>", "comma-separated failure signatures to un-acknowledge").option("--reset", "clear all acknowledged failure signatures").action(async (id, opts) => {
|
|
5165
5166
|
try {
|
|
5166
5167
|
const api = new ErdoClient();
|
|
5167
5168
|
const body = {};
|