Skip to content

Implement missing package probe for Julia errors and update version to 0.2.2 - #42

Merged
ntluong95 merged 4 commits into
mainfrom
v0.2.2/prompt-missingPackage
Jul 30, 2026
Merged

ntluong95 merged 4 commits into
mainfrom
v0.2.2/prompt-missingPackage

Conversation

@ntluong95

Copy link
Copy Markdown
Collaborator

Introduce a new function to generate a probe snippet for missing Julia packages based on error messages. Bump the version to 0.2.2 to reflect these changes.

Copilot AI review requested due to automatic review settings July 29, 2026 21:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Not ready to approve

The version bump in package.json is not reflected in the committed package-lock.json, and the new RuntimeConsoleError type duplicates an existing error shape, increasing risk of type drift.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.

Pull request overview

Adds a Julia-runtime-side helper to recognize “missing package” console errors and generate a minimal probe snippet for the frontend to re-check installability via the existing missing-packages analyzer, and bumps the extension version accordingly.

Changes:

  • Extend Positron runtime typings with getMissingPackageProbe and a RuntimeConsoleError shape.
  • Implement JuliaSession.getMissingPackageProbe() and add juliaMissingPackageProbe() for parsing Julia missing-package errors.
  • Bump extension version to 0.2.2.
File summaries
File Description
typings/positron.d.ts Adds API surface for getMissingPackageProbe and defines the error payload type passed to it.
src/session.ts Wires the new probe API into JuliaSession using the Julia-specific probe builder.
src/missingPackages.ts Introduces a regex-based probe builder for Julia missing-package ArgumentError messages.
package.json Bumps extension version to 0.2.2.
Review details
  • Files reviewed: 3/4 changed files
  • Comments generated: 1
  • Review effort level: Low

We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.

Comment thread package.json
Comment on lines 2 to 6
"name": "positron-julia",
"displayName": "Julia for Positron",
"description": "Julia language support for Positron IDE",
"version": "0.2.1",
"version": "0.2.2",
"publisher": "ntluong95",
@ntluong95
ntluong95 merged commit c8cac61 into main Jul 30, 2026
3 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.

2 participants