[AAASM-3815] 🔧 (sonar): Wire projectVersion off 0.0.0 + cover in release skills#188
Conversation
A literal sonar.projectVersion=0.0.0 leaves the SonarCloud quality gate stuck at "Not computed". Use 0.0.1 as the local-scan fallback; CI overrides it dynamically with the live pyproject.toml version. Closes AAASM-3815 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019mSz31RysZF6DYToUoBWLf
Derive sonar.projectVersion from pyproject.toml in the SonarCloud Scan job and pass it via the scanner args, so the quality gate always tracks the current release instead of the static fallback in sonar-project.properties. Refs AAASM-3815 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019mSz31RysZF6DYToUoBWLf
… skills Document in release-runbook and sdk-only-release that the SonarCloud Scan job derives sonar.projectVersion from pyproject.toml, so operators must not hand-bump the sonar-project.properties literal per release (it is the local-scan fallback only, kept off 0.0.0). Refs AAASM-3815 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019mSz31RysZF6DYToUoBWLf
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
🤖 Claude Code — PR Review (AAASM-3815)CI: All checks green (CI Success aggregate ✅, unit/integration tests, codecov, SonarCloud Code Analysis, CodeQL, pip-audit). Scope: Correct and minimal — Side-effects / injection-safety: ✅ Resolve step reads only in-repo content — Verdict: APPROVE-READY |
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019mSz31RysZF6DYToUoBWLf
|
Amended: the static Commit |
|



Description
Fixes the SonarCloud quality gate showing "Not computed" for
python-sdk,caused by
sonar.projectVersion=0.0.0insonar-project.properties.sonar-project.properties: bump the staticsonar.projectVersionoff0.0.0to
0.0.1(local-scan fallback only).rw_run_all_test_and_record.yaml(SonarCloud Scan job): derive the versionfrom
pyproject.tomlat scan time and pass it via the scannerargs(
-Dsonar.projectVersion=...), so the gate always tracks the currentrelease without manual bumps. The step reads only in-repo content (no
untrusted event input).
release-runbook,sdk-only-release): document theauto-derivation so operators do not hand-bump the literal per release.
Type of Change
Breaking Changes
Related Issues
Testing
CI/config + docs change. The edited workflow passes
actionlintcleanly. Noapplication code changed.
Checklist
Closes AAASM-3815
🤖 Generated with Claude Code
https://claude.ai/code/session_019mSz31RysZF6DYToUoBWLf