Skip to content

Feat Cache role ID resolution#548

Open
Samk13 wants to merge 2 commits intoinveniosoftware:masterfrom
Samk13:feat-cach-roles
Open

Feat Cache role ID resolution#548
Samk13 wants to merge 2 commits intoinveniosoftware:masterfrom
Samk13:feat-cach-roles

Conversation

@Samk13
Copy link
Member

@Samk13 Samk13 commented Feb 20, 2026

❤️ Thank you for your contribution!

Description

  • add RoleResolverCache wrapper for shared role-id lookups
  • add resolve_role_id() and clear_role_id_cache() utilities
  • invalidate role cache on role create, update, and delete
  • add tests for cache hit behavior and invalidation paths

Note: I did not test it for thread safety and concurrency.

Checklist

Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:

Frontend

Reminder

By using GitHub, you have already agreed to the GitHub’s Terms of Service including that:

  1. You license your contribution under the same terms as the current repository’s license.
  2. You agree that you have the right to license your contribution under the current repository’s license.

@Samk13 Samk13 added this to v14 Feb 24, 2026
Samk13 added 2 commits March 16, 2026 16:36
* add RoleResolverCache wrapper for shared role-id lookups
* add resolve_role_id() and clear_role_id_cache() utilities
* invalidate role cache on role create, update, and delete in datastore
* add tests for cache hit behavior and invalidation paths
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant