Gate CI builds with Qodana severity thresholds and Docker
Run Qodana from a pinned Docker image in CI with --severity thresholds and qodana.yml to enforce consistent static-analysis gates.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Run Qodana from a pinned Docker image in CI with --severity thresholds and qodana.yml to enforce consistent static-analysis gates.
Use a Qodana baseline in GitHub Actions to suppress known issues while failing CI on new high-severity findings.
PhpStorm's on-the-fly inspections and PHPStan/Psalm serve different purposes. Layer them: IDE for instant syntactic feedback, CLI for whole-program guarantees. Disable auto-runs to avoid UI lag; use Remote Development for large codebases.
When Qodana reports “New problems found” (exit 253) and the CI pipeline fails, the most common culprit is a stale or mismatched baseline. This guide walks through the recognizable symptoms, diagnostic steps, and concrete fixes to get your Qodana checks back on track.
Qodana's baseline feature lets teams adopt static analysis incrementally by capturing a snapshot of existing issues, then failing CI only on new regressions. This post covers generating a baseline, configuring quality gates, and surfacing results in GitHub PR annotations.
A practical architecture note for enabling GoLand's built-in Go inspections: scope, trust boundaries, operational checks, and failure modes.
Block pull requests that introduce new lint violations or security findings by configuring a Codacy quality gate and requiring its status check before merge.
A custom Roslyn analyzer flags `var` in public .NET method signatures inside Visual Studio, turning code-review nits into build-time diagnostics.
Configure SonarQube Quality Gates to fail on new-code issues instead of blocking legacy codebases, then verify gate status in CI.