microsoft / microsoft/copilot-for-eclipse

[Bug] database is locked during Eclipse startup

Open
#282 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
126
Forks
60
Avg merge
2d 6h
Merged PRs (30d)
5

Description

Environment

  • OS: Windows 10
  • Eclipse Version: 2026-03
  • Plugin Version: GitHub Copilot 0.18.0.202605200009

Describe the bug
Error message occurs during every Eclipse startup in its logs

!ENTRY org.eclipse.lsp4e 4 0 2026-06-08 12:11:51.143
!MESSAGE [LS:GitHub Copilot Language Server][Error] [default] unhandledRejection: Error: database is locked
at new PersistentTfIdf (C:\snapshot\cls-source\dist\tfidfWorker.js:41:2679)
at new TfidfWorker (C:\snapshot\cls-source\dist\tfidfWorker.js:95:2551)
at main (C:\snapshot\cls-source\dist\tfidfWorker.js:95:4444)
at Object. (C:\snapshot\cls-source\dist\tfidfWorker.js:95:4481)
at Module. (node:internal/modules/cjs/loader:1709:14)
at Module._compile (pkg/prelude/bootstrap.js:1832:32)
at Object..js (node:internal/modules/cjs/loader:1842:10)
at Module.load (node:internal/modules/cjs/loader:1445:32)
at Function._load (node:internal/modules/cjs/loader:1267:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14) {
code: 'ERR_SQLITE_ERROR',
errcode: 5,
errstr: 'database is locked'
}

To Reproduce
Steps to reproduce the behavior:

  1. Start Eclipse
  2. Check logs
  3. See error

Expected behavior
No errors expected during Eclipse boot.

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.

Research direction

Reproduce the issue by starting Eclipse on Windows 10 and inspect the startup logs. The reported entry point is dist/tfidfWorker.js, involving PersistentTfIdf and TfidfWorker with SQLite error code 5; done means Eclipse starts without the database-locked error.

Written by the indexing model from the issue text.

Assessment

Tech stack
sqlite
Domain
database
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.