Skip to content

Add inspector diagnostics to reports#29

Merged
JuanTorchia merged 1 commit into
masterfrom
feature/inspector-diagnostics
Apr 23, 2026
Merged

Add inspector diagnostics to reports#29
JuanTorchia merged 1 commit into
masterfrom
feature/inspector-diagnostics

Conversation

@JuanTorchia

Copy link
Copy Markdown
Owner

Summary

  • Add an inspector diagnostics model with source, severity, message, and optional path.
  • Carry diagnostics through ProjectMetadata and preserve them when the CLI combines build metadata with source patterns.
  • Render diagnostics in a dedicated Markdown report section.
  • Emit a Gradle version catalog warning when gradle/libs.versions.toml cannot be parsed while preserving visible build-file inspection.

Validation

  • RED: mvn -pl analyzer-core,build-inspectors -am '-Dtest=MarkdownReportRendererTest,GradleProjectInspectorTest' '-Dsurefire.failIfNoSpecifiedTests=false' test '-Dmaven.compiler.release=22' first failed because the diagnostics model did not exist, then failed because malformed catalog diagnostics were not emitted.
  • mvn -pl analyzer-core,build-inspectors -am '-Dtest=MarkdownReportRendererTest,GradleProjectInspectorTest' '-Dsurefire.failIfNoSpecifiedTests=false' test '-Dmaven.compiler.release=22'
  • mvn clean test '-Dmaven.compiler.release=22'
  • python -B scripts/check-local-markdown-links.py
  • git diff --check

Closes #25.

@JuanTorchia JuanTorchia marked this pull request as ready for review April 23, 2026 12:30
@JuanTorchia JuanTorchia merged commit cbf1981 into master Apr 23, 2026
2 checks passed
@JuanTorchia JuanTorchia deleted the feature/inspector-diagnostics branch April 23, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add inspector diagnostics to analysis metadata

1 participant