mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 05:51:15 +08:00
fix(types): restore PR conflict resolution type checks
This commit is contained in:
@@ -177,9 +177,9 @@ describe("diagnostics-prometheus service", () => {
|
||||
});
|
||||
|
||||
it("records inbound dispatch and session turn telemetry", () => {
|
||||
const store = __test__.createPrometheusMetricStore();
|
||||
const store = testApi.createPrometheusMetricStore();
|
||||
|
||||
__test__.recordDiagnosticEvent(
|
||||
testApi.recordDiagnosticEvent(
|
||||
store,
|
||||
{
|
||||
...baseEvent(),
|
||||
@@ -189,7 +189,7 @@ describe("diagnostics-prometheus service", () => {
|
||||
},
|
||||
trusted,
|
||||
);
|
||||
__test__.recordDiagnosticEvent(
|
||||
testApi.recordDiagnosticEvent(
|
||||
store,
|
||||
{
|
||||
...baseEvent(),
|
||||
@@ -199,7 +199,7 @@ describe("diagnostics-prometheus service", () => {
|
||||
},
|
||||
trusted,
|
||||
);
|
||||
__test__.recordDiagnosticEvent(
|
||||
testApi.recordDiagnosticEvent(
|
||||
store,
|
||||
{
|
||||
...baseEvent(),
|
||||
@@ -211,7 +211,7 @@ describe("diagnostics-prometheus service", () => {
|
||||
},
|
||||
trusted,
|
||||
);
|
||||
__test__.recordDiagnosticEvent(
|
||||
testApi.recordDiagnosticEvent(
|
||||
store,
|
||||
{
|
||||
...baseEvent(),
|
||||
@@ -224,7 +224,7 @@ describe("diagnostics-prometheus service", () => {
|
||||
},
|
||||
trusted,
|
||||
);
|
||||
__test__.recordDiagnosticEvent(
|
||||
testApi.recordDiagnosticEvent(
|
||||
store,
|
||||
{
|
||||
...baseEvent(),
|
||||
@@ -237,7 +237,7 @@ describe("diagnostics-prometheus service", () => {
|
||||
trusted,
|
||||
);
|
||||
|
||||
const rendered = __test__.renderPrometheusMetrics(store);
|
||||
const rendered = testApi.renderPrometheusMetrics(store);
|
||||
|
||||
expect(rendered).toContain(
|
||||
'openclaw_message_received_total{channel="telegram",source="webhook"} 1',
|
||||
|
||||
@@ -54,7 +54,7 @@ import {
|
||||
import { resolveSilentReplyPolicy } from "../../config/silent-reply.js";
|
||||
import type { OpenClawConfig } from "../../config/types.openclaw.js";
|
||||
import { logVerbose } from "../../globals.js";
|
||||
import { emitAgentEvent, onAgentEvent, registerAgentRunContext } from "../../infra/agent-events.js";
|
||||
import { emitAgentEvent, registerAgentRunContext } from "../../infra/agent-events.js";
|
||||
import { isDiagnosticsEnabled } from "../../infra/diagnostic-events.js";
|
||||
import { formatErrorMessage } from "../../infra/errors.js";
|
||||
import { logSessionTurnCreated } from "../../logging/diagnostic.js";
|
||||
|
||||
Reference in New Issue
Block a user