Skip to content

fix: usability issues on the backend for managing invites - #4315

Merged
abelanger5 merged 4 commits into
mainfrom
belanger/invites-backend-bugs
Jul 17, 2026
Merged

fix: usability issues on the backend for managing invites#4315
abelanger5 merged 4 commits into
mainfrom
belanger/invites-backend-bugs

Conversation

@abelanger5

Copy link
Copy Markdown
Contributor

Description

Fixes several backend issues related to tenant invites:

  1. Invite emails were not lowercased when created, which meant that casing which doesn't match the user email address (always lowercased) wouldn't register as a valid invite
  2. Users were allowed to create duplicate invites for the same email address
  3. Accepting a tenant invite when you were already a member would just be a silent no-op -- resolved by the above but fixed anyway.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

What's Changed

  • Updated handlers to fix issues listed above.

Checklist

Changes have been:

  • Tested (unit, integration, or manually with steps specified) -- manual
  • Linted and formatted

🤖 AI Disclosure
  • I acknowledge that an LLM was used in the creation of this Pull Request, in accordance with Hatchet's AI_POLICY.md.
  • Details: Claude for implementing fixes

@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hatchet-docs Ready Ready Preview, Comment Jul 16, 2026 6:29pm

Request Review

@abelanger5
abelanger5 requested a review from mrkaye97 June 30, 2026 16:00
@github-actions github-actions Bot added the engine Related to the core Hatchet engine label Jun 30, 2026
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Optional test failure: The load-deadlock job failed on this PR (optimistic-scheduling=false). This check is non-mandatory and does not block merging, but may be worth investigating. View logs

@abelanger5
abelanger5 merged commit 8f811a1 into main Jul 17, 2026
64 of 65 checks passed
@abelanger5
abelanger5 deleted the belanger/invites-backend-bugs branch July 17, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engine Related to the core Hatchet engine

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants