[Bug]: deleting a symlink to a /home/<user> folder inside container causes autofs delay
- Dominant language
- Swift
- Stars
- 49.9k
- Forks
- 1.8k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 22
Description
### I have done the following
- [x] I have searched the existing issues
- [ ] If possible, I've reproduced the issue using the 'main' branch of this project
### Steps to reproduce
I have a symlink in the container created by software that looks like:
latest -> /home/scion/.claude/debug/c3091f3d-0324-4310-b268-32c53d4af2a5.txt
When I go to remove this symlink, or delete the container, I get about a 5-10 second delay
This is whether I do any kind of unlink, mv, rm etc causes this delay
My looking into this blames "quirk of macOS's autofs (automounter) subsystem."
I haven't been able to find any way to avoid this
### Current behavior
5-10 second delay on container removal
### Expected behavior
no delay
### Environment
```markdown
- OS:
- Xcode:
- Container:
```
### Relevant log output
```shell
N/A
```
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Contributor guide
Research direction
The issue names no source files, tests, or entry points. Start by reproducing the 5–10 second delay when removing the reported symlink or deleting the container on macOS, then investigate the container removal path and autofs interaction; done means these operations no longer incur the delay.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100