netlify / netlify/cli

Progress indicator mixed with output from esbuild

Open
#2,391 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

area: command: deploy good first issue low-priority type: bug
Dominant language
TypeScript
Stars
1.9k
Forks
474
Avg merge
23h 30m
Merged PRs (30d)
53

Description

When using netlify deploy, we show a progress indicator that is updated once we move between stages. This is problematic when we have other sources emitting data to stdout while the progress indicator is ongoing, which is the case with esbuild.

The screenshot below shows an example of this.

Screenshot 2021-05-14 at 10 13 51

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

Start with the netlify deploy command and trace how its progress indicator writes while esbuild emits data to stdout. Reproduce the screenshot scenario with a deployment that produces esbuild output; done means progress updates and build output no longer overwrite or interleave incorrectly.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.