Skip to content

test: add unit tests for session cleanup#8

Closed
majiayu000 wants to merge 2 commits into
OpenMeet-Team:mainfrom
majiayu000:fix/session-cleanup-unit-test
Closed

test: add unit tests for session cleanup#8
majiayu000 wants to merge 2 commits into
OpenMeet-Team:mainfrom
majiayu000:fix/session-cleanup-unit-test

Conversation

@majiayu000

Copy link
Copy Markdown
Contributor

Adds SessionStore interface to SessionMiddleware and unit tests covering expired-session deletion, delete errors, and valid sessions.

majiayu000 and others added 2 commits January 4, 2026 11:13
Previously, expired sessions were detected but not removed from the
database, causing them to accumulate indefinitely. Now when an expired
session is encountered, it is deleted from the database before
continuing with the request.

Fixes OpenMeet-Team#3

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@majiayu000

Copy link
Copy Markdown
Contributor Author

Closing in favor of updating PR #7.

@majiayu000 majiayu000 closed this Jan 4, 2026
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