Language_server_macos_arm holds .git/index.lock indefinitely, blocking git operations

Environment:

  • OS: Darwin arm64 24.6.0
  • Antigravity.app (version: 1.14.2)
  • Language Server CL: 855455936

Description:

The language_server_macos_arm process creates and holds a .git/index.lock file open indefinitely, preventing all git write operations in the workspace.

Steps to Reproduce:

  1. Open a git repository in Antigravity
  2. Work normally for some time
  3. Attempt git operations (add, commit, etc.)
  4. Observe “Unable to create ‘.git/index.lock’: File exists” error

Observed Behavior:

The lock file persists for extended periods (13+ minutes observed). Using lsof reveals the language server is holding the file:

$ lsof .git/index.lock
COMMAND     PID    USER   FD   TYPE DEVICE SIZE/OFF      NODE NAME
language_ 24022 brandon   36r   REG   1,16        0 197443615 .git/index.lock


The lock file is 0 bytes, suggesting it was created but never written to or properly released:
$ ls -la .git/index.lock
-rw-r–r–@ 1 brandon staff 0B Jan 20 00:46 .git/index.lock

Process details:
/Applications/Antigravity.app/Contents/Resources/app/extensions/antigravity/bin/language_server_macos_arm --enable_lsp --extension_server_port 61185 --workspace_id file_Users_brandon_dev_expero_connected_expero_connected …

Expected Behavior:

The language server should either:

  1. Not create/hold .git/index.lock files
  2. Release locks promptly after completing any git operations
  3. Use a non-blocking read approach if only reading git state

Workaround:

rm .git/index.lock

This workaround is painful and kills my workflow.