Skip to content

fix(sync): workspace indexing on Windows#2587

Merged
tusharmath merged 1 commit intoantinomyhq:mainfrom
aminya:windows-index
Mar 17, 2026
Merged

fix(sync): workspace indexing on Windows#2587
tusharmath merged 1 commit intoantinomyhq:mainfrom
aminya:windows-index

Conversation

@aminya
Copy link
Contributor

@aminya aminya commented Mar 17, 2026

This fixes workspace indexing on Windows. This was caused by the server expecting forward slashes for the workspace and failing with an error otherwise.

    code: 'Internal error', message: "Working directory must be an absolute path: \\\\?\\O:\\GitHub\\forge"

To test, run /index on Windows

After
image

Before
image

This fixes workspace indexing on Windows. This was caused by the server expecting forward slashes for the workspace and failing with an error otherwise.

```
    code: 'Internal error', message: "Working directory must be an absolute path: \\\\?\\O:\\GitHub\\forge"
```

To test, run `/index`  on Windows/
@github-actions github-actions bot added the type: fix Iterations on existing features or infrastructure. label Mar 17, 2026
@tusharmath tusharmath added the type: bug Something isn't working. label Mar 17, 2026
@tusharmath tusharmath changed the title fix: fix workspace indexing on Windows fix(sync): workspace indexing on Windows Mar 17, 2026
@tusharmath tusharmath enabled auto-merge (squash) March 17, 2026 12:00
@tusharmath tusharmath disabled auto-merge March 17, 2026 12:00
@tusharmath
Copy link
Collaborator

thank you @aminya!

This seems like a great quick fix. I wonder if it will work if the file path contains a \ literally.

@tusharmath
Copy link
Collaborator

Merging so that it can solve the problem for most windows users.

@tusharmath tusharmath merged commit 7072fa8 into antinomyhq:main Mar 17, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug Something isn't working. type: fix Iterations on existing features or infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants