Github PR: Expected - Waiting for status to be reported

  • Operating system: Ubuntu 20.04
  • SonarLint plugin version: 3.22.0
  • Programming language you’re coding in: Python
  • Is connected mode used: Connected to SonarCloud

I have read other posts about this problem but they are not quite the same as mine.
The closest is this one: PR Checks Submitted But Results Not Returning - #8 by janos , but sadly i don’t have the github admin privileges to check if its actually “The SonarCloud check”

I have the following status on a PR:

But SonarCloud has already returned:

image

Previously, I was generating and commiting the coverage.xml file and it worked fine. But we changed to do this automatically with the following action:

name: sonarcloud-analysis

on:
  push:
    branches:
      - 'develop'
  pull_request:
    branches:
      - 'develop'
      - 'prod'


jobs:
  sonarcloud:
    name: SonarCloud
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0
      - name: Setup Python
        uses: actions/setup-python@v4
        with:
          python-version: '3.10'
      - name: Install tox and any other packages
        run: |
          python -m pip install --upgrade pip
          pip install tox
      - name: Run tox
        run: tox -e py
      - name: SonarCloud Scan
        uses: SonarSource/sonarcloud-github-action@master
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

Is there anything else i can try before bothering my admin and have a long discussion on why we need to try to uncheck the SonarCloud check?

My reading of the screenshot is not that the SonarCloud analysis didn’t finish (you can clearly see that the check is returned), but instead something else called sonarcloud.

I think bothering your admin is going to be key here to understanding why your workflow is expecting another check.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.