6 feat implement automatic binary update from GitHub releases#11
Conversation
There was a problem hiding this comment.
Pull request overview
Adds automatic provisioning of the CoreTrace/ctrace CLI by downloading the latest GitHub Release into extension global storage, then updates extension activation/analysis flows to use the ensured binary.
Changes:
- Introduces
BinaryUpdater.ensureBinary()to download + extract the latest release asset and cache it underglobalStorage/bin. - Switches extension commands to use
ensureBinary()(and adds an activation-time prefetch). - Updates extension packaging metadata (publisher/icon/keywords), dependencies (axios/tar), and documentation.
Reviewed changes
Copilot reviewed 5 out of 8 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| src/extension.ts | Uses ensureBinary() (incl. activation prefetch) instead of only bundled binary lookup. |
| src/ctrace/BinaryUpdater.ts | New updater/downloader for GitHub Releases assets + extraction to global storage. |
| src/ctrace/SarifParser.ts | Hardens SARIF merge logic around missing runs. |
| package.json | Adds marketplace metadata and runtime deps (axios, tar). |
| package-lock.json | Locks new deps; tar entry shows deprecation warning. |
| README.md | Documents auto-download + background update behavior. |
| .gitignore | Updates a comment line. |
| icon.png | Adds extension icon asset. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 8 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 7 out of 11 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.