GROW-213 Provision SonarQube project in sonar import command#560
GROW-213 Provision SonarQube project in sonar import command#560kevinmlsilva wants to merge 1 commit into
Conversation
✅ Deploy Preview for sonarqube-cli canceled.
|
Wires up the final step of sonar import: after org/repo selection, create the bound SonarQube project via provision_projects, resolving the org's DevOps platform to format the installation key and enforcing the org's public/private project visibility rules. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
d7316be to
8e830a7
Compare
Code Review ✅ Approved 2 resolved / 2 findingsWires the final project provisioning step into the sonar import command, addressing visibility rule enforcement and redundant API fetching. Integration tests verify correct handling of repo selection and visibility constraints. ✅ 2 resolved✅ Bug: Interactive repo picker ignores visibility rules (disabled flag no-op)
✅ Quality: resolveOrg's almKey is fetched but never used; refetched via API
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 |
|



Summary
sonar import: after org/repo selection, creates the bound SonarQube project via theprovision_projectsAPI and prints its project key.installationKeysparam correctly (<slug>|<id>for GitHub, plainidotherwise).onlyPrivateProjects+ billing entitlement) before provisioning, rejecting mismatched repos.Continuation of GROW-212.
Test plan
bun run typecheckbun run lintbun test tests/integration/specs/import/import.test.ts(29 pass, including new provisioning/visibility test cases)JIRA: GROW-213