Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[Bug] Local bundle install can advance records without updating existing components

Abierto
#4,434 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
cli, tooling

Línea de trabajo

Comienza en la ruta de instalación del bundle que gestiona el comando offline y reproduce la actualización con un workflow, extensiones y preset existentes. Inspecciona cómo se escriben .specify/bundle-records.json y los manifiestos o registros primitivos; se considera terminado cuando los componentes con versiones no coincidentes se actualizan antes de avanzar el registro, los fallos conservan el registro coherente anterior y las escrituras en registros compartidos se serializan.

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

Descripción

bug-assess bug-fix severity-medium triage-must-have
Spec Kit version

Reproduced with specify 1.0.4 on Windows.

Reproduction
  1. Install a bundle version whose workflow, two extensions, and preset are already present in an initialized project.
  2. Point a clean local release directory at a newer version of the same bundle and components.
  3. Run:
specify bundle install C:\path\to\new-release\bundle.yml --offline --integration codex

The command reports success, for example:

Installed 'program-kit' (0 added, 4 already present).

It advances .specify/bundle-records.json and its contributed-component versions to the new bundle version, but the installed workflow/registry, extension manifests, and preset/registry can remain at the old version. A subsequent component tool can therefore appear current while executing old code.

When components were installed individually before the bundle, the successful local bundle install can instead create a record without the expected contributed-component entries because every primitive is classified as already present.

Expected behavior

Bundle installation/update should be transactional across its record and primitive installations:

  • update every component to the resolved version before advancing the bundle record;
  • validate installed manifests and registries against the resolved bundle before returning success;
  • retain the previous coherent record or fail if a primitive update fails; and
  • serialize writes when multiple extensions share registry/configuration files.

At minimum, an existing component with a different version must not be treated as satisfied solely because its ID is present.

Impact

The project records a coherent new bundle version while continuing to execute old extension code. In the observed consumer, managed synchronization misleadingly reported all files unchanged until each workflow, extension, and preset was explicitly reinstalled in sequence.

Lenguaje dominante
Python
Estrellas
138k
Forks
12.4k
Merge medio
3 d 6 h
PR fusionados (30 d)
145

Guía de contribución

Abrir la guía de contribución

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 github/spec-kit

Todos los issues de github/spec-kit

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.