fix(hwlab-cli): keep D601 v03 on local postgres

This commit is contained in:
Codex
2026-06-23 14:50:33 +00:00
parent a3013c91d0
commit 99cc3320ba
3 changed files with 183 additions and 111 deletions
+13 -1
View File
@@ -1419,7 +1419,7 @@ function compactSpanList(value: unknown, limit: number): unknown[] {
return {
name: span.name ?? null,
service: span.service ?? null,
attributes: compactRecord(attrs, ["failureKind", "terminalStatus", "status", "eventType", "idleMs", "waitingFor", "lastEventLabel", "http.route", "http.status_code", "http.response.status_code", "hwlab.http.stage", "hwlab.http.phase", "hwlab.http.phase.outcome", "hwlab.live_builds.service_id", "hwlab.live_builds.service_kind", "hwlab.live_builds.external", "hwlab.live_builds.deploy_manifest_status", "hwlab.live_builds.artifact_catalog_status"]),
attributes: compactRecord(attrs, ["failureKind", "terminalStatus", "status", "eventType", "idleMs", "waitingFor", "lastEventLabel", "http.route", "http.status_code", "http.response.status_code", "workbench.session_id", "workbench.trace_id", "workbench.turn_id", "workbench.read_model.route", "workbench.read_model.count", "workbench.read_model.family", "workbench.read_model.status", "workbench.read_model.reason", "hwlab.http.stage", "hwlab.http.phase", "hwlab.http.phase.outcome", "hwlab.live_builds.service_id", "hwlab.live_builds.service_kind", "hwlab.live_builds.external", "hwlab.live_builds.deploy_manifest_status", "hwlab.live_builds.artifact_catalog_status"]),
};
});
}
@@ -2097,6 +2097,10 @@ IMPORTANT_ATTRS = [
"workbench.ui.resource_decoded_body_size",
"workbench.ui.resource_next_hop_protocol",
"workbench.ui.resource_server_timing",
"workbench.session_id", "workbench.trace_id", "workbench.turn_id",
"workbench.read_model.route", "workbench.read_model.count",
"workbench.read_model.family", "workbench.read_model.status",
"workbench.read_model.reason",
"db.system", "db.operation.name", "db.sql.table", "db.query.arg_count",
"db.index.expected", "db.pool.max_open", "db.pool.open_connections",
"db.pool.in_use", "db.pool.idle", "db.pool.wait_count",
@@ -2388,6 +2392,10 @@ IMPORTANT_ATTRS = [
"workbench.ui.resource_decoded_body_size",
"workbench.ui.resource_next_hop_protocol",
"workbench.ui.resource_server_timing",
"workbench.session_id", "workbench.trace_id", "workbench.turn_id",
"workbench.read_model.route", "workbench.read_model.count",
"workbench.read_model.family", "workbench.read_model.status",
"workbench.read_model.reason",
"http.target", "http.url", "url.path",
"db.system", "db.operation.name", "db.sql.table", "db.query.arg_count",
"db.index.expected", "db.pool.max_open", "db.pool.open_connections",
@@ -2812,6 +2820,10 @@ IMPORTANT_ATTRS = [
"workbench.ui.resource_decoded_body_size",
"workbench.ui.resource_next_hop_protocol",
"workbench.ui.resource_server_timing",
"workbench.session_id", "workbench.trace_id", "workbench.turn_id",
"workbench.read_model.route", "workbench.read_model.count",
"workbench.read_model.family", "workbench.read_model.status",
"workbench.read_model.reason",
"db.system", "db.operation.name", "db.sql.table", "db.query.arg_count",
"db.index.expected", "db.pool.max_open", "db.pool.open_connections",
"db.pool.in_use", "db.pool.idle", "db.pool.wait_count",