Skip to content

vscode ssh, show no change with @git diff #4831

Closed

Description

@lemoncat7

Before submitting your bug report

Relevant environment info

- OS: macOS
- Continue version: 1.0.4
- IDE version: Visual Studio Code 1.98.2 (Universal)
- Model:
- config:
  
{
  "models": [
    {
      "title": "deepseek r1 8b",
      "provider": "ollama",
      "model": "deepseek-r1:8b"
    },
    {
      "title": "deepseek chat",
      "provider": "openai",
      "model": "deepseek-chat",
      "apiKey": "sk-******",
      "apiBase": "https://api.deepseek.com"
    }
  ],
  "tabAutocompleteModel": {
    "title": "Qwen2.5-Coder 1.5B",
    "provider": "ollama",
    "model": "qwen2.5-coder:1.5b"
  },
  "contextProviders": [
    {
      "name": "code",
      "params": {}
    },
    {
      "name": "docs",
      "params": {}
    },
    {
      "name": "diff",
      "params": {}
    },
    {
      "name": "terminal",
      "params": {}
    },
    {
      "name": "problems",
      "params": {}
    },
    {
      "name": "folder",
      "params": {}
    },
    {
      "name": "codebase",
      "params": {}
    }
  ],
  "slashCommands": [
    {
      "name": "share",
      "description": "Export the current chat session to markdown"
    },
    {
      "name": "cmd",
      "description": "Generate a shell command"
    },
    {
      "name": "commit",
      "description": "Generate a git commit message"
    }
  ],
  "embeddingsProvider": {
    "provider": "ollama",
    "model": "nomic-embed-text"
  }
}
  
  OR link to assistant in Continue hub:

Description

Use remote ssh to remotely modify files to the server, and use @git diff to find the difference point

Image

To reproduce

No response

Log output

workbench.desktop.main.js:sourcemap:1262 Error (FileSystemError): 无法解析具有相对文件路径"vscode-scm:git/scm0/input?rootUri=file%3A%2F%2F%2Froot%2Fcode%2Ffpe"的文件系统提供程序
	at Zi.e (/Applications/Visual…rocess.js:112:18893)
	at Object.readFile (/Applications/Visual…rocess.js:112:16618)
	at async _RecentlyEditedTracker.insertRange (vscode-file://vscode…ension.js:609209:27)
6
An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
index.html?id=056229…ose=webviewView:281 Found unexpected service worker controller. Found: vscode-webview://0969fs587q48a31fkd41vhesfr28nsqktb4lj06tnaea0te22thj/servi…de-resource-base-authority=vscode-resource.vscode-cdn.net&remoteAuthority=. Expected: service-worker.js?v=4&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&remoteAuthority=ssh-remote+172.16.36.106. Waiting for controllerchange.
JetBrainsMono-Light.woff2:1 
 Failed to load resource: the server responded with a status of 401 ()
InterDisplay-Light.woff2:1 
 Failed to load resource: the server responded with a status of 401 ()
workbench.desktop.main.js:sourcemap:1244 [Extension Host] LanceDBIndex, skipping vscode-remote://ssh-remote%2B172.16.36.106/root/code/fpe/clang-fpe/lib/libssl.so.1.1: Error: did not chunk properly
workbench.desktop.main.js:sourcemap:1244 [Extension Host] LanceDBIndex, skipping vscode-remote://ssh-remote%2B172.16.36.106/root/code/fpe/Format%20Preserving%20Encryption(FPE)/FPE_FF1%26FF3%26FF3-1.tv: Error: did not chunk properly
workbench.desktop.main.js:sourcemap:1244 [Extension Host] LanceDBIndex, skipping vscode-remote://ssh-remote%2B172.16.36.106/root/code/fpe/Format%20Preservin…ion(FPE)/FPE%E5%AD%97%E6%AE%B5%E5%8A%A0%E5%AF%86%E6%96%B9%E6%A1%88_V1.docx: Error: did not chunk properly
workbench.desktop.main.js:sourcemap:1244 [Extension Host] error when indexing:  Error: Failed to generate embeddings for 89 chunks with provider: Ollama2::nomic-embed-text::500: Error: HTTP 404 Not Found from http://127.0.0.1:11434/api/embed

The model "nomic-embed-text" was not found. To download it, run `ollama run nomic-embed-text`.
	at _LanceDbIndex.getEmbeddings (/Users/moye/.vscode/extensions/continue.continue-1.0.4-darwin-arm64/out/extension.js:204812:17)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async _LanceDbIndex.computeRows (/Users/moye/.vscode/extensions/continue.continue-1.0.4-darwin-arm64/out/extension.js:204754:28)
	at async _LanceDbIndex.update (/Users/moye/.vscode/extensions/continue.continue-1.0.4-darwin-arm64/out/extension.js:204917:24)
	at async CodebaseIndexer.indexFiles (/Users/moye/.vscode/extensions/continue.continue-1.0.4-darwin-arm64/out/extension.js:606329:39)
	at async CodebaseIndexer.refreshDirs (/Users/moye/.vscode/extensions/continue.continue-1.0.4-darwin-arm64/out/extension.js:606201:30)
	at async Core.refreshCodebaseIndex (/Users/moye/.vscode/extensions/continue.continue-1.0.4-darwin-arm64/out/extension.js:607631:26)
4
workbench.desktop.main.js:sourcemap:27 Error: Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!
    at Mmi.add (workbench.desktop.ma…s:sourcemap:27:1553)
    at d (workbench.desktop.ma…s:sourcemap:27:6923)
    at Object.r [as map] (workbench.desktop.ma…s:sourcemap:27:6255)
    at workbench.desktop.ma…ourcemap:2553:25971
    at o (workbench.desktop.ma…s:sourcemap:29:4889)
    at new UIe (workbench.desktop.ma…s:sourcemap:29:4913)
    at lb.createOnInstanceEvent (workbench.desktop.ma…ourcemap:2553:43979)
    at get onAnyInstancePrimaryStatusChange (workbench.desktop.ma…ourcemap:2553:25944)
    at Rt.t.<computed> (workbench.desktop.ma…:sourcemap:69:13314)
    at Object.get (workbench.desktop.ma…sourcemap:1877:3842)
workbench.desktop.main.js:sourcemap:34  INFO Extension host (Remote) is unresponsive.
workbench.desktop.main.js:sourcemap:34  INFO Extension host (Remote) is responsive.

Activity

  1. self-assigned this
    on Mar 26, 2025
  2. added
    area:context-providers
    ide:vscode
    kind:bug
    on Mar 26, 2025
  3. sestinj commented on Mar 28, 2025

    @sestinj
    Contributor

    @lemoncat7 thanks for sharing the logs and other detail. I'm going to close this as a duplicate of #1450, but it will be linked so the information can help us solve the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

"needs-triage"area:context-providerside:vscodekind:bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions