Skip to content

refactor(sonar): resolve async functions without await (typescript:S7503) - #3361

Merged
afonsojramos merged 1 commit into
mainfrom
sonar/S7503
Oct 4, 2026
Merged

afonsojramos merged 1 commit into
mainfrom
sonar/S7503

Conversation

@setchy

@setchy setchy commented Oct 3, 2026 •

Copy link
Copy Markdown
Member

SonarCloud: typescript:S7503 (filtered issues)

Resolves Sonar rule typescript:S7503 — Async functions should use async features (6 issues).

  • Make sync (drop unnecessary async): enrich handlers (via a Partial | Promise<Partial> contract) and removeAccountNotifications/related login helpers.
  • handleSubmit in the PAT and OAuth login forms now await credential verification (this also makes the in-flight loading state effective).

Lint, tsc, and the full test suite pass.

@github-actions github-actions Bot added the refactor Refactoring of existing feature label Oct 3, 2026
@sonarqubecloud

sonarqubecloud Bot commented Oct 3, 2026

Copy link
Copy Markdown

@setchy
setchy marked this pull request as ready for review October 3, 2026 21:27
@setchy
setchy requested a review from afonsojramos as a code owner October 3, 2026 21:27
@setchy setchy changed the title refactor(sonar): resolve S7503 async functions without await refactor(sonar): resolve async functions without await (S7503) Oct 3, 2026
@setchy setchy changed the title refactor(sonar): resolve async functions without await (S7503) refactor(sonar): resolve async functions without await (typescript:S7503) Oct 3, 2026
@afonsojramos
afonsojramos merged commit 3c46eff into main Oct 4, 2026
35 checks passed
@afonsojramos
afonsojramos deleted the sonar/S7503 branch October 4, 2026 00:02
@github-actions github-actions Bot added this to the Release 7.x.x milestone Oct 4, 2026
@github-actions

github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in Gitify v7.9.0! 🎉

Downloads for macOS, Windows, and Linux are available on the release page.

Thanks for helping make Gitify better!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Refactoring of existing feature

Development

Successfully merging this pull request may close these issues.

2 participants