test: harden channel planner lane matching

This commit is contained in:
Peter Steinberger
2026-03-31 23:02:31 +09:00
parent 4fb373466e
commit 8807b017d1

View File

@@ -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"),
);
}