Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Throws an Error when used without Git

Open
#453 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
git, github, typescript, vscode
Domain
tooling

Research direction

Reproduce the crash by setting git.disabled in .vscode/settings.json and opening the actions pane. Trace the extension startup path that creates the Git-dependent provider, then verify that the actions pane opens without the Git extension while optional features such as the current branch can be unavailable.

Written by the indexing model from the issue text.

Description

bug

Describe the bug
When using a VCS like JJ, the extension crashes with "Unable to Connect to the GitHub API, please check your internet connection."

To Reproduce
Steps to reproduce the behavior:

  1. Put git.disabled in your .vscode/settings.json
  2. Open actions pane

Expected behavior
It shouldn't require the Git extension, only provide optional features (like current branch).

Screenshots

2025-03-14 12:38:40.980 [error] Error: Git model not found
    at s.getAPI (/Users/dukese01/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:2:805076)
    at new _d (/Users/dukese01/.vscode/extensions/github.vscode-pull-request-github-0.106.0/dist/extension.js:2190:26346)
    at Function.createProvider (/Users/dukese01/.vscode/extensions/github.vscode-pull-request-github-0.106.0/dist/extension.js:2190:26938)
    at gw (/Users/dukese01/.vscode/extensions/github.vscode-pull-request-github-0.106.0/dist/extension.js:2190:32572)
    at kf (/Users/dukese01/.vscode/extensions/github.vscode-pull-request-github-0.106.0/dist/extension.js:2526:6481)
    at G4 (/Users/dukese01/.vscode/extensions/github.vscode-pull-request-github-0.106.0/dist/extension.js:2526:7586)

Extension Version
v0.27.1

Additional context
Feel free to close as wontfix, I know this isn't exactly the recommended workflow :)
As I think about it, can you even figure out the connected repo without Git? IDK.

Dominant language
TypeScript
Stars
661
Forks
214
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/vscode-github-actions

All issues in github/vscode-github-actions

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.