github / github/codeql-cli-binaries

`evaluation/runQueries` query server command fails silently if it fails to acquire the database lock

Aberta
#51 2 comentários 0 reações 0 responsáveis Ver no GitHub
CLI
Linguagem predominante
Sem dados de linguagem
Estrelas
1k
Forks
184
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Hi!

When having several query servers running on the same database (eg: VSCode + CodeQL.nvim) the first one running a query acquires a lock for the database, and running a query using `evaluation/runQueries` command on the second one fails silently without returning the reason of the failure.

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Start at the evaluation/runQueries query server command and trace how database-lock acquisition failures are handled. Reproduce the case with two query servers using the same database; done means the second command returns the reason it could not acquire the lock instead of failing silently.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Domínio
cli, database
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.