chaoss / chaoss/disclosure

CLI should show progress for longer duration scans

Open
#100 1 comment 0 reactions 0 assignees View on GitHub
enhancement user-experience
Dominant language
Go
Stars
26
Forks
13
Avg merge
6d 18h
Merged PRs (30d)
3

Description

Currently the cli outputs when the entire scan is complete. This is fine for smaller number of commits which complete within seconds, but for larger number of commits (10k+) the scan time is longer and so the cli appears stuck until it has completed.

The user should be notified with may be something like a percent completed like this:
```sh
$ disclosure scan
0%...10%...20%...50%...100.
# followed by the scan results
```

Contributor guide

Open the contributing guide

Research direction

Start at the CLI scan entry point and trace how commits are processed until the final output is produced. Try a scan with more than 10k commits, then add progress reporting that reaches 100% before the scan results and verify that smaller scans still complete normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.