# SonarQube Cloud PR analysis: JS/TS cache never reused since SonarJS 14.1 (ANALYSIS\_MODE\_INELIGIBLE)

**URL:** <https://community.sonarsource.com/t/sonarqube-cloud-pr-analysis-js-ts-cache-never-reused-since-sonarjs-14-1-analysis-mode-ineligible/190530>\
**Category:** SonarQube Cloud\
**Created:** [October 26, 2026, 5:35pm UTC](https://community.sonarsource.com/t/sonarqube-cloud-pr-analysis-js-ts-cache-never-reused-since-sonarjs-14-1-analysis-mode-ineligible/190530 "2026-10-26T17:35:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris-archax](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/chris-archax/32/78012_2.png) [@chris-archax](https://community.sonarsource.com/u/chris-archax)\
**Post date:** [October 26, 2026, 5:35pm UTC](https://community.sonarsource.com/t/sonarqube-cloud-pr-analysis-js-ts-cache-never-reused-since-sonarjs-14-1-analysis-mode-ineligible/190530/1 "2026-10-26T17:35:00Z")

</div>

**Environment**

- SonarQube Cloud, CI-based analysis from GitHub Actions
- SonarScanner CLI 8.1.0.6389, via `SonarSource/sonarqube-scan-action`
- Pull request analysis on a monorepo with about 11,400 JS/TS files and 2,700 Kotlin files
- `sonar.typescript.tsconfigPaths` lists the tsconfig files explicitly; `sonar.javascript.node.maxspace=12288`

**What happens**

Since SonarQube Cloud moved the JavaScript plugin from 14.0.0.46108 to 14.1.0.46226, on 14 Oct 2026, every pull request analysis re-analyses all JS/TS files. It no longer reuses the target branch’s cache for unchanged files. This is still the case on 14.3.0.46350 (logged as `Plugin version: [14.3.0.46350]` on 26 Oct 2026).

Before 14 Oct, the JS/TS sensor logged cache hits for most files (for example `Hit the cache for 8518 out of 10291`) and took 68–109 s. Since then, every PR analysis logs:

```auto
INFO Hit the cache for 0 out of 11433
INFO Miss the cache for 11433 out of 11433: ANALYSIS_MODE_INELIGIBLE [11433/11433]
INFO Sensor JavaScript/TypeScript/CSS analysis [javascript] (done) | time=565691ms

```

The sensor now takes 9–11 minutes on every PR, including PRs that change no JS/TS files.

**Why we think this is plugin-side**

1. In SonarJS, `CacheStrategies.getStrategyFor` reports `ANALYSIS_MODE_INELIGIBLE` only when `JsTsContext.getAnalysisMode()` returns `DEFAULT`. That happens only when `SensorContext.canSkipUnchangedFiles()` returns `false`.
2. In the same analysis, other sensors are allowed to skip unchanged files:

```auto
INFO Load sensor cache (161 MB)
INFO Only analyzing 155 changed Kotlin files out of 2664.
INFO Sensor IaC Docker Sensor is restricted to changed files only
INFO Sensor HTML is restricted to changed files only
INFO Unchanged files can be skipped in the current context and all relevant files are unchanged. Skipping taint analysis.

```

So this is a pull request analysis, the sensor cache loads, and unchanged-file skipping is available. Only the JS/TS sensor is refused it.
3. The target branch is analysed successfully every night, so its cache is fresh. As explained in [this earlier thread](https://community.sonarsource.com/t/why-do-i-get-a-cache-miss-with-analysis-mode-ineligible-in-sonar-scanner-on-all-the-files/106734), the cache is designed for pull request analysis, and that is exactly where ours is refused.
4. Nothing in our configuration changed at the time. The first cache miss came within about two hours of the plugin version change on 14 Oct.

**Questions**

1. Is this a known regression in SonarJS 14.1+ on SonarQube Cloud? Is there a fix or an ETA?
2. Is there a supported property that restores unchanged-file skipping for the JS/TS sensor on pull request analyses?

We can share the organization and project keys, and full scanner logs, by private message.

---

<div class="post-metadata">

**Author:** ![victor.diez](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/victor.diez/32/38525_2.png) [@victor.diez](https://community.sonarsource.com/u/victor.diez)\
**Post date:** [November 2, 2026, 2:10pm UTC](https://community.sonarsource.com/t/sonarqube-cloud-pr-analysis-js-ts-cache-never-reused-since-sonarjs-14-1-analysis-mode-ineligible/190530/6 "2026-11-02T14:10:17Z")

</div>

Hello @chris-archax,

thanks for reporting this. I’ve opened a [ticket](https://sonarsource.atlassian.net/browse/JS-2800) to fix it.

Cheers,  
Victor

---

<div class="post-metadata">

**Author:** ![chris-archax](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/chris-archax/32/78012_2.png) [@chris-archax](https://community.sonarsource.com/u/chris-archax)\
**Post date:** [November 2, 2026, 3:22pm UTC](https://community.sonarsource.com/t/sonarqube-cloud-pr-analysis-js-ts-cache-never-reused-since-sonarjs-14-1-analysis-mode-ineligible/190530/7 "2026-11-02T15:22:32Z")

</div>

Thank you so much! Let me know if there’s anything i can do to help! -chris
