Skip to content

Conversation

@spikecurtis
Copy link
Contributor

@spikecurtis spikecurtis commented Dec 17, 2025

fixes #21303

Update user last_seen_at when we mark them active on login. This prevents a narrow race where they can be re-marked dormant and fail to log in.

@spikecurtis spikecurtis self-assigned this Dec 17, 2025
Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@spikecurtis spikecurtis requested a review from johnstcn December 17, 2025 12:38
@spikecurtis spikecurtis marked this pull request as ready for review December 17, 2025 12:39
Copy link
Member

@johnstcn johnstcn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given the narrow race window as described in the linked issue, this will be difficult to pin down in a test.

@spikecurtis spikecurtis merged commit bd753d9 into main Dec 17, 2025
37 checks passed
Copy link
Contributor Author

Merge activity

@spikecurtis spikecurtis deleted the spike/21303-dormant-user-race branch December 17, 2025 12:49
@github-actions github-actions bot locked and limited conversation to collaborators Dec 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: CheckInactiveUsers can race with user login and erroneously mark users dormant

3 participants