Skip to content

Qodana: cold-cache diagnostic run without the XmlHighlighting exclusion - #309

Open
ghostflyby wants to merge 4 commits into
mainfrom
qodana-try
Open

ghostflyby wants to merge 4 commits into
mainfrom
qodana-try

Conversation

@ghostflyby

Copy link
Copy Markdown
Owner

Diagnostic PR requested by JetBrains support: rerun the analysis with a cold Qodana cache and share the logs/report.

Changes against main:

  • qodana.yml: removed the XmlHighlighting exclude for the two GradleTypesafeConventions descriptor files.
  • .github/workflows/inspect-code.yml:
    • removed the Restore Qodana Cache step (and its Compute Qodana Cache Layout, Compute Qodana Cache Key and Save Qodana Cache companions), so the analysis no longer reuses the cache built on main;
    • the Qodana step now runs with --clear-cache --log-level debug and upload-result: true, so the full report is uploaded as the qodana-report artifact.

This branch is diagnostic only and will be reverted once we know whether the XmlHighlighting problems survive the cold-cache run.

…lusion

JetBrains support asked for a rerun with a cold Qodana cache to check
whether the GradleTypesafeConventions XmlHighlighting problems survive
it (PR runs were falling back to the cache built on main):

- drop the XmlHighlighting exclude from qodana.yml
- remove the Qodana native cache restore/save steps
- pass --clear-cache --log-level debug and upload the report artifact
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions

github-actions Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Qodana for JVM

22 new problems were found

Inspection name Severity Problems
Plugin.xml validity 🔴 Failure 5
Unnecessary module dependency 🔶 Warning 7
Plugin Logo check ◽️ Notice 9
Accessor call that can be replaced with property access syntax ◽️ Notice 1

☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

…alysis

Run 35611900107 turned out to be inconclusive: qodana-action defaulted
to pr-mode, so the analysis ran with --script scoped:<diff-scope> over
only the two changed YAML files, and every result in its SARIF was
merged from the baseline (all `unchanged`, report UI empty). Neither
the 0 XmlHighlighting count nor the "healthy" verdict says anything
about a cold full analysis.

- disable pr-mode so the whole project is analysed
- drop --baseline so every problem is exposed instead of being
  labelled unchanged against main's accepted set
The scope#$spi ignore was added because batch analysis cannot resolve
the tooling-API service provider/interface references (annotator-level
false positives). Remove it on this diagnostic branch to check whether
those problems (a) reproduce outside pr-mode at all and (b) land in
qodana.sanity.results like they used to.
…ppression

`<!--suppress XmlHighlighting -->` has sat in front of
supportsKotlinPluginMode since the plugin was created, and whether it
silences anything in qodana batch analysis was never verified
(annotator-class problems were assumed immune to suppress comments).
Remove it so the cold full runs measure the bare descriptor; the
qodana-level XmlHighlighting exclusion is already lifted on this branch.
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.

2 participants