Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#4,434 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
cli, tooling

Hướng nghiên cứu

Bắt đầu từ đường dẫn cài đặt bundle xử lý lệnh offline và tái hiện bản cập nhật với workflow, các extension và preset hiện có. Kiểm tra cách .specify/bundle-records.json cùng các manifest hoặc registry nguyên thủy được ghi; được xem là hoàn tất khi các component có phiên bản không khớp được cập nhật trước khi record được chuyển tiếp, lỗi giữ lại record nhất quán trước đó và các thao tác ghi vào registry dùng chung được tuần tự hóa.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
138k
Fork
12.4k
Merge trung bình
3 ngày 6 giờ
Pull request đã merge (30 ngày)
145

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của github/spec-kit

Tất cả issue của github/spec-kit

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.