Skip to main content

Module cache_status

Module cache_status 

Source
Expand description

Read-only inspection of the persisted extraction cache, for fallow doctor. Read-only inspection of the persisted caches.

Exists for fallow doctor, which diagnoses project readiness without running an analysis. A refused cache is invisible in every other read-only surface: the run that pays for it is the one that reports it, and doctor never starts one.

Both persisted caches are inspected. A warm run reuses the extraction blob and the module graph independently, and the graph blob is the larger of the two on a real project, so reporting only the extraction cache told a user their caches were healthy while the expensive half was being discarded on every run.

Structs§

GraphCacheStatus
On-disk state of the persisted module graph for one project.
ParseCacheStatus
On-disk state of the extraction cache for one project.

Functions§

inspect_graph_cache
Inspect the persisted module graph the way an analysis run would load it.
inspect_parse_cache
Inspect the persisted extraction cache the way an analysis run would.