8000 fix(groups): coordinate departures with group and account closure by mwoods79 · Pull Request #772 · huddlz-hq/huddlz · GitHub
[go: up one dir, main page]

Skip to content

fix(groups): coordinate departures with group and account closure - #772

Merged
mwoods79 merged 2 commits into
mainfrom
t3/fix-group-lock-order-races
Dec 3, 2026
Merged

mwoods79 merged 2 commits into
mainfrom
t3/fix-group-lock-order-races

Conversation

@mwoods79
@mwoods79 mwoods79 commented Dec 3, 2026 •
Copy link
Copy Markdown
Contributor

Summary

Group closure and member departures now respect account closure. A completed ownership transfer keeps the new owner on the roster. Regression coverage also checks that invitation replacement respects permanent group deletion.

Evidence

  • Before — Five of six new concurrency checks failed on bf633b67. The invitation check passed on that revision.
  • After — All six checks pass. The existing owner validation error is preserved. The full suite and mix precommit passed. PostgreSQL’s deadlock counter read 0 before the suite, 0 afterward and 0 after precommit.

Merge Danger

Door: Reversible
Blast Radius: Groups

  • Application-only change. Deploy and roll back through the normal release process.
  • The affected operations can briefly wait for another transaction involving the same account, group or membership.

@mwoods79
mwoods79 merged commit f2244dd into main Dec 3, 2026
5 checks passed
@mwoods79
mwoods79 deleted the t3/fix-group-lock-order-races branch December 3, 2026 02:02
mwoods79 added a commit that referenced this pull request Dec 3, 2026
* origin/main:
  fix(groups): coordinate departures with group and account closure (#772)
  fix(api): align membership management with roster permissions (#770)

# Conflicts:
#	lib/huddlz/communities/release_spots.ex
mwoods79 added a commit to Beehtrix/huddlz that referenced this pull request Dec 5, 2026
…nails

* upstream/main:
  fix(groups): release non-member spots when a group becomes private (huddlz-hq#775)
  fix(deps): patch Ash advisories and preserve huddl capacity totals (huddlz-hq#778)
  fix(deps): upgrade Ash to 3.39.0 for policy security fixes (huddlz-hq#776)
  fix(huddl): release non-member spots on members-only edits (huddlz-hq#771)
  fix(groups): coordinate departures with group and account closure (huddlz-hq#772)
  fix(api): align membership management with roster permissions (huddlz-hq#770)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0