kantban-cli 0.1.54 → 0.1.55

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.
package/dist/index.js CHANGED
@@ -31,10 +31,10 @@ async function main() {
31
31
  }
32
32
  case "pipeline": {
33
33
  if (args[0] === "stop") {
34
- const { stopPipeline } = await import("./pipeline-KKUWLU3L.js");
34
+ const { stopPipeline } = await import("./pipeline-HW4MXVH7.js");
35
35
  await stopPipeline(args.slice(1));
36
36
  } else {
37
- const { runPipeline } = await import("./pipeline-KKUWLU3L.js");
37
+ const { runPipeline } = await import("./pipeline-HW4MXVH7.js");
38
38
  await runPipeline(client, args);
39
39
  }
40
40
  break;
@@ -911,6 +911,7 @@ var PipelineOrchestrator = class {
911
911
  });
912
912
  }
913
913
  if (event.columnId && this.pipelineColumns.has(event.columnId)) {
914
+ await this.refreshColumnScope(event.columnId);
914
915
  if (this.isColumnBlocked(event.columnId)) {
915
916
  console.error(` [event] ${event.type} ${event.ticketId} \u2192 column ${event.columnId}: BLOCKED by firing constraints \u2014 deferred`);
916
917
  this.deferredTickets.set(event.ticketId, event.columnId);
@@ -1220,7 +1221,13 @@ Merge commit \`${mergeResult.mergeCommitSha}\` detected on \`origin/${colConfig.
1220
1221
  ...(() => {
1221
1222
  const colScope = this.columnScopes.get(columnId);
1222
1223
  const ticket = colScope?.tickets.find((t) => t.id === ticketId);
1223
- if (!config.worktreeEnabled || !ticket) return {};
1224
+ if (!config.worktreeEnabled) return {};
1225
+ if (!ticket) {
1226
+ console.error(
1227
+ ` [fatal-soft] startLoop: ticket ${ticketId} not in cached scope for column ${columnId} despite worktreeEnabled=true; dispatch will fall back to orchestrator cwd. Caller must call refreshColumnScope before spawnOrQueue for this path.`
1228
+ );
1229
+ return {};
1230
+ }
1224
1231
  const wName = generateWorktreeName(ticket.ticket_number, config.name);
1225
1232
  const wPath = renderWorktreePath(ticket.ticket_number, config.name, config.worktreePathPattern, {
1226
1233
  boardId: this.boardId,
@@ -5217,4 +5224,4 @@ export {
5217
5224
  runPipeline,
5218
5225
  stopPipeline
5219
5226
  };
5220
- //# sourceMappingURL=pipeline-KKUWLU3L.js.map
5227
+ //# sourceMappingURL=pipeline-HW4MXVH7.js.map