Skip to content

fix(sonar): resolve floating promises (typescript:S9383) - #3359

Merged
setchy merged 2 commits into
mainfrom
sonar/S9383
Oct 4, 2026
Merged

setchy merged 2 commits into
mainfrom
sonar/S9383

Conversation

@setchy

@setchy setchy commented Oct 3, 2026 •

Copy link
Copy Markdown
Member

SonarCloud: typescript:S9383 (filtered issues)

Resolves Sonar rule typescript:S9383 — Promises must be awaited, end with a rejection handler, or be explicitly ignored with void (20 issues).

  • void for intentional fire-and-forget calls (notifications, sounds, navigation, effects).
  • .catch + log for main-process promise chains that can reject (app.whenReady, dialog.showMessageBox, capturePage, shell.openExternal, updater/menu handlers).

Lint, tsc, and the full test suite pass.

@github-actions github-actions Bot added the bug Something isn't working label Oct 3, 2026
@setchy setchy changed the title fix(sonar): resolve S9383 floating promises fix(sonar): resolve floating promises (S9383) Oct 3, 2026
@setchy setchy changed the title fix(sonar): resolve floating promises (S9383) fix(sonar): resolve floating promises (typescript:S9383) Oct 3, 2026
@setchy
setchy marked this pull request as ready for review October 4, 2026 01:47
@setchy
setchy requested a review from afonsojramos as a code owner October 4, 2026 01:47
@sonarqubecloud

sonarqubecloud Bot commented Oct 4, 2026

Copy link
Copy Markdown

@setchy
setchy merged commit 9c0cc59 into main Oct 4, 2026
19 checks passed
@setchy
setchy deleted the sonar/S9383 branch October 4, 2026 11:14
@github-actions github-actions Bot added this to the Release 7.9.1 milestone Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Development

Successfully merging this pull request may close these issues.

1 participant