Skip to content

feat(api-detector-core): quiet default detector console output to stage headers - #77

Merged
Arc-E-Tect merged 1 commit into
mainfrom
feat/detector-stage-progress-reporting
Aug 25, 2026
Merged

feat(api-detector-core): quiet default detector console output to stage headers#77
Arc-E-Tect merged 1 commit into
mainfrom
feat/detector-stage-progress-reporting

Conversation

@Arc-E-Tect

Copy link
Copy Markdown
Owner

Summary

  • Throttled per-batch scan progress lines from ScanProgressReporter.step() now log at INFO (visible only with --info) instead of LIFECYCLE, so the default console output no longer streams batch counters.
  • ScanProgressReporter.complete() still logs at LIFECYCLE, so the final per-phase "done, N item(s)" line stays visible by default.
  • New DetectorStageReporter emits the always-visible top-level "<Plugin Name>: [N/M] <stage>..." headers marking each major phase of a plugin run.

Together these let a detector plugin's default console output look like:

Doppelganger API Detector: [1/3] Scanning @RestController classes...
Scanning @RestController classes: done, 45 item(s)
Doppelganger API Detector: [2/3] Collecting OpenAPI endpoints...
Resolving OpenAPI documents: done, 1 item(s)
Doppelganger API Detector: [3/3] Scanning Spring RestDocs verification evidence...

with per-batch detail only surfacing under --info.

Note: this only touches the shared api-detector-core library. Wiring DetectorStageReporter into the actual Shadow/Mirage/Doppelganger plugin task classes (in SoftwareEngineeringDoneRight-Gradle) is a separate follow-up.

…ge headers

Throttled per-batch scan progress now logs at INFO (visible only with
--info) instead of LIFECYCLE, and a new DetectorStageReporter emits the
always-visible "[N/M] stage" headers, so default output shows one line
per major phase instead of a stream of batch counters.
@Arc-E-Tect
Arc-E-Tect merged commit d270839 into main Aug 25, 2026
4 checks passed
@Arc-E-Tect
Arc-E-Tect deleted the feat/detector-stage-progress-reporting branch August 25, 2026 18:24
Arc-E-Tect added a commit that referenced this pull request Aug 25, 2026
# [1.5.0](api-detector-core-v1.4.0...api-detector-core-v1.5.0) (2026-08-25)

### ✨ New and updated features

* **api-detector-core:** quiet default detector console output to stage headers ([#77](#77)) ([d270839](d270839)), closes [#77](#77)

### 🐛 Bug Fixes

* **ci:** correct the Latest-version sed pattern in two release workflows ([#76](#76)) ([a02c3ce](a02c3ce)), closes [#76](#76)

### 📝 Documentation

* **api-detector-core:** update README version to 1.4.0 [skip ci] ([4491ed5](4491ed5))
@Arc-E-Tect

Copy link
Copy Markdown
Owner Author

🎉 This PR is included in version 1.5.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant