-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
When using GitHub source type with authentication (both automated gh authentication and personal access token), downloaded bundles are corrupted and cannot be extracted. The bundle names in the list only show the tag name instead of the expected <collection-name>-<tag> format.
Steps to Reproduce
- Configure a private GitHub repository source in Prompt Registry
- Authenticate using either automated gh authentication or personal access token in extension settings
- Synchronize bundles from the GitHub source
- Attempt to install a bundle from the list
Expected Behavior
- Bundle names should display as
<collection-name>-<tag>format - Downloaded zip files should be valid and extractable
- Installation should complete successfully
Actual Behavior
- Bundle names only show the tag name
- Downloaded bundles are corrupted and cannot be unzipped
- Installation fails with ADM-ZIP error
Error Logs
[2025-11-14T14:11:32.331Z] ERROR: Failed to install bundle
Error: Failed to extract bundle: ADM-ZIP: Invalid or unsupported zip format. No END header found
Stack: Error: Failed to extract bundle: ADM-ZIP: Invalid or unsupported zip format. No END header foundOperating System
macOS
VS Code Version
1.106.2
Extension Version
0.0.6
Registry Source Type
GitHub
Additional Context
- Using a private GitHub repository that requires authentication
- Tested with both automated gh authentication and personal access token - same issue with both methods
- Manually downloading the same zip file from GitHub using the same authentication method works correctly and unzips properly
- This suggests the extension is corrupting the file during download or the download URL/headers may be incorrect
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done