denoland / denoland/deno_install

Install hangs indefinitely

Open
#320 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1k
Forks
210
PR merge metrics
No merged PRs in 30d

Description

The install script uses some heuristics to determine if it is run interactively or not. This setup is broken and has some false positives, i.e. it determines that it runs interactively while in fact it does not. As a result, the install script hangs indefinetely.

There also isn't a flag to force skip the interactive shell setup, so there is no known workaround atm. Existing env vars like `DEBIAN_FRONTEND=noninteractive` are not considered, either.

Some ways to break this are
- by breaking the `-t 0` check, such as if you run the script remotely, see [this](https://tldp.org/LDP/abs/html/intandnonint.html#II2TEST)
- by running the install script via kaniko during a docker build

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the install script and reading its interactive-shell detection, including the -t 0 check and environment handling. Reproduce the hang in a remote or kaniko Docker-build context, then verify that noninteractive installation can skip shell setup through an explicit flag or supported environment setting.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
cli, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.