Skip to content

feat(auth): try the mail of a code again after it failed - #499

Merged
SyafaHadyan merged 4 commits into
mainfrom
feat/mail-retry
Nov 26, 2026
Merged

SyafaHadyan merged 4 commits into
mainfrom
feat/mail-retry

Conversation

@SyafaHadyan

@SyafaHadyan SyafaHadyan commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner
  • feat(auth): try the mail of a code again after it failed
  • docs(auth): describe the retry of a failed verification mail
  • fix(auth): end the mail retries of a waiting account that signed in
  • fix(auth): end the mail retries after six tries and close the gaps of the retry job

@SyafaHadyan SyafaHadyan added the enhancement New feature or request label Nov 26, 2026
@SyafaHadyan SyafaHadyan self-assigned this Nov 26, 2026
@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 46 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 76c6ab16-8a6e-4b0c-a9cd-356ed05cf36f
Commits

Reviewing files that changed from the base of the PR and between 246a7a8 and 884b42d.

Files selected for processing: 17

  • docs/client-guide.md
  • docs/data-model.md
  • docs/operations.md
  • internal/app/auth/mailretry/mailretry.go
  • internal/app/auth/mailretry/mailretry_test.go
  • internal/app/auth/repository/auth.go
  • internal/app/auth/usecase/auth.go
  • internal/app/auth/usecase/auth_test.go
  • internal/app/auth/usecase/pending_test.go
  • internal/bootstrap/bootstrap.go
  • internal/constants/constants.go
  • internal/e2e/pendingaccounts_test.go
  • internal/explain/explain_test.go
  • internal/infra/db/migrations/000033_email_mail_retry.down.sql
  • internal/infra/db/migrations/000033_email_mail_retry.up.sql
  • internal/mailer/mailer.go
  • internal/mailer/mailer_test.go
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@deepsource-io

deepsource-io Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

DeepSource Code Review

We reviewed changes in 246a7a8...884b42d on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Code Review Summary

Analyzer Status Updated (UTC) Details
JavaScript Nov 26, 2026 7:53a.m. Review ↗
SQL Nov 26, 2026 7:53a.m. Review ↗
Go Nov 26, 2026 7:53a.m. Review ↗
Docker Nov 26, 2026 7:53a.m. Review ↗
Secrets Nov 26, 2026 7:53a.m. Review ↗

Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

@codecov

codecov Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.42857% with 5 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
internal/app/auth/usecase/auth.go 91.30% 4 Missing ⚠️
internal/app/auth/mailretry/mailretry.go 98.18% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@SyafaHadyan
SyafaHadyan merged commit 7a14d3f into main Nov 26, 2026
41 checks passed
@SyafaHadyan
SyafaHadyan deleted the feat/mail-retry branch November 26, 2026 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant