[Bug]: Bundle pins can become unresolvable after component catalog updates
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 55/100
Piste de recherche
Look at the bundle resolver code, likely in a module handling extension or component resolution. The bug is that the resolver looks up by ID only, not by ID and pinned version. Find where catalog entries are fetched and version checks are performed. Start by reproducing the scenario with a test bundle and catalog. 'Done' means the resolver correctly attempts to retrieve the pinned version from its original URL even if a newer version is advertised.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Bug Description
Bundle 0.4.12 pins an extension to 0.4.12. Because component catalogs contain only the currently advertised release, updating the extension’s catalog entry to 0.5.1 replaces the version and download URL used by bundle resolution. The resolver looks up the extension by ID—not by ID and pinned version—so the unchanged bundle now resolves to the 0.5.1 entry. The subsequent version check rejects that selection. It never attempts to retrieve 0.4.12, even when that release remains available.
Steps to Reproduce
This scenario is derived from source inspection; runtime reproduction is still needed.
-
Prepare a bundle that pins an extension or preset to version
0.4.12. -
Make that version available through an install-enabled component catalog.
-
Update the catalog entry to advertise version
0.5.1, leaving the0.4.12release artifact available at its original URL. -
In a fresh initialized project with no affected components installed, configure that component catalog.
-
Install the original bundle using
specify bundle install <path-to-bundle.yml>. -
Observe that component resolution rejects the version mismatch before attempting to retrieve the pinned release.
Expected Behavior
The bundle retrieves and installs its pinned component version when that release remains available, regardless of whether a newer version is advertised.
If the pinned version cannot be retrieved, installation reports that clearly without silently substituting another version.
Actual Behavior
The inspected resolver compares the bundle’s pin against the selected catalog entry’s version and raises an error when they differ. It does not attempt to locate the older pinned release.
Specify CLI Version
1.0.10
AI Agent
GitHub Copilot
Operating System
To be recorded during runtime reproduction.
Python Version
To be recorded during runtime reproduction.
Error Logs
No runtime logs captured. The inspected extension resolver produces the following error for the example above:
Extension 'specassay-check' is pinned to version 0.4.12 in the bundle manifest, but the resolved version is 0.5.1. Update the bundle's pinned version or the source before installing.
Additional Context
Observed during #4703
AI Disclosure
GitHub Copilot using GPT-6 Astra (gpt-6-astra), human-supervised, assisted with source inspection, related-issue research, and drafting this report.
- Langage dominant
- Python
- Étoiles
- 138k
- Forks
- 12.4k
- Merge moyen
- 3 j 2 h
- PR mergées (30 j)
- 169
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de github/spec-kit
-
enhancement needs-triage triage-can-wait
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
-
preset-submission triage-must-have validation-passed
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
-
extension-submission triage-must-have validation-passed
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
-
extension-submission triage-can-wait validation-passed
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
-
[Feature]: 给 slug 添加默认值 Ouverteenhancement needs-triage triage-can-wait
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
Toutes les issues de github/spec-kit
Issues similaires
-
agent-ready documentation needs-triage
Difficulté 1/5 1-3 heures Accessibilité débutants 88/100
-
documentation
Difficulté 1/5 Moins d'une heure Accessibilité débutants 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 92/100
-
Add https://search.jeremyh.xyz/ Ouverteinstance instance add
Difficulté 1/5 Moins d'une heure Accessibilité débutants 72/100
searxng/searx-instances#939 · 1 commentaire ·
-
area-deployment area-integrations triage:bot-seen
Difficulté 2/5 Une demi-journée Accessibilité débutants 86/100