Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allowlist claim response cache refresh #254

Merged
merged 6 commits into from
Feb 12, 2025

Conversation

bitbeckers
Copy link
Collaborator

@bitbeckers bitbeckers commented Feb 10, 2025

Updates the specified table to monitor for cache invalidations. The cache invalidation works, but the query needs to call both count and data. As discussed in #255

Works on #251

Jipperism and others added 5 commits January 30, 2025 14:31
fix: improve error handling in hypercert orders resolver
Updates dependencies and generated content of API
Updates the cache invalidation method to invalidate based on changes to
hypercert_allow_list_records instead of allow_lists. This enforces cache
invalidation when a record is claimed
@bitbeckers bitbeckers added the bug Something isn't working label Feb 10, 2025
@bitbeckers bitbeckers self-assigned this Feb 10, 2025
Copy link

github-actions bot commented Feb 10, 2025

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 24.44% (🎯 24%) 1064 / 4352
🟢 Statements 24.44% (🎯 24%) 1064 / 4352
🟢 Functions 60.21% (🎯 59%) 56 / 93
🟢 Branches 72.24% (🎯 72%) 177 / 245
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/client/supabase.ts 0% 0% 0% 0% 1-450
Generated in workflow #63 for commit 6f8b777 by the Vitest Coverage Report Action

src/client/supabase.ts Outdated Show resolved Hide resolved
src/client/supabase.ts Show resolved Hide resolved
- removes unused payload line in supabase.ts
- when invalidation allowlist record cache on update use record id
- when invalidating allowlist record cache on insert invalidate all
@bitbeckers bitbeckers merged commit 1f3beb6 into develop Feb 12, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Allowlist records claimed don't invalidate the cache
2 participants