1
0

feat: 新增 target description 字段,收紧 id/name 长度,调整延迟列和名称列

This commit is contained in:
2026-05-17 18:42:46 +08:00
parent 7926514986
commit f7193e98ff
36 changed files with 385 additions and 58 deletions

View File

@@ -30,6 +30,7 @@ function makeTarget(
maxOutputBytes: 1024 * 1024,
...cmd,
},
description: null,
group: "default",
id: "test-cmd",
intervalMs: 60000,

View File

@@ -19,6 +19,7 @@ function makeTarget(db: Partial<ResolvedDbTarget["db"]>, overrides?: Partial<Res
url: "sqlite://:memory:",
...db,
},
description: null,
group: "default",
id: "test-db",
intervalMs: 60000,

View File

@@ -155,6 +155,7 @@ describe("HttpChecker", () => {
url?: string;
}): ResolvedHttpTarget {
return {
description: null,
expect: overrides.expect,
group: "default",
http: {