fix: renumber phases in import.go (Phase 4.5 → Phase 5, Phase 5 → Phase 6)
This commit is contained in:
@@ -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
|
// This prevents ID collisions with subsequently auto-generated issues
|
||||||
if err := sqliteStore.SyncAllCounters(ctx); err != nil {
|
if err := sqliteStore.SyncAllCounters(ctx); err != nil {
|
||||||
fmt.Fprintf(os.Stderr, "Warning: failed to sync ID counters: %v\n", err)
|
fmt.Fprintf(os.Stderr, "Warning: failed to sync ID counters: %v\n", err)
|
||||||
// Don't exit - this is not fatal, just a warning
|
// 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
|
// Do this after all issues are created to handle forward references
|
||||||
var depsCreated, depsSkipped int
|
var depsCreated, depsSkipped int
|
||||||
for _, issue := range allIssues {
|
for _, issue := range allIssues {
|
||||||
|
|||||||
Reference in New Issue
Block a user