Cache generated PowerShell adapter schemas during discovery

Abierto
#1,812 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
powershell, rust
Área
devtools

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Rust
Estrellas
545
Forks
82
Merge medio
4 d 16 h
PR fusionados (30 d)
21

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de PowerShell/DSC

Todos los issues de PowerShell/DSC

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.