fix: renumber phases in import.go (Phase 4.5 → Phase 5, Phase 5 → Phase 6)

This commit is contained in:
v4rgas
2025-10-13 20:13:44 -03:00
committed by Steve Yegge
parent 64c13c759b
commit 367259168d

View File

@@ -238,14 +238,14 @@ Behavior:
}
}
// Phase 4.5: Sync ID counters after importing issues with explicit IDs
// Phase 5: Sync ID counters after importing issues with explicit IDs
// This prevents ID collisions with subsequently auto-generated issues
if err := sqliteStore.SyncAllCounters(ctx); err != nil {
fmt.Fprintf(os.Stderr, "Warning: failed to sync ID counters: %v\n", err)
// Don't exit - this is not fatal, just a warning
}
// Phase 5: Process dependencies
// Phase 6: Process dependencies
// Do this after all issues are created to handle forward references
var depsCreated, depsSkipped int
for _, issue := range allIssues {