# Language\_server\_macos\_arm holds .git/index.lock indefinitely, blocking git operations

**URL:** <https://discuss.ai.google.dev/t/language-server-macos-arm-holds-git-index-lock-indefinitely-blocking-git-operations/116259>\
**Category:** Google Antigravity\
**Tags:** bug\
**Created:** [January 20, 2026, 7:26am UTC](https://discuss.ai.google.dev/t/language-server-macos-arm-holds-git-index-lock-indefinitely-blocking-git-operations/116259 "2026-01-20T07:26:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brandon\_Wallace](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/brandon_wallace/32/84267_2.png) [@Brandon\_Wallace](https://discuss.ai.google.dev/u/Brandon_Wallace)\
**Post date:** [January 20, 2026, 7:26am UTC](https://discuss.ai.google.dev/t/language-server-macos-arm-holds-git-index-lock-indefinitely-blocking-git-operations/116259/1 "2026-01-20T07:26:12Z")

</div>

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:

```bash
$ 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.

---

<div class="post-metadata">

**Author:** ![Mrinal\_Ghosh](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/mrinal_ghosh/32/32599_2.png) [@Mrinal\_Ghosh](https://discuss.ai.google.dev/u/Mrinal_Ghosh)\
**Post date:** [February 25, 2026, 8:27am UTC](https://discuss.ai.google.dev/t/language-server-macos-arm-holds-git-index-lock-indefinitely-blocking-git-operations/116259/2 "2026-02-25T08:27:53Z")

</div>

Hi @Brandon_Wallace ,

Thank you for flagging this issue. We recommend updating to the latest version of Antigravity and checking whether the issue still occurs. Please let us know if the problem persists after updating.
