mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-25 16:12:13 +00:00
test: harden channel planner lane matching
This commit is contained in:
@@ -125,10 +125,9 @@ function getTargetedChannelPlanLines(output: string): string[] {
|
||||
.map((line) => line.trim())
|
||||
.filter(
|
||||
(line) =>
|
||||
line.startsWith("channels-batch-") ||
|
||||
(line.includes("surface=channels") &&
|
||||
line.includes("isolate=yes") &&
|
||||
/^channels-.*-isolated\b/u.test(line)),
|
||||
line.startsWith("channels-") &&
|
||||
line.includes("filters=") &&
|
||||
line.includes("surface=channels"),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user