taskplane 0.24.11 → 0.24.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8,7 +8,7 @@ import { parseDependencyReference } from "./discovery.ts";
|
|
|
8
8
|
import { resolveOperatorId } from "./naming.ts";
|
|
9
9
|
import { AllocationError, buildSegmentId, getTaskDurationMinutes } from "./types.ts";
|
|
10
10
|
import type { AllocatedLane, AllocatedTask, AllocateLanesResult, AllocationErrorCode, DependencyGraph, DiscoveryError, GraphValidationResult, LaneAssignment, OrchestratorConfig, ParsedTask, TaskSegmentPlan, TaskSegmentPlanMap, WaveAssignment, WaveComputationResult, WorkspaceConfig, WorktreeInfo } from "./types.ts";
|
|
11
|
-
import { getCurrentBranch } from "./git.ts";
|
|
11
|
+
import { getCurrentBranch, runGit } from "./git.ts";
|
|
12
12
|
import { ensureLaneWorktrees, removeAllWorktrees, removeWorktree } from "./worktree.ts";
|
|
13
13
|
|
|
14
14
|
// ── Dependency Graph Construction ────────────────────────────────────
|
|
@@ -575,10 +575,13 @@ export function resolveBaseBranch(
|
|
|
575
575
|
if (batchBaseBranch.startsWith("orch/") && repoId) {
|
|
576
576
|
try {
|
|
577
577
|
const check = runGit(["rev-parse", "--verify", `refs/heads/${batchBaseBranch}`], repoRoot);
|
|
578
|
-
|
|
578
|
+
console.error(`[resolveBaseBranch] repoId=${repoId} batchBaseBranch=${batchBaseBranch} repoRoot=${repoRoot} check.ok=${check.ok}`);
|
|
579
|
+
if (check.ok) {
|
|
579
580
|
return batchBaseBranch;
|
|
580
581
|
}
|
|
581
|
-
} catch {
|
|
582
|
+
} catch (err) {
|
|
583
|
+
console.error(`[resolveBaseBranch] repoId=${repoId} batchBaseBranch=${batchBaseBranch} THREW: ${err}`);
|
|
584
|
+
}
|
|
582
585
|
}
|
|
583
586
|
|
|
584
587
|
// Step 1: Detect current branch of this specific repo.
|