netlify / netlify/cli

Website build with a lot of assets timeout => allow overriding `FRAMEWORK_PORT_TIMEOUT`

Open
#6,061 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

type: bug
Dominant language
TypeScript
Stars
1.9k
Forks
474
Avg merge
23h 30m
Merged PRs (30d)
53

Description

Describe the bug

Websites that download a lot of assets timeout because FRAMEWORK_PORT_TIMEOUT is set to a default value of 10min. In our case depending on how good the internet connection is we are exceeding those 10min.

We would need a way to tell netlify-cli to wait for longer.

Steps to reproduce

Create a Gatsby website that has to download lot of content or throttle your connexion to make it longer than 10min to build

Configuration

No response

Environment

System:
OS: macOS 13.2.1
CPU: (10) arm64 Apple M1 Max
Memory: 95.30 MB / 32.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 18.13.0 - ~/.nvm/versions/node/v18.13.0/bin/node
Yarn: 1.22.19 - ~/.yarn/bin/yarn
npm: 8.19.3 - ~/.nvm/versions/node/v18.13.0/bin/npm
npmGlobalPackages:
netlify-cli: 17.1.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names FRAMEWORK_PORT_TIMEOUT but no files or tests. Search the CLI for where this timeout is read and applied during website builds, then verify that users can configure a longer value and that the override is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
build-system, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.