Dependency map, impact preview in maintenance, and a calmer Alerts page
- Map: a Dependencies view showing what would go down with a picked box and what it relies on - Maintenance: lists what depends on a target and can silence those too (same time, audited); the recurring form and update drawer show the same note - Alerts: a headline on where things stand, held-back alerts nested under their cause, severity edge on rows; caused-by now carries the explaining alert's id Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ec9c2f73f0
commit
9caa414829
19 files changed
+944
-40
No files matched your search
@@ -164,7 +164,7 @@ describe("through the routes, the alerts and the notifications", () => {
|
||||
const failing = report.alerts.filter((a) => a.category === "integration");
|
||||
assert.equal(failing.length, 2);
|
||||
for (const f of failing) {
|
||||
assert.deepEqual(f.causedBy, { name: "box" });
|
||||
assert.deepEqual(f.causedBy, { name: "box", alertId: report.alerts.find((a) => a.category === "offline" && a.message.startsWith("box"))!.id });
|
||||
assert.equal(f.silenced, true);
|
||||
}
|
||||
assert.equal(failing.find((f) => f.id.includes("gitea"))!.affects, undefined, "only the root says what it takes with it");
|
||||
@@ -178,7 +178,7 @@ describe("through the routes, the alerts and the notifications", () => {
|
||||
const report = await getAlerts(true);
|
||||
const failing = report.alerts.filter((a) => a.category === "integration");
|
||||
assert.equal(failing.find((f) => f.id.includes("gitea"))!.causedBy, undefined);
|
||||
assert.deepEqual(failing.find((f) => f.id.includes("semaphore"))!.causedBy, { name: "Gitea" });
|
||||
assert.deepEqual(failing.find((f) => f.id.includes("semaphore"))!.causedBy, { name: "Gitea", alertId: "integration:failing:gitea" });
|
||||
});
|
||||
|
||||
test("a kind of service is folded only if every enabled instance of it is explained", async () => {
|
||||
|
||||
Reference in new issue
Block a user