Expand description
Durable cache rows for rendered GitHub issues and pull requests.
The cache belongs in AFT’s existing aft.db. Keeping the effective
authentication identity as a cryptographic hash prevents cache rows from
exposing credentials while still keeping principals strictly isolated.
Structs§
- Github
Read Cache Entry - Cached canonical text and the timestamps used for cache freshness decisions.
- Github
Read Cache Key - Exact durable cache key for one GitHub resource and authentication identity.
Enums§
- Github
Read Resource Kind - The GitHub resource type that selects a cache namespace.
Functions§
- ensure_
github_ read_ cache_ schema - Create the GitHub-read cache table and index in the already-open AFT database.
- evict_
hard_ expired_ github_ read_ cache_ entries - Delete rows whose source-fetch time has reached the hard-TTL cutoff.
- invalidate_
github_ read_ cache_ resource - Invalidate a resource across identities, or only one identity when supplied.
- lookup_
github_ read_ cache_ entry - Look up one cache row using the full resource and authentication-identity key.
- upsert_
github_ read_ cache_ entry - Insert or replace the canonical render for one exact cache key.