Cache generated PowerShell adapter schemas during discovery

Aperta
#1,812 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
powershell, rust
Ambito
devtools

Direzione di ricerca

Start with the PowerShell and Windows PowerShell resource adapters and the cache refresh path that stores resource metadata, which the issue does not name by file, and find where schemas are generated during listing. Read the cache versioning and invalidation logic before changing anything. Done means schemas are persisted at refresh, repeated listings skip regeneration, and live and cached results match.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Issue-Enhancement Needs Triage
Summary of the new feature / enhancement

Follow-up to #1775: PowerShell adapters generate resource schemas whenever they list cached resource metadata. Generate and persist schemas during cache refresh instead, so repeated discovery does not rebuild them.

Proposed technical implementation details (optional)

Apply to both PowerShell and Windows PowerShell adapters. Store each schema with its resource cache entry, bump cache versions, and preserve invalidation when module files or paths change. Retain per-resource warning/fallback behavior for unexpected metadata. Verify live and cached discovery produce equivalent schemas and measure repeated-listing overhead before and after the change.

Lingua principale
Rust
Stelle
545
Fork
82
Merge medio
4g 16h
PR unite (30g)
21

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PowerShell/DSC

Tutte le issue di PowerShell/DSC

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.