Skip to content

Update sonarcube host link to Nvidia#1015

Merged
rapids-bot[bot] merged 3 commits intoNVIDIA:mainfrom
rgsl888prabhu:fix_sonar_qube
Apr 1, 2026
Merged

Update sonarcube host link to Nvidia#1015
rapids-bot[bot] merged 3 commits intoNVIDIA:mainfrom
rgsl888prabhu:fix_sonar_qube

Conversation

@rgsl888prabhu
Copy link
Copy Markdown
Collaborator

Description

Update sonarcube host link to Nvidia

Checklist

  • I am familiar with the Contributing Guidelines.
  • Testing
    • New or existing tests cover these changes
    • Added tests
    • Created an issue to follow-up
    • NA
  • Documentation
    • The documentation is up to date with these changes
    • Added new documentation
    • NA

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 31, 2026

📝 Walkthrough

Walkthrough

Updates SonarQube configuration by adding a host URL property to the main configuration file and updating the monitored release branch from version 26.02 to 26.04 in the branch list.

Changes

Cohort / File(s) Summary
SonarQube Configuration
sonar-project.properties, sonarqube/sonar-branches.txt
Added sonar.host.url property pointing to https://sonar.nvidia.com and updated release branch entry from release/26.02 to release/26.04.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: updating the SonarQube host configuration to point to NVIDIA's server.
Description check ✅ Passed The description is related to the changeset, stating the intent to update the SonarQube host link to NVIDIA.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@sonar-project.properties`:
- Line 8: The sonar.host.url property value "https://sonar.nvidia.com" is
unreachable; confirm the correct SonarQube hostname with the cuOpt team (per
sonarqube/README.md) and update the sonar.host.url property to the verified host
(e.g., sonarqube.nvidia.com or the internal domain). Alternatively make
sonar.host.url configurable via CI environment variables and reference that
variable in the properties file so CI can override the host; ensure the final
value resolves via DNS and is accessible from the CI runners before merging.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: abff35b2-4994-4ba9-a456-97117f6c57c7

📥 Commits

Reviewing files that changed from the base of the PR and between 0da41fa and ab53a50.

📒 Files selected for processing (2)
  • sonar-project.properties
  • sonarqube/sonar-branches.txt

sonar.projectName=NVIDIA cuOpt
sonar.projectVersion=1.0

sonar.host.url=https://sonar.nvidia.com
Copy link
Copy Markdown

@coderabbitai coderabbitai bot Mar 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verify the SonarQube host URL is accessible

echo "Testing accessibility of SonarQube host..."
curl -s -o /dev/null -w "HTTP Status: %{http_code}\n" https://sonar.nvidia.com

echo -e "\nChecking if URL redirects or requires authentication..."
curl -I https://sonar.nvidia.com 2>&1 | head -n 10

Repository: NVIDIA/cuopt

Length of output: 460


🏁 Script executed:

# Search for other SonarQube references in the repository
rg -i "sonar" --type-list | head -20
rg -i "sonar" -g "*.properties" -g "*.yml" -g "*.yaml" -g "*.json" -g "*.md" -g "*.sh"

Repository: NVIDIA/cuopt

Length of output: 3111


🏁 Script executed:

# Check for CI/CD configuration files
fd -e "yml" -e "yaml" -e "json" -e "sh" | rg -i "github|gitlab|jenkins|ci|workflow" | head -20

Repository: NVIDIA/cuopt

Length of output: 542


🏁 Script executed:

# Look for any documentation or README files
fd -e "md" -e "txt" | xargs rg -l -i "sonar" 2>/dev/null

Repository: NVIDIA/cuopt

Length of output: 156


🏁 Script executed:

cat sonarqube/README.md

Repository: NVIDIA/cuopt

Length of output: 1459


🏁 Script executed:

# Check the full sonar-project.properties file to see all context
cat sonar-project.properties

Repository: NVIDIA/cuopt

Length of output: 410


🏁 Script executed:

# Search for any other references to sonar.nvidia.com or variations
rg "sonar\." -A 1 -B 1

Repository: NVIDIA/cuopt

Length of output: 662


🏁 Script executed:

# Check git history or comments for the hostname
git log --all --oneline --grep="sonar" | head -20

Repository: NVIDIA/cuopt

Length of output: 147


🏁 Script executed:

# Check the recent commit that updated the sonar host URL
git show ab53a50 --stat
git show ab53a50

Repository: NVIDIA/cuopt

Length of output: 50371


🏁 Script executed:

# Check the previous version to see what URL was used before
git show 5d2ab5a:sonar-project.properties 2>/dev/null || echo "File may not have existed"

Repository: NVIDIA/cuopt

Length of output: 371


Critical: The SonarQube host URL fails DNS resolution.

The hostname sonar.nvidia.com cannot be resolved. Testing shows:

curl: (6) Could not resolve host: sonar.nvidia.com
HTTP Status: 000

When sonar-scanner executes during CI/CD with this configuration, it will fail immediately with a connection error. Verify the correct SonarQube instance hostname with the cuOpt team (as referenced in sonarqube/README.md). Possible alternatives include sonarqube.nvidia.com, an internal-only domain, or a different host configuration entirely.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@sonar-project.properties` at line 8, The sonar.host.url property value
"https://sonar.nvidia.com" is unreachable; confirm the correct SonarQube
hostname with the cuOpt team (per sonarqube/README.md) and update the
sonar.host.url property to the verified host (e.g., sonarqube.nvidia.com or the
internal domain). Alternatively make sonar.host.url configurable via CI
environment variables and reference that variable in the properties file so CI
can override the host; ensure the final value resolves via DNS and is accessible
from the CI runners before merging.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not available in public

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rgsl888prabhu, understood! The sonar.nvidia.com hostname is an internal NVIDIA domain, not reachable from public networks. My DNS resolution check was run from a public sandbox environment, which naturally wouldn't have access to NVIDIA's internal infrastructure. The URL is correct and will resolve fine from NVIDIA's CI runners. Apologies for the false positive!

@rgsl888prabhu rgsl888prabhu self-assigned this Mar 31, 2026
@rgsl888prabhu rgsl888prabhu added bug Something isn't working non-breaking Introduces a non-breaking change labels Mar 31, 2026
@rgsl888prabhu rgsl888prabhu requested a review from a team as a code owner April 1, 2026 19:36
@rgsl888prabhu rgsl888prabhu requested a review from Iroy30 April 1, 2026 19:36
@rgsl888prabhu
Copy link
Copy Markdown
Collaborator Author

/merge

@rapids-bot rapids-bot bot merged commit 2d93109 into NVIDIA:main Apr 1, 2026
74 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants