coder / coder/envbuilder

Default `sleep infinity` doesn't respond to interrupts

Open
#467 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
300
Forks
64
Avg merge
20m
Merged PRs (30d)
1

Description

I don't know if it's optimal but I usually do:

```sh
#!/usr/bin/env sh

terminate() {
exit 0
}
trap terminate TERM
sleep infinity &
wait
```

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no file, test, or entry point. Start by locating the default `sleep infinity` behavior in envbuilder and reproduce whether interrupts are forwarded; done means the default behavior responds to interrupts without requiring the shown shell wrapper.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.