Skip to content

Release v3.8.40 - #5225

Merged
diegosouzapw merged 62 commits into
mainfrom
release/v3.8.40
Jun 29, 2026
Merged

diegosouzapw merged 62 commits into
mainfrom
release/v3.8.40

chore(quality): rebaseline eslintWarnings 4090->4103 — v3.8.40 cycle …

ecb17e6
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 29, 2026 in 14m 10s

Quality Gate failed

Failed conditions
2 Security Hotspots
0.0% Coverage on New Code (required ≥ 80%)
D Reliability Rating on New Code (required ≥ A)
D Security Rating on New Code (required ≥ A)
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 1196 in open-sse/executors/antigravity.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 193 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_OmniRoute&issues=AZ8RKlHilDUuF1_pIViw&open=AZ8RKlHilDUuF1_pIViw&pullRequest=5225

Check warning on line 378 in open-sse/services/compression/engines/rtk/commandDetector.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Simplify this regular expression to reduce its runtime, as it has super-linear performance due to backtracking.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_OmniRoute&issues=AZ8TNbsNTAi7HPSCzBND&open=AZ8TNbsNTAi7HPSCzBND&pullRequest=5225

Check warning on line 704 in scripts/check/check-fabricated-docs.mjs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Simplify this regular expression to reduce its complexity from 37 to the 20 allowed.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_OmniRoute&issues=AZ8RKl03lDUuF1_pIVmr&open=AZ8RKl03lDUuF1_pIVmr&pullRequest=5225

Check warning on line 20 in open-sse/executors/copilot-m365-frames.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `String.fromCodePoint()` over `String.fromCharCode()`.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_OmniRoute&issues=AZ8TNbpLTAi7HPSCzBM7&open=AZ8TNbpLTAi7HPSCzBM7&pullRequest=5225

Check warning on line 181 in src/shared/constants/pricing/oauth-subscriptions.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Don't use a zero fraction in the number.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_OmniRoute&issues=AZ8RKknelDUuF1_pIVet&open=AZ8RKknelDUuF1_pIVet&pullRequest=5225

Check warning on line 444 in src/shared/constants/pricing/oauth-subscriptions.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Don't use a zero fraction in the number.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_OmniRoute&issues=AZ8RKknelDUuF1_pIVf8&open=AZ8RKknelDUuF1_pIVf8&pullRequest=5225

Check warning on line 435 in src/lib/providers/validation/webProvidersA.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not use nested template literals.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_OmniRoute&issues=AZ8PdT4mPHvc15C0aYPc&open=AZ8PdT4mPHvc15C0aYPc&pullRequest=5225

Check warning on line 79 in src/sse/handlers/chatHelpers.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Simplify this regular expression to reduce its runtime, as it has super-linear performance due to backtracking.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_OmniRoute&issues=AZ8TNbcSTAi7HPSCzBMo&open=AZ8TNbcSTAi7HPSCzBMo&pullRequest=5225

Check warning on line 1439 in open-sse/executors/codex.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

The empty object is useless.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_OmniRoute&issues=AZ8RKlSllDUuF1_pIVjL&open=AZ8RKlSllDUuF1_pIVjL&pullRequest=5225

Check warning on line 26 in open-sse/services/usage.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import of 'toTitleCase'.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_OmniRoute&issues=AZ8PdUM4PHvc15C0aYTU&open=AZ8PdUM4PHvc15C0aYTU&pullRequest=5225

Check warning on line 52 in src/shared/constants/pricing/oauth-subscriptions.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Don't use a zero fraction in the number.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_OmniRoute&issues=AZ8RKkndlDUuF1_pIVd5&open=AZ8RKkndlDUuF1_pIVd5&pullRequest=5225

Check warning on line 48 in src/shared/constants/pricing/oauth-subscriptions.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Don't use a zero fraction in the number.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_OmniRoute&issues=AZ8RKkndlDUuF1_pIVd4&open=AZ8RKkndlDUuF1_pIVd4&pullRequest=5225

Check warning on line 480 in src/shared/constants/pricing/oauth-subscriptions.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Don't use a zero fraction in the number.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_OmniRoute&issues=AZ8RKknelDUuF1_pIVgJ&open=AZ8RKknelDUuF1_pIVgJ&pullRequest=5225

Check warning on line 436 in open-sse/executors/perplexity-web.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

arrow function is equivalent to `String`. Use `String` directly.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_OmniRoute&issues=AZ8PdUHrPHvc15C0aYRv&open=AZ8PdUHrPHvc15C0aYRv&pullRequest=5225

Check warning on line 389 in src/app/(dashboard)/dashboard/providers/page.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_OmniRoute&issues=AZ8TNbLLTAi7HPSCzBMQ&open=AZ8TNbLLTAi7HPSCzBMQ&pullRequest=5225

Check warning on line 564 in src/shared/constants/pricing/oauth-subscriptions.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Don't use a zero fraction in the number.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_OmniRoute&issues=AZ8RKknelDUuF1_pIVgi&open=AZ8RKknelDUuF1_pIVgi&pullRequest=5225

Check warning on line 249 in open-sse/services/opencodeOllamaUsage.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use concise character class syntax '\D' instead of '[^0-9]'.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_OmniRoute&issues=AZ8PdUJvPHvc15C0aYSk&open=AZ8PdUJvPHvc15C0aYSk&pullRequest=5225

Check warning on line 244 in src/app/api/internal/codex-responses-ws/route.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Using http protocol is insecure. Use https instead.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_OmniRoute&issues=AZ8PdT4DPHvc15C0aYPT&open=AZ8PdT4DPHvc15C0aYPT&pullRequest=5225

Check failure on line 519 in open-sse/executors/claude-web.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 41 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_OmniRoute&issues=AZ8PdT97PHvc15C0aYP0&open=AZ8PdT97PHvc15C0aYP0&pullRequest=5225

Check warning on line 542 in src/app/(dashboard)/dashboard/providers/[id]/providerPageHelpers.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'Object.hasOwn()' instead of 'Object.prototype.hasOwnProperty.call()'.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_OmniRoute&issues=AZ8RKkZolDUuF1_pIVcL&open=AZ8RKkZolDUuF1_pIVcL&pullRequest=5225

Check warning on line 671 in src/sse/handlers/chatHelpers.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'err' will use Object's default stringification format ('[object Object]') when stringified.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_OmniRoute&issues=AZ8TNbcSTAi7HPSCzBMv&open=AZ8TNbcSTAi7HPSCzBMv&pullRequest=5225

Check warning on line 372 in src/app/(dashboard)/dashboard/providers/[id]/components/ConnectionRow.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Mark the props of the component as read-only.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_OmniRoute&issues=AZ8RKkXylDUuF1_pIVb1&open=AZ8RKkXylDUuF1_pIVb1&pullRequest=5225

Check failure on line 355 in open-sse/executors/qwen-web.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 25 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_OmniRoute&issues=AZ8PdUH6PHvc15C0aYR0&open=AZ8PdUH6PHvc15C0aYR0&pullRequest=5225

Check warning on line 307 in open-sse/services/compression/strategySelector.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

The empty object is useless.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_OmniRoute&issues=AZ8PtDQmb5VpPISvy8X9&open=AZ8PtDQmb5VpPISvy8X9&pullRequest=5225

Check warning on line 16 in src/shared/validation/schemas/provider.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import of 'isForbiddenUpstreamHeaderName'.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_OmniRoute&issues=AZ8RKkp4lDUuF1_pIVg3&open=AZ8RKkp4lDUuF1_pIVg3&pullRequest=5225