AltimateAI / AltimateAI/altimate-code

chore: manifest cache improvements — eviction, immutability, async fs

Aperta
#702 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
811
Fork
134
Merge medio
3g 2h
PR unite (30g)
50

Descrizione

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).

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.