Skip to content

Commit 7e204eb

Browse files
roll back logger? (#1994)
* roll back logger? * ci: apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent 56d8768 commit 7e204eb

File tree

3 files changed

+22
-25
lines changed

3 files changed

+22
-25
lines changed

apps/server/src/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ await configure({
7676
lowestLevel: "info",
7777
sinks: ["otel"],
7878
},
79+
{
80+
category: ["logtape", "meta"],
81+
lowestLevel: "warning",
82+
sinks: ["console"],
83+
},
7984
],
8085
contextLocalStorage: new AsyncLocalStorage(),
8186
});

apps/server/src/routes/slack/handler.test.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,6 @@ mock.module("./agent", () => ({
7272
},
7373
}));
7474

75-
mock.module("./confirmation-store", () => ({
76-
store: () => Promise.resolve("test-action-id"),
77-
get: () => Promise.resolve(undefined),
78-
consume: () => Promise.resolve(undefined),
79-
findByThread: () => Promise.resolve(undefined),
80-
replace: () => Promise.resolve(),
81-
}));
82-
8375
const { handleSlackEvent } = await import("./handler");
8476
const { verifySlackSignature } = await import("./verify");
8577

pnpm-lock.yaml

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)