Skip to content

Remove deprecated ExpiringCacheMem#840

Merged
johanlundberg merged 1 commit intomainfrom
ylle-remove-deprecated-cache
Feb 11, 2026
Merged

Remove deprecated ExpiringCacheMem#840
johanlundberg merged 1 commit intomainfrom
ylle-remove-deprecated-cache

Conversation

@helylle
Copy link
Contributor

@helylle helylle commented Feb 10, 2026

Remove deprecated ExpiringCacheMem and NoOpLock from IdP SSO cache

Remove the unused ExpiringCacheMem class (marked @deprecated("This class seems unused")) and its
helper class NoOpLock from src/eduid/webapp/idp/sso_cache.py.

Verification

  • ExpiringCacheMem has zero references outside its own definition — no imports, no instantiations
  • NoOpLock in this file is only used by ExpiringCacheMem (the separate NoOpLock in vccs/server/hasher.py is unrelated and unaffected)
  • The remaining classes SSOSessionCache and SSOSessionCacheError are unchanged and still actively used

@sonarqubecloud
Copy link

@helylle helylle changed the title Remove deprecated cache classes and imports Remove deprecated ExpiringCacheMem Feb 10, 2026
@helylle helylle marked this pull request as ready for review February 10, 2026 14:18
@johanlundberg johanlundberg merged commit 0009381 into main Feb 11, 2026
12 checks passed
@johanlundberg johanlundberg deleted the ylle-remove-deprecated-cache branch February 11, 2026 12:55
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.

2 participants