Skip to content

Comments

[pull] main from forem:main#145

Merged
pull[bot] merged 1 commit intoamishakov:mainfrom
forem:main
Jan 3, 2026
Merged

[pull] main from forem:main#145
pull[bot] merged 1 commit intoamishakov:mainfrom
forem:main

Conversation

@pull
Copy link

@pull pull bot commented Jan 3, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

…#22677)

When a user leaves an organization, the after_destroy callback needs to
fire to update the organization_info_updated_at timestamp. This timestamp
is part of the cache key for the user profile sidebar, which displays
organization memberships.

Using .delete instead of .destroy bypasses callbacks, causing the cache
to not be invalidated. This results in stale organization data being
displayed on the user's profile for up to 2 days (cache expiration time).

Fixes #22668
@pull pull bot locked and limited conversation to collaborators Jan 3, 2026
@pull pull bot added the ⤵️ pull label Jan 3, 2026
@pull pull bot merged commit 5915f22 into amishakov:main Jan 3, 2026
2 of 3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant