fix: expand linux service PATH handling

This commit is contained in:
Peter Steinberger
2026-01-23 19:16:41 +00:00
parent 3d958d5466
commit ff30cef8a4
10 changed files with 99 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
import { afterEach, beforeEach, vi } from "vitest";
import { afterAll, afterEach, beforeEach, vi } from "vitest";
import type {
ChannelId,
@@ -9,6 +9,10 @@ import type { ClawdbotConfig } from "../src/config/config.js";
import type { OutboundSendDeps } from "../src/infra/outbound/deliver.js";
import { setActivePluginRegistry } from "../src/plugins/runtime.js";
import { createTestRegistry } from "../src/test-utils/channel-plugins.js";
import { withIsolatedTestHome } from "./test-env";
const testEnv = withIsolatedTestHome();
afterAll(() => testEnv.cleanup());
const pickSendFn = (id: ChannelId, deps?: OutboundSendDeps) => {
switch (id) {
case "discord":