Skip to content

6 feat implement automatic binary update from GitHub releases#11

Merged
Arthurvroum merged 11 commits into
mainfrom
6-feat-implement-automatic-binary-update-from-github-releases
Apr 1, 2026
Merged

6 feat implement automatic binary update from GitHub releases#11
Arthurvroum merged 11 commits into
mainfrom
6-feat-implement-automatic-binary-update-from-github-releases

Conversation

@Arthurvroum
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 under globalStorage/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.

Comment thread src/ctrace/BinaryUpdater.ts Outdated
Comment thread src/ctrace/BinaryUpdater.ts Outdated
Comment thread src/ctrace/BinaryUpdater.ts Outdated
Comment thread src/ctrace/BinaryUpdater.ts Outdated
Comment thread src/extension.ts Outdated
Comment thread src/ctrace/BinaryUpdater.ts
Comment thread src/ctrace/BinaryUpdater.ts Outdated
Comment thread src/ctrace/BinaryUpdater.ts Outdated
Comment thread src/ctrace/BinaryUpdater.ts Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread src/ctrace/BinaryUpdater.ts
Comment thread src/ctrace/BinaryUpdater.ts
Comment thread src/ctrace/BinaryUpdater.ts
Comment thread package.json Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread package.json
Comment thread src/ctrace/BinaryUpdater.ts Outdated
Comment thread src/extension.ts
Comment thread src/extension.ts Outdated
@Arthurvroum Arthurvroum merged commit 61241fc into main Apr 1, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: implement automatic binary update from GitHub Releases

2 participants