AltimateAI / AltimateAI/altimate-code
chore: manifest cache improvements — eviction, immutability, async fs
Open
- Dominant language
- TypeScript
- Stars
- 811
- Forks
- 134
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 50
Description
Found during v0.5.21 release review. The manifest cache in `helpers.ts` has three design limitations:
1. **Single-entry cache** — silently evicts if user works across two dbt projects in one session
2. **Mutable shared objects** — callers could corrupt the cache (currently safe, but fragile)
3. **Synchronous fs calls** — blocks event loop on 100MB+ manifests
Deferred because: architectural change across dbt subsystem (>1 hour).
Contributor guide
Assessment
This issue has not been assessed yet.