"File no longer exists" comment error in Azure DevOps Pull Requests

  • ALM used (Azure DevOps)
  • CI system used - Azure DevOps
  • Languages of the repository
  • Only if the SonarCloud project is private
  • Error observed ‘’‘This file no longer exists in the latest pull request changes. It may have been moved or deleted.’‘’
  • Raise any PR in the organisation.
  • Potential workaround - Mark as resolve

Hi,

Welcome to the community!

Unfortunately, I’m going to need a little more detail here.

 
Ann

Sure, please tell me what details you would like to know.

Hi,

I guess we’re dealing with a PR analysis? Where do you see the error message? In the analysis logs? Can you share the analysis log?

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.

 
Ann

There is no error message. Only multiple comments appear in the PR with the message “This file no longer exists in the latest pull request changes” for different files, some of them don’t exist in the repo. The thing is no files were removed from the PR changes.

PLEASE NOTE: This is happening across multiple Sonar and Azure DevOps projects.

I tried the folllowing things:

  1. clear cache of the analysis
  2. check if any backlog tasks are running.
  3. Deleted the background task of the PR, in chance that helps with the cache. The status of the bacjground task for the PR were “successful”
  4. Recreate a new PR to remove cache

Hi,

 
Ann

Sorry, that tutorial was unclear to me, where do I get the logs?

Also, I am a little confused as to the use of a log, considering I have mentioned it an issue across multiple different projects

Hi,

I’m looking for the job logs: the logging from where the analysis command was run. It’s presumably in your CI.

 
HTH,
Ann

Note: We are getting the same erronous comment for all types of builds python, , mvc .net, xamarin, maui, this is analysis log from a react app CI:

2026-06-08T15:08:39. ##[section]Starting: Run Code Analysis
2026-06-08T15:08:39.==============================================================================
2026-06-08T15:08:39. Task         : Run Code Analysis
2026-06-08T15:08:39.Description  : Run scanner and upload the results to SonarQube Cloud.
2026-06-08T15:08:39. Version      : 4.2.4
2026-06-08T15:08:39. Author       : sonarsource
2026-06-08T15:08:39. Help         : This task is not needed for Maven and Gradle projects since the scanner should be run as part of the build.

==============================================================================
2026-06-08T15:08:40.2416709Z [command]C:\Windows\system32\cmd.exe /D/C "D:\a\_tasks\SonarCloudAnalyze\sonar-scanner\bin\sonar-scanner.bat"
2026-06-08T15:08:47.2499828Z 15:08:47.213 INFO  Scanner configuration file: D:\a\_tasks\SonarCloudAnalyze\4.2.4\sonar-scanner\bin\..\conf\sonar-scanner.properties
2026-06-08T15:08:47.2960714Z 15:08:47.294 INFO  Project root configuration file: NONE
2026-06-08T15:08:47.3637014Z 15:08:47.357 INFO  SonarScanner CLI 8.1.0.6389
2026-06-08T15:08:47.3637651Z 15:08:47.361 INFO  Windows Server 2025 10.0 amd64
2026-06-08T15:08:58.6969670Z 15:08:58.477 INFO  Communicating with SonarQube Cloud
2026-06-08T15:08:58.6970250Z 15:08:58.478 INFO  JRE provisioning: os[windows], arch[amd64]
2026-06-08T15:09:08.9494342Z 15:09:08.300 INFO  Starting SonarScanner Engine...
2026-06-08T15:09:08.9494800Z 15:09:08.302 INFO  Java 21.0.9 Eclipse Adoptium (64-bit)
2026-06-08T15:09:13.4185301Z 15:09:13.400 INFO  Load global settings
2026-06-08T15:09:14.4896253Z 15:09:14.486 INFO  Load global settings (done) | time=1072ms
2026-06-08T15:09:14.6627220Z 15:09:14.661 INFO  Server id:
2026-06-08T15:09:16.0356615Z 15:09:16.033 INFO  Loading required plugins
2026-06-08T15:09:16.0357646Z 15:09:16.034 INFO  Load plugins index
2026-06-08T15:09:16.2285263Z 15:09:16.221 INFO  Load plugins index (done) | time=187ms
2026-06-08T15:09:16.2286386Z 15:09:16.226 INFO  Load/download plugins
2026-06-08T15:09:17.6972611Z 15:09:17.695 INFO  Load/download plugins (done) | time=1470ms
2026-06-08T15:09:18.1808281Z 15:09:18.161 INFO  Loaded core extensions: sca, architecture, a3s
2026-06-08T15:09:18.8199173Z 15:09:18.808 INFO  Process project properties
2026-06-08T15:09:18.8876670Z 15:09:18.860 INFO  Project key:x
2026-06-08T15:09:18.8877530Z 15:09:18.862 INFO  Base dir: D:\a\1\s
2026-06-08T15:09:18.8878064Z 15:09:18.866 INFO  Working dir: D:\a\1\s\.scannerwork
2026-06-08T15:09:18.8878587Z 15:09:18.886 INFO  Load project settings for component key: x
2026-06-08T15:09:19.4213495Z 15:09:19.417 INFO  Load project settings for component key: x (done) | time=531ms
2026-06-08T15:09:19.4562597Z 15:09:19.450 INFO  Found an active CI vendor: 'Azure DevOps'
2026-06-08T15:09:20.9524324Z 15:09:20.951 INFO  Check ALM binding of project x 2026-06-08T15:09:21.2594102Z 15:09:21.257 INFO  Detected project binding: NOT_BOUND
2026-06-08T15:09:21.2651360Z 15:09:21.258 INFO  Check ALM binding of project (done) | time=309ms
2026-06-08T15:09:21.2683524Z 15:09:21.267 INFO  Load branch configuration
2026-06-08T15:09:21.2716951Z 15:09:21.270 INFO  Load branch configuration (done) | time=2ms
2026-06-08T15:09:21.2768188Z 15:09:21.275 INFO  Create analysis
2026-06-08T15:09:21.5828519Z 15:09:21.570 INFO  Pull request x
2026-06-08T15:09:21.5831365Z 15:09:21.572 INFO  Create analysis (done) | time=296ms
2026-06-08T15:09:21.8702986Z 15:09:21.865 INFO  Load quality profiles
2026-06-08T15:09:22.3541982Z 15:09:22.334 INFO  Load quality profiles (done) | time=468ms
2026-06-08T15:09:23.5035180Z 15:09:23.501 INFO  Load active rules
2026-06-08T15:09:24.5692208Z 15:09:24.562 INFO  Load active rules (done) | time=1061ms
2026-06-08T15:09:25.0965478Z 15:09:25.090 INFO  Organization key: w
2026-06-08T15:09:25.1735211Z 15:09:25.165 INFO  Preprocessing files...
2026-06-08T15:09:35.2212259Z 15:09:35.220 INFO  
2026-06-08T15:09:45.2221526Z 15:09:45.220 INFO  
2026-06-08T15:09:55.2240485Z 15:09:55.223 INFO  
2026-06-08T15:10:05.2275961Z 15:10:05.225 INFO  
2026-06-08T15:10:07.5476370Z 15:10:07.545 INFO  6 languages detected in 86 preprocessed files (done) | time=42377ms
2026-06-08T15:10:07.5495183Z 15:10:07.548 INFO  0 files ignored because of inclusion/exclusion patterns
2026-06-08T15:10:07.5497264Z 15:10:07.548 INFO  128073 files ignored because of scm ignore settings
2026-06-08T15:10:07.8908784Z 15:10:07.887 INFO  Loading plugins for detected languages
2026-06-08T15:10:07.8909862Z 15:10:07.888 INFO  Load/download plugins
2026-06-08T15:10:09.9674776Z 15:10:09.965 INFO  Load/download plugins (done) | time=2076ms
2026-06-08T15:10:10.3334739Z 15:10:10.331 INFO  Load project repositories
2026-06-08T15:10:10.8027842Z 15:10:10.801 INFO  Load project repositories (done) | time=471ms
2026-06-08T15:10:10.8164054Z 15:10:10.810 INFO  SCM collecting changed files in the branch
2026-06-08T15:10:10.8198188Z 15:10:10.817 WARN  Could not find ref: master in refs/heads, refs/remotes/upstream or refs/remotes/origin
2026-06-08T15:10:10.8407796Z 15:10:10.827 INFO  SCM collecting changed files in the branch (done) | time=16ms
2026-06-08T15:10:10.9109460Z 15:10:10.900 INFO  Indexing files...
2026-06-08T15:10:10.9129538Z 15:10:10.901 INFO  Project configuration:
2026-06-08T15:10:10.9262523Z 15:10:10.902 INFO    Excluded sources: **/build-wrapper-dump.json
2026-06-08T15:10:10.9279633Z 15:10:10.902 INFO    Excluded tests: /**/*.MockServices/**/*, /**/*.Tests/**/*
2026-06-08T15:10:10.9410482Z 15:10:10.939 INFO  85 files indexed (done) | time=38ms
2026-06-08T15:10:10.9457403Z 15:10:10.942 INFO  Quality profile for css: Tailwind
2026-06-08T15:10:10.9527619Z 15:10:10.943 INFO  Quality profile for js: Sonar way
2026-06-08T15:10:10.9694684Z 15:10:10.944 INFO  Quality profile for json: SonarQube Way
2026-06-08T15:10:10.9752849Z 15:10:10.944 INFO  Quality profile for ts: Sonar way
2026-06-08T15:10:10.9773694Z 15:10:10.945 INFO  Quality profile for web: Sonar way
2026-06-08T15:10:10.9823962Z 15:10:10.945 INFO  Quality profile for xml: Sonar way
2026-06-08T15:10:11.0150830Z 15:10:10.946 INFO  ------------- Run sensors on module x
2026-06-08T15:10:11.0246544Z 15:10:11.022 INFO  Load metrics repository
2026-06-08T15:10:11.1721862Z 15:10:11.170 INFO  Load metrics repository (done) | time=151ms
2026-06-08T15:10:11.2073270Z 15:10:11.193 INFO  Sensor cache enabled
2026-06-08T15:10:11.2074095Z 15:10:11.203 INFO  Load sensor cache
2026-06-08T15:10:11.6088792Z 15:10:11.608 INFO  Load sensor cache (404) | time=403ms
2026-06-08T15:10:12.0954951Z 15:10:12.091 INFO  Reflections took 122 ms to scan 1 urls, producing 26 keys and 266 values
2026-06-08T15:10:13.4332983Z 15:10:13.427 INFO  Sensor HTML [web]
2026-06-08T15:10:13.4350814Z 15:10:13.428 INFO  Sensor HTML is restricted to changed files only
2026-06-08T15:10:13.7682313Z 15:10:13.766 WARN  Invalid character encountered in file D:/a/1/s/repo/public/images/learning.png at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
2026-06-08T15:10:13.7869454Z 15:10:13.784 WARN  Invalid character encountered in file D:/a/1/s/repo/public/images/logo.png at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
2026-06-08T15:10:14.4116252Z 15:10:14.410 WARN  Invalid character encountered in file D:/a/1/s/repo/public/images/Visitor.png at line 4 for encoding windows-1252. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
2026-06-08T15:10:14.5843884Z 15:10:14.582 WARN  Invalid character encountered in file D:/a/1/s/repo/public/images/Visitor-favicon.png at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
2026-06-08T15:10:14.6791758Z 15:10:14.678 WARN  Invalid character encountered in file D:/a/1/s/repo/public/images/management-trans.png at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
2026-06-08T15:10:14.7277411Z 15:10:14.723 WARN  Invalid character encountered in file D:/a/1/s/repo/public/images/image.png at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
2026-06-08T15:10:14.8013945Z 15:10:14.800 INFO  Sensor HTML [web] (done) | time=1373ms
2026-06-08T15:10:14.8025174Z 15:10:14.801 INFO  Sensor XML Sensor [xml]
2026-06-08T15:10:14.8026076Z 15:10:14.801 INFO  Sensor XML Sensor is restricted to changed files only
2026-06-08T15:10:14.8211236Z 15:10:14.820 INFO  1 source file to be analyzed
2026-06-08T15:10:15.0579197Z 15:10:15.045 INFO  1/1 source file has been analyzed
2026-06-08T15:10:15.0579834Z 15:10:15.046 INFO  Sensor XML Sensor [xml] (done) | time=245ms
2026-06-08T15:10:15.0832730Z 15:10:15.048 INFO  Sensor JasminFileCollectorSensor [jasmin]
2026-06-08T15:10:15.0985920Z 15:10:15.052 INFO  Sensor JasminFileCollectorSensor [jasmin] (done) | time=3ms
2026-06-08T15:10:15.1021256Z 15:10:15.053 INFO  Sensor IaC CloudFormation Sensor [iac]
2026-06-08T15:10:15.1027514Z 15:10:15.065 INFO  There are no files to be analyzed for the CloudFormation language
2026-06-08T15:10:15.1030719Z 15:10:15.066 INFO  Sensor IaC CloudFormation Sensor [iac] (done) | time=13ms
2026-06-08T15:10:15.1036687Z 15:10:15.066 INFO  Sensor IaC cfn-lint report Sensor [iac]
2026-06-08T15:10:15.1088027Z 15:10:15.067 INFO  Sensor IaC cfn-lint report Sensor [iac] (done) | time=0ms
2026-06-08T15:10:15.1101644Z 15:10:15.076 INFO  Sensor IaC hadolint report Sensor [iac]
2026-06-08T15:10:15.1128611Z 15:10:15.076 INFO  Sensor IaC hadolint report Sensor [iac] (done) | time=0ms
2026-06-08T15:10:15.1135447Z 15:10:15.077 INFO  Sensor IaC Azure Resource Manager Sensor [iac]
2026-06-08T15:10:15.1139175Z 15:10:15.078 INFO  Sensor IaC Azure Resource Manager Sensor is restricted to changed files only
2026-06-08T15:10:15.1146695Z 15:10:15.087 INFO  There are no files to be analyzed for the Azure Resource Manager language
2026-06-08T15:10:15.1148802Z 15:10:15.087 INFO  Sensor IaC Azure Resource Manager Sensor [iac] (done) | time=9ms
2026-06-08T15:10:15.1156525Z 15:10:15.088 INFO  Sensor Java Config Sensor [iac]
2026-06-08T15:10:15.1176950Z 15:10:15.099 INFO  There are no files to be analyzed for the Java language
2026-06-08T15:10:15.1177527Z 15:10:15.099 INFO  Sensor Java Config Sensor [iac] (done) | time=10ms
2026-06-08T15:10:15.1179103Z 15:10:15.100 INFO  Sensor IaC Docker Sensor [iac]
2026-06-08T15:10:15.1187465Z 15:10:15.100 INFO  Sensor IaC Docker Sensor is restricted to changed files only
2026-06-08T15:10:15.1202134Z 15:10:15.107 INFO  There are no files to be analyzed for the Docker language
2026-06-08T15:10:15.1212093Z 15:10:15.107 INFO  Sensor IaC Docker Sensor [iac] (done) | time=6ms
2026-06-08T15:10:15.1216245Z 15:10:15.108 INFO  Sensor IaC spectral report Sensor [iac]
2026-06-08T15:10:15.1219700Z 15:10:15.110 INFO  Sensor IaC spectral report Sensor [iac] (done) | time=1ms
2026-06-08T15:10:15.1222629Z 15:10:15.112 INFO  Sensor IaC GitHub Actions Sensor [iac]
2026-06-08T15:10:15.1225735Z 15:10:15.113 INFO  There are no files to be analyzed for the GitHub Actions language
2026-06-08T15:10:15.1231834Z 15:10:15.114 INFO  Sensor IaC GitHub Actions Sensor [iac] (done) | time=0ms
2026-06-08T15:10:15.1252915Z 15:10:15.115 INFO  Sensor IaC actionlint report Sensor [iac]
2026-06-08T15:10:15.1268135Z 15:10:15.116 INFO  Sensor IaC actionlint report Sensor [iac] (done) | time=0ms
2026-06-08T15:10:15.1476221Z 15:10:15.117 INFO  Sensor IaC Azure Pipelines Sensor [iac]
2026-06-08T15:10:15.1566057Z 15:10:15.129 INFO  There are no files to be analyzed for the Azure Pipelines language
2026-06-08T15:10:15.1885787Z 15:10:15.129 INFO  Sensor IaC Azure Pipelines Sensor [iac] (done) | time=12ms
2026-06-08T15:10:15.2113353Z 15:10:15.130 INFO  Sensor IaC Shell Sensor [iac]
2026-06-08T15:10:15.2113882Z 15:10:15.131 INFO  There are no files to be analyzed for the Shell language
2026-06-08T15:10:15.2204335Z 15:10:15.137 INFO  Sensor IaC Shell Sensor [iac] (done) | time=0ms
2026-06-08T15:10:15.2235724Z 15:10:15.138 INFO  Sensor JavaScript/TypeScript/CSS analysis [javascript]
2026-06-08T15:10:15.7834531Z 15:10:15.780 INFO  Detected os: Windows Server 2025 arch: amd64 alpine: false. Platform: WIN_X64
2026-06-08T15:10:15.7858676Z 15:10:15.783 INFO  Deploy location C:\Users\VssAdministration\.sonar\js\node-runtime, tagetRuntime: C:\Users\VssAdministration\.sonar\js\node-runtime\node.exe,  version: C:\Users\VssAdministration\.sonar\js\node-runtime\version.txt
2026-06-08T15:10:18.5083139Z 15:10:18.507 INFO  Using embedded Node.js runtime.
2026-06-08T15:10:18.5083966Z 15:10:18.507 INFO  Using Node.js executable: 'C:\Users\VssAdministration\.sonar\js\node-runtime\node.exe'.
2026-06-08T15:10:22.6504995Z 15:10:21.231 INFO  Memory configuration: OS (8186 MB), Node.js (2240 MB).
2026-06-08T15:10:22.6511860Z 15:10:21.258 INFO  gRPC analyze-project server listening on 127.0.0.1:53108
2026-06-08T15:10:22.6513627Z 15:10:21.770 INFO  Plugin version: [12.5.0.41048]
2026-06-08T15:10:50.5670835Z 15:10:50.549 INFO  Found 1 tsconfig.json file(s): [D:/a/1/s/repo/tsconfig.json]
2026-06-08T15:10:50.5673493Z 15:10:50.550 INFO  60 source files to be analyzed
2026-06-08T15:10:50.5675801Z 15:10:50.554 INFO  Creating TypeScript(6.0.3) program with configuration file D:/a/1/s/repo/tsconfig.json [lib: lib.dom.d.ts, lib.dom.iterable.d.ts, lib.esnext.d.ts]
2026-06-08T15:10:50.5677000Z 15:10:50.557 INFO  Analyzing 53 file(s) from tsconfig D:/a/1/s/repo/tsconfig.json (1810 total files in program)
2026-06-08T15:10:50.5677987Z 15:10:50.560 INFO  No boundary descriptors defined
2026-06-08T15:10:50.5678656Z 15:10:50.564 INFO  Analyzing 3 file(s) using merged compiler options [lib: lib.es2023.d.ts, lib.dom.d.ts]
2026-06-08T15:10:50.5679305Z 15:10:50.564 INFO  No boundary descriptors defined
2026-06-08T15:10:50.5679917Z 15:10:50.566 INFO  60/60 source files have been analyzed
2026-06-08T15:10:50.5732848Z 15:10:50.572 INFO  JasminAstConsumer done
2026-06-08T15:10:50.5733547Z 15:10:50.572 INFO  Hit the cache for 0 out of 57
2026-06-08T15:10:50.5746389Z 15:10:50.573 INFO  Miss the cache for 57 out of 57: FILE_CHANGED [57/57]
2026-06-08T15:10:50.5751351Z 15:10:50.574 INFO  Sensor JavaScript/TypeScript/CSS analysis [javascript] (done) | time=35435ms
2026-06-08T15:10:50.5760564Z 15:10:50.574 INFO  Sensor IaC JSON Sensor [iac]
2026-06-08T15:10:50.5761395Z 15:10:50.575 INFO  Sensor for language "JSON" is disabled by a feature flag. You can enable it by setting "sonar.featureflag.cloud-security-enable-generic-yaml-and-json-analyzer" to true.
2026-06-08T15:10:50.5767168Z 15:10:50.575 INFO  Sensor IaC JSON Sensor [iac] (done) | time=1ms
2026-06-08T15:10:50.5774408Z 15:10:50.576 INFO  Sensor EnterpriseTextAndSecretsSensor [textenterprise]
2026-06-08T15:10:50.5775191Z 15:10:50.576 INFO  Sensor EnterpriseTextAndSecretsSensor is restricted to changed files only
2026-06-08T15:10:50.5910422Z 15:10:50.590 INFO  Available processors: 2
2026-06-08T15:10:50.5911049Z 15:10:50.590 INFO  Using 2 threads for analysis.
2026-06-08T15:10:51.4531731Z 15:10:51.425 INFO  The property "sonar.tests" is not set. To improve the analysis accuracy, we categorize a file as a test file if any of the following is true:
2026-06-08T15:10:51.4703539Z   * The filename starts with "test"
2026-06-08T15:10:51.4824883Z   * The filename contains "test." or "tests."
2026-06-08T15:10:51.4987751Z   * Any directory in the file path is named: "doc", "docs", "test", "tests", "mock" or "mocks"
2026-06-08T15:10:51.5183124Z   * Any directory in the file path has a name ending in "test" or "tests"
2026-06-08T15:10:51.5194704Z 
2026-06-08T15:10:51.5908196Z 15:10:51.586 INFO  Start fetching files for the text and secrets analysis
2026-06-08T15:10:51.8006085Z 15:10:51.798 INFO  Using Git CLI to retrieve dirty files
2026-06-08T15:10:51.9317455Z 15:10:51.929 INFO  Retrieving language associated files and files included via "sonar.text.inclusions" that are tracked by git
2026-06-08T15:10:51.9379601Z 15:10:51.934 INFO  Starting the text and secrets analysis
2026-06-08T15:10:51.9395914Z 15:10:51.938 INFO  67 source files to be analyzed for the text and secrets analysis
2026-06-08T15:10:54.5561909Z 15:10:54.555 INFO  67/67 source files have been analyzed for the text and secrets analysis
2026-06-08T15:10:54.5585381Z 15:10:54.557 INFO  Start fetching files for the binary file analysis
2026-06-08T15:10:54.5629242Z 15:10:54.558 INFO  There are no files to be analyzed for the binary file analysis
2026-06-08T15:10:54.5689438Z 15:10:54.567 INFO  Sensor EnterpriseTextAndSecretsSensor [textenterprise] (done) | time=3990ms
2026-06-08T15:10:54.5827910Z 15:10:54.576 INFO  ------------- Run sensors on project
2026-06-08T15:10:54.7366224Z 15:10:54.716 INFO  Sensor JsSecuritySensorV2 [jasmin]
2026-06-08T15:10:54.8499303Z 15:10:54.847 INFO  56 file(s) will be analysed by SonarJasmin.
2026-06-08T15:11:03.5218993Z 15:11:03.519 INFO  Analysis progress:   8% (5/56 files)
2026-06-08T15:11:03.5251799Z 15:11:03.521 INFO  Analysis progress:  17% (10/56 files)
2026-06-08T15:11:03.5315736Z 15:11:03.528 INFO  Analysis progress:  26% (15/56 files)
2026-06-08T15:11:03.5442142Z 15:11:03.542 INFO  Analysis progress:  35% (20/56 files)
2026-06-08T15:11:03.5492917Z 15:11:03.547 INFO  Analysis progress:  44% (25/56 files)
2026-06-08T15:11:03.5532869Z 15:11:03.551 INFO  Analysis progress:  53% (30/56 files)
2026-06-08T15:11:03.5850667Z 15:11:03.575 INFO  Analysis progress:  62% (35/56 files)
2026-06-08T15:11:03.6142532Z 15:11:03.611 INFO  Analysis progress:  71% (40/56 files)
2026-06-08T15:11:03.6277030Z 15:11:03.625 INFO  Analysis progress:  80% (45/56 files)
2026-06-08T15:22:36.6674910Z 15:22:36.665 INFO  Analysis progress:  89% (50/56 files)
2026-06-08T15:22:36.7030891Z 15:22:36.675 INFO  Analysis progress:  98% (55/56 files)
2026-06-08T15:22:37.1661198Z 15:22:37.162 INFO  Sensor JsSecuritySensorV2 [jasmin] (done) | time=702445ms
2026-06-08T15:22:37.1662328Z 15:22:37.163 INFO  Sensor JsArchitectureSensor [architecture]
2026-06-08T15:22:37.4500327Z 15:22:37.403 INFO  Found 1 potential Udg file location(s) for "js" in "D:\a\1\s\.scannerwork"
2026-06-08T15:22:37.4632031Z 15:22:37.407 INFO  - D:\a\1\s\.scannerwork\architecture\js
2026-06-08T15:22:38.8361153Z 15:22:38.821 INFO  Architecture analysis is enabled with the following features: legacy, discovery, flaws, smells, deviations, directives
2026-06-08T15:22:38.9510434Z 15:22:38.946 INFO  * Protobuf reading starting | memory total=1180 | free=193 | used=986 (MB)
2026-06-08T15:22:38.9511526Z 15:22:38.946 INFO  * Reading SonarArchitecture UDG data from directory "D:\a\1\s\.scannerwork\architecture\js"
2026-06-08T15:22:42.7040006Z 15:22:42.698 INFO  * Files successfully loaded: "3" out of "3"
2026-06-08T15:22:42.7041016Z 15:22:42.700 INFO  * Purging externals (components not scanned) from graphs
2026-06-08T15:22:42.7041718Z 15:22:42.702 INFO  * Purging excluded nodes from graphs
2026-06-08T15:22:42.7834818Z 15:22:42.779 INFO  * Protobuf reading complete | memory total=1180 | free=181 | used=998 (MB)
2026-06-08T15:22:43.3499120Z 15:22:43.346 INFO  * Build architecture.graph.js.file_graph.default_perspective hierarchy graph complete (filtered=false) | memory total=1180 | free=179 | used=1000 (MB)
2026-06-08T15:22:43.7672494Z 15:22:43.766 INFO  * No intended architecture defined or detected, using an empty model
2026-06-08T15:22:44.0481470Z 15:22:44.021 INFO  No directives configured
2026-06-08T15:22:45.6310434Z 15:22:45.620 INFO  Sensor JsArchitectureSensor [architecture] (done) | time=8454ms
2026-06-08T15:22:45.6589360Z 15:22:45.624 INFO  Sensor TsArchitectureSensor [architecture]
2026-06-08T15:22:45.6663455Z 15:22:45.652 INFO  Found 1 potential Udg file location(s) for "ts" in "D:\a\1\s\.scannerwork"
2026-06-08T15:22:45.7004103Z 15:22:45.653 INFO  - D:\a\1\s\.scannerwork\architecture\ts
2026-06-08T15:22:45.7166056Z 15:22:45.653 INFO  Architecture analysis is enabled with the following features: legacy, discovery, flaws, smells, deviations, directives
2026-06-08T15:22:45.7167091Z 15:22:45.655 INFO  * Protobuf reading starting | memory total=1180 | free=167 | used=1012 (MB)
2026-06-08T15:22:45.7167815Z 15:22:45.655 INFO  * Reading SonarArchitecture UDG data from directory "D:\a\1\s\.scannerwork\architecture\ts"
2026-06-08T15:22:45.8301616Z 15:22:45.823 INFO  * Files successfully loaded: "53" out of "53"
2026-06-08T15:22:45.8302681Z 15:22:45.823 INFO  * Purging externals (components not scanned) from graphs
2026-06-08T15:22:45.8387154Z 15:22:45.833 INFO  * Purging excluded nodes from graphs
2026-06-08T15:22:45.8866859Z 15:22:45.833 INFO  * Protobuf reading complete | memory total=1180 | free=165 | used=1014 (MB)
2026-06-08T15:22:45.9117432Z 15:22:45.862 INFO  * Build architecture.graph.ts.file_graph.default_perspective hierarchy graph complete (filtered=false) | memory total=1180 | free=164 | used=1015 (MB)
2026-06-08T15:22:45.9132203Z 15:22:45.873 INFO  * No intended architecture defined or detected, using an empty model
2026-06-08T15:22:45.9139616Z 15:22:45.874 INFO  No directives configured
2026-06-08T15:22:46.2317328Z 15:22:46.225 INFO  Sensor TsArchitectureSensor [architecture] (done) | time=598ms
2026-06-08T15:22:46.2687595Z 15:22:46.229 INFO  Sensor Zero Coverage Sensor
2026-06-08T15:22:46.5744171Z 15:22:46.551 INFO  Sensor Zero Coverage Sensor (done) | time=321ms
2026-06-08T15:22:46.5889129Z 15:22:46.551 INFO  Sensor Architecture Telemetry [architecture]
2026-06-08T15:22:46.6240064Z 15:22:46.553 INFO  Sensor Architecture Telemetry [architecture] (done) | time=1ms
2026-06-08T15:22:46.9117597Z 15:22:46.900 INFO  ------------- Gather SCA dependencies on project
2026-06-08T15:22:47.5245871Z 15:22:47.522 INFO  Dependency analysis skipped
2026-06-08T15:22:47.7090174Z 15:22:47.703 INFO  CPD Executor 6 files had no CPD blocks
2026-06-08T15:22:47.7091891Z 15:22:47.705 INFO  CPD Executor Calculating CPD for 54 files
2026-06-08T15:22:48.0179572Z 15:22:48.012 INFO  CPD Executor CPD calculation finished (done) | time=305ms
2026-06-08T15:22:48.0180678Z 15:22:48.014 INFO  SCM Publisher SCM provider for this project is: git
2026-06-08T15:22:48.0456483Z 15:22:48.044 INFO  SCM Publisher 61 source files to be analyzed
2026-06-08T15:22:48.1396182Z 15:22:48.085 WARN  Shallow clone detected, no blame information will be provided. You can convert to non-shallow with 'git fetch --unshallow'.
2026-06-08T15:22:48.1421618Z 15:22:48.092 INFO  SCM Publisher 0/61 source files have been analyzed (done) | time=48ms
2026-06-08T15:22:48.1422741Z 15:22:48.093 WARN  Missing blame information for the following files:
2026-06-08T15:22:48.1423345Z 15:22:48.097 WARN    * repo/src/auth/msalConfig.ts
2026-06-08T15:22:48.1423870Z 15:22:48.098 WARN    * repo/src/components/ui/textarea.tsx
2026-06-08T15:22:48.1424406Z 15:22:48.098 WARN    * repo/src/components/ui/label.tsx
2026-06-08T15:22:48.1424870Z 15:22:48.098 WARN    * repo/src/components/icons/VisitorPassIcon.tsx
2026-06-08T15:22:48.1425365Z 15:22:48.099 WARN    * repo/public/web.config
2026-06-08T15:22:48.1425809Z 15:22:48.099 WARN    * repo/src/components/ApproveRejectPage.tsx
2026-06-08T15:22:48.1426316Z 15:22:48.100 WARN    * repo/src/components/ui/switch.tsx
2026-06-08T15:22:48.1426796Z 15:22:48.100 WARN    * repo/public/env.runtime.js
2026-06-08T15:22:48.1427262Z 15:22:48.100 WARN    * repo/src/components/ui/button.tsx
2026-06-08T15:22:48.1427937Z 15:22:48.101 WARN    * repo/src/components/ui/card.tsx
2026-06-08T15:22:48.1428394Z 15:22:48.102 WARN    * repo/postcss.config.js
2026-06-08T15:22:48.1428855Z 15:22:48.104 WARN    * repo/src/hooks/useAuthNavigation.ts
2026-06-08T15:22:48.1429209Z 15:22:48.104 WARN    * repo/src/lib/utils.ts
2026-06-08T15:22:48.1429568Z 15:22:48.106 WARN    * repo/src/utils/tokenUtils.ts
2026-06-08T15:22:48.1429781Z 15:22:48.106 WARN    * repo/src/components/ProposeTimeDialog.tsx
2026-06-08T15:22:48.1429989Z 15:22:48.106 WARN    * repo/src/components/Login.tsx
2026-06-08T15:22:48.1430224Z 15:22:48.107 WARN    * repo/src/components/SummaryCard.tsx
2026-06-08T15:22:48.1430428Z 15:22:48.107 WARN    * repo/src/components/ui/avatar.tsx
2026-06-08T15:22:48.1430629Z 15:22:48.107 WARN    * repo/src/components/ui/input.tsx
2026-06-08T15:22:48.1430871Z 15:22:48.107 WARN    * repo/src/components/DashboardSummaryCards.tsx
2026-06-08T15:22:48.1431087Z 15:22:48.107 WARN    * repo/src/components/Header.tsx
2026-06-08T15:22:48.1431318Z 15:22:48.107 WARN    * repo/src/components/ui/skeleton.tsx
2026-06-08T15:22:48.1431523Z 15:22:48.107 WARN    * repo/tailwind.config.js
2026-06-08T15:22:48.1431720Z 15:22:48.107 WARN    * repo/src/App.tsx
2026-06-08T15:22:48.1432173Z 15:22:48.109 WARN    * repo/src/components/Dashboard.tsx
2026-06-08T15:22:48.1432535Z 15:22:48.109 WARN    * repo/src/index.tsx
2026-06-08T15:22:48.1433135Z 15:22:48.109 WARN    * repo/src/components/StatusBadge.tsx
2026-06-08T15:22:48.1433474Z 15:22:48.109 WARN    * repo/src/contexts/LanguageContext.tsx
2026-06-08T15:22:48.1433682Z 15:22:48.109 WARN    * repo/src/utils/userPhotoUtils.ts
2026-06-08T15:22:48.1433894Z 15:22:48.109 WARN    * repo/src/components/ui/badge.tsx
2026-06-08T15:22:48.1434129Z 15:22:48.109 WARN    * repo/src/components/ProtectedRoute.tsx
2026-06-08T15:22:48.1434974Z 15:22:48.109 WARN    * repo/src/styles.css
2026-06-08T15:22:48.1435206Z 15:22:48.109 WARN    * repo/src/hooks/useTranslation.ts
2026-06-08T15:22:48.1435418Z 15:22:48.112 WARN    * repo/src/components/CreateVisitorRequest.tsx
2026-06-08T15:22:48.1435628Z 15:22:48.112 WARN    * repo/src/components/FAQPage.tsx
2026-06-08T15:22:48.1435853Z 15:22:48.113 WARN    * repo/public/index.html
2026-06-08T15:22:48.1436057Z 15:22:48.113 WARN    * repo/src/components/TokenExpiryWatcher.tsx
2026-06-08T15:22:48.1436266Z 15:22:48.114 WARN    * repo/src/components/FullPageLoader.tsx
2026-06-08T15:22:48.1436500Z 15:22:48.114 WARN    * repo/src/components/GetStarted.tsx
2026-06-08T15:22:48.1436700Z 15:22:48.116 WARN    * repo/src/components/Layout.tsx
2026-06-08T15:22:48.1436908Z 15:22:48.117 WARN    * repo/src/components/RejectRequestDialog.tsx
2026-06-08T15:22:48.1437156Z 15:22:48.120 WARN    * repo/src/components/TrainingResourcesDialog.tsx
2026-06-08T15:22:48.1437368Z 15:22:48.123 WARN    * repo/src/components/ui/select.tsx
2026-06-08T15:22:48.1437628Z 15:22:48.132 WARN    * repo/src/hooks/useToast.ts
2026-06-08T15:22:48.1437833Z 15:22:48.133 WARN    * repo/src/components/UpcomingVisitors.tsx
2026-06-08T15:22:48.1438038Z 15:22:48.133 WARN    * repo/src/index.css
2026-06-08T15:22:48.1438259Z 15:22:48.133 WARN    * repo/src/types/index.ts
2026-06-08T15:22:48.1438454Z 15:22:48.134 WARN    * repo/src/services/api.ts
2026-06-08T15:22:48.1438685Z 15:22:48.135 WARN    * repo/src/components/Footer.tsx
2026-06-08T15:22:48.1438882Z 15:22:48.137 WARN    * repo/src/config.ts
2026-06-08T15:22:48.1439081Z 15:22:48.138 WARN    * repo/src/components/ui/table.tsx
2026-06-08T15:22:48.1439378Z 15:22:48.139 WARN    * repo/src/styles/syncfusion.css
2026-06-08T15:22:48.1439590Z 15:22:48.139 WARN    * reposrc/components/ApproveRequestDialog.tsx
2026-06-08T15:22:48.1439810Z 15:22:48.139 WARN    * repo/src/components/ScanBusinessCardDialog.tsx
2026-06-08T15:22:48.1440047Z 15:22:48.139 WARN    * repo/src/components/ui/dialog.tsx
2026-06-08T15:22:48.1440254Z 15:22:48.139 WARN    * repo/src/components/ui/scroll-area.tsx
2026-06-08T15:22:48.1440458Z 15:22:48.139 WARN    * repo/src/components/ui/toast.tsx
2026-06-08T15:22:48.1440689Z 15:22:48.139 WARN    * repo/src/components/ActivityFeed.tsx
2026-06-08T15:22:48.1440895Z 15:22:48.139 WARN    * repo/src/components/ui/toaster.tsx
2026-06-08T15:22:48.1441140Z 15:22:48.139 WARN    * repo/src/components/ConfirmCreateVisitorDialog.tsx
2026-06-08T15:22:48.1441352Z 15:22:48.139 WARN    * repo/src/components/ui/tabs.tsx
2026-06-08T15:22:48.1441560Z 15:22:48.139 WARN  This may lead to missing/broken features in SonarCloud
2026-06-08T15:22:48.2611338Z 15:22:48.259 INFO  SCM revision ID 'xxxxxxxxxxxxxxxxxxxxxxxxx'
2026-06-08T15:22:49.0955695Z 15:22:49.094 INFO  SCM writing changed lines
2026-06-08T15:22:49.1021047Z 15:22:49.098 WARN  Could not find ref: master in refs/heads, refs/remotes/upstream or refs/remotes/origin
2026-06-08T15:22:49.1031687Z 15:22:49.102 INFO  SCM writing changed lines (done) | time=8ms
2026-06-08T15:23:23.6399874Z 15:23:23.633 INFO  Analysis report generated in 35371ms, dir size=1 MB
2026-06-08T15:23:24.0233401Z 15:23:24.022 INFO  Analysis report compressed in 385ms, zip size=458 KB
2026-06-08T15:23:25.6041653Z 15:23:25.602 INFO  Analysis report uploaded in 1580ms
2026-06-08T15:23:25.6090856Z 15:23:25.606 INFO  ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=xx&pullRequest=xxxxx
2026-06-08T15:23:25.6091515Z 15:23:25.607 INFO  Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
2026-06-08T15:23:25.6092447Z 15:23:25.608 INFO  More about the report processing at https://sonarcloud.io/api/ce/task?id=xxxxxx
2026-06-08T15:23:25.6092903Z 15:23:25.608 INFO  ------------- Upload SCA dependency files
2026-06-08T15:23:27.9856061Z 15:23:27.972 INFO  Successfully sent architecture data
2026-06-08T15:23:29.2605157Z 15:23:29.258 INFO  Analysis total time: 14:11.095 s
2026-06-08T15:23:29.2925951Z 15:23:29.290 INFO  SonarScanner Engine completed successfully
2026-06-08T15:23:30.3822153Z 15:23:30.380 INFO  EXECUTION SUCCESS
2026-06-08T15:23:30.3841361Z 15:23:30.382 INFO  Total time: 14:43.473s
2026-06-08T15:23:30.9245921Z 
2026-06-08T15:23:30.9374652Z ##[section]Finishing: Run Code Analysis> 

Hi,

Thanks for the log. Unfortunately, “file no longer exists” doesn’t seem to appear anywhere in it.

 
Ann

Yeah, like I had already mentioned, I did not understand the need for logs here .Since, “file no longer exists” is a comment we are seeing in our PRs, so far as I know we do not see the comments in the logs.

If possible I would like some more support members here for some fresh perspective and idea. Please let me know what are your thoughts on the same.

Hi,

Can we get a screenshot?

And the analysis log is certainly relevant, since it shows that analysis doesn’t actually have the data it needs to detect which files are changed in the analysis:

In addition to unshallow-ing your clone, you’ll want to make sure the rest of the prerequisites are in place.

 
HTH,
Ann


attaching comment image

Hi,

Thanks for the screenshot. I think your first step here is to fix your checkout. I believe that will take care of these messages.

 
HTH,
Ann

“fix your checkout” as in?

Hi,

As in:

 
HTH,
Ann