Repository navigation
CLI-1521 CLI: Gate Architecture commands in SQS for 2026.6 onwards - #1239
Conversation
✅ Deploy Preview for sonarqube-cli canceled.
|
tomshafir-sonarsource
left a comment
There was a problem hiding this comment.
Looks good, approved with one small comment on the unneeded Cloud test setup.
Code Review ✅ Approved 1 closed / 1 findings🟡 Medium risk · Gating Server Architecture commands at 2026.6 could unnecessarily deny access on installations that expose the required APIs below that threshold. Gates Architecture commands on SonarQube Server version, requiring 2026.6 or later before resolving a project, with Cloud unchanged and Community Build excluded. A finding that the Community Build rejection message suggested an upgrade that could not help was resolved, so the message no longer points to an impossible fix. No open issues found. ✅ 1 closed✅ Quality: Community Build rejection says upgrade to 2026.6, which can't help
Verification Rules 2/2 met PRs 2 inspectedFunctional validation No results Rules 2 passed 2 not applicable
Broader impact PRs 2 inspectedCross-PR 2 PRs inspected 0 open impacts
Auto-approval Withheld For more verification details, comment OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
|



Architecture commands currently reach public endpoints that are absent from older SonarQube Server releases. Check the Server version before resolving a project and show the minimum supported version when it is too old. Cloud is unchanged, and Community Build is excluded because it does not include Architecture; if the version cannot be read, retain the existing API compatibility handling.
The proposed minimum is 2026.6, pending confirmation that the required public APIs ship in that release.
Validation: 104 Architecture unit tests, 504 integration tests plus the unknown-version case, typecheck and lint. Checked SQS 2026.5.4 locally, Jonathan's 2026.6-SNAPSHOT build, and read-only Cloud operations.