Bogus Errno 2 error when process cwd is deleted
Cluster 115342. Data as of
Nothing open on GitHub. Fix merged in #115718 on 19 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #115718. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #115718. That is separate from the fix event. - Still open
- Nothing open on GitHub.
A bug where write_file/patch operations incorrectly raised a spurious [Errno 2] error when the LSP workspace resolver encountered a deleted process working directory. The members include the bug report and related fix attempts.
Open issues0
Open PRs0
Fixes on record
-
#115718 fix(lsp): a deleted process cwd no longer fails write_file/patch with a bogus [Errno 2] (#115342, salvage #115355)
files:
agent/lsp/eventlog.py,agent/lsp/workspace.py,tests/agent/lsp/test_diagnostics_field.py,tests/agent/lsp/test_workspace.py,tools/file_operations_lint.py
1 PR closed without merging
From the close comments: merged via another change 1
-
#115355 fix(lsp): a deleted process cwd no longer fails write_file/patch with a bogus [Errno 2] · merged via another change →
6b3005c,#115718
Closed issues · 1
- Closed#115342[Bug]: write_file/patch report a bogus `[Errno 2]` when the process cwd was deleted — LSP workspace resolver raises after a successful write
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Merged PRs
- #115718
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 19 Sep 2026