Skip to content

feat(cli): enhance progress display for post-parse indexing stages#1271

Open
Trenza1ore wants to merge 1 commit into
CodeGraphContext:mainfrom
Trenza1ore:cli-add-post-indexing-progress
Open

feat(cli): enhance progress display for post-parse indexing stages#1271
Trenza1ore wants to merge 1 commit into
CodeGraphContext:mainfrom
Trenza1ore:cli-add-post-indexing-progress

Conversation

@Trenza1ore

Copy link
Copy Markdown

Existing Issue

The indexing progress bar used to hit 100% when parsing finished, then sit there during graph writes and post-processing. It now continues through those phases with per-file or step-based progress.

Closes #1021 #1242 if merged.

Changes

  • Add phase, phase_total, and phase_completed to indexing jobs
  • Drive the CLI bar from phase progress after parsing
  • Report progress for:
    • Writing to graph (per-file)
    • Post-processing: inheritance, call resolution, CALLS edges, C++/Spring
    • Repo-only: Maven, Gradle, ORM, MyBatis
    • Optional: embeddings, inheritance re-resolution
  • Apply the same post-parse step labels on the SCIP indexing path

Example

⠧ Writing to graph... ━━━━━━━━━━━━━━━━━━━━━━━╺━  93% 531/571 0:00:38 ...ages/test_go_cyclomatic_complexity.py

Later steps show labels like Resolving function calls... with step progress (e.g. 2/9).

Updated Unit Test

  • tests/unit/core/test_jobs.py tests/unit/tools/test_jobs.py
    • ADD test case test_update_job_phase_progress
  • tests/unit/core/test_jobs.py tests/unit/tools/test_scip_pipeline_calls.py
    • UPDATE test case test_scip_pipeline_runs_build_function_call_groups

- Writing to graph (per-file)
- Post-processing: inheritance, call resolution, CALLS edges, C++/Spring
- Repo-only: Maven, Gradle, ORM, MyBatis
- Optional: embeddings, inheritance re-resolution
- SCIP path: same step labels for post-parse work
@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown

@Trenza1ore is attempting to deploy a commit to the shashankss1205's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Trenza1ore

Trenza1ore commented Jun 16, 2026

Copy link
Copy Markdown
Author

@Shashankss1205 Please take a look at this PR if this is a desirable feature. Currently, it is a bit frustrating staring at a frozen 100% progress bar for minutes without any update:

  Indexing... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 112/112 0:00:00 ...xamples/get_pull_request_templates.py

(And then minutes of silence)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog tasks

Development

Successfully merging this pull request may close these issues.

Bug: No progress indicator or feedback shown during cgc index command for large repositories

1 participant