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:
@@ -390,16 +390,6 @@ export class CodeGraph {
|
||||
|
||||
// Resolve references to create call/import/extends edges
|
||||
if (result.success && result.filesIndexed > 0) {
|
||||
// Signal transition so progress bar doesn't hang at "Parsing 100%"
|
||||
options.onProgress?.({
|
||||
phase: 'finalizing',
|
||||
current: 0,
|
||||
total: 0,
|
||||
});
|
||||
|
||||
// Yield so shimmer worker can flush the phase transition to stdout
|
||||
await new Promise(resolve => setImmediate(resolve));
|
||||
|
||||
// Get count without loading all refs into memory
|
||||
const unresolvedCount = this.queries.getUnresolvedReferencesCount();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user