feat: Remove unused 'finalizing' phase from indexing progress
Eliminates the intermediate 'finalizing' phase that was added as a progress bar transition state but served no functional purpose. Simplifies the progress flow by going directly from 'storing' to 'resolving' phases, removing associated UI labels and progress callbacks.
This commit is contained in:
1 parent
9a2d3d9a13
commit
cacc213f09
3 files changed
+1
-21
No files matched your search
+1
-10
@@ -51,7 +51,7 @@ const WORKER_RECYCLE_INTERVAL = 250;
|
||||
* Progress callback for indexing operations
|
||||
*/
|
||||
export interface IndexProgress {
|
||||
phase: 'scanning' | 'parsing' | 'storing' | 'finalizing' | 'resolving';
|
||||
phase: 'scanning' | 'parsing' | 'storing' | 'resolving';
|
||||
current: number;
|
||||
total: number;
|
||||
currentFile?: string;
|
||||
@@ -852,15 +852,6 @@ export class ExtractionOrchestrator {
|
||||
(parseWorker as import('worker_threads').Worker).terminate().catch(() => {});
|
||||
}
|
||||
|
||||
// Phase 3: Resolve references
|
||||
onProgress?.({
|
||||
phase: 'resolving',
|
||||
current: 0,
|
||||
total: 1,
|
||||
});
|
||||
|
||||
// TODO: Implement reference resolution in Phase 3
|
||||
|
||||
return {
|
||||
success: filesIndexed > 0 || errors.filter((e) => e.severity === 'error').length === 0,
|
||||
filesIndexed,
|
||||
|
||||
Reference in new issue
Block a user