Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#4,434 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
cli, tooling

Direzione di ricerca

Inizia dal percorso di installazione del bundle che gestisce il comando offline e riproduci l’aggiornamento con un workflow, estensioni e preset esistenti. Esamina come vengono scritti .specify/bundle-records.json e i manifest o registry primitivi; il lavoro è completato quando i componenti con versioni non corrispondenti vengono aggiornati prima di far avanzare il record, gli errori preservano il record coerente precedente e le scritture nei registry condivisi vengono serializzate.

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

Descrizione

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.

Lingua principale
Python
Stelle
138k
Fork
12.4k
Merge medio
3g 4h
PR unite (30g)
154

Guida per i contributori

Apri la guida per i contributori

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

Tutte le issue di github/spec-kit

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.