User story / Problem statement
Leftovers from a review of the installer: BootNodeDev/dAppBoosterInstallScript#16
./scripts/dev-stack.sh up prints a ==> line for each step, but never says how many steps there are or how long one has been running. The first run pulls about 10 GB of images, so a normal wait looks the same as a hang. The output is ANSI-coloured prose, which a script cannot read.
Separately, README.md line 8 asks for pnpm 11.22.0 while package.json pins pnpm@11.24.0.
Expected outcome
Someone running up can tell how far along it is. A script running it can read the same progress without parsing colours. The README names the tools it needs without pinning a version that goes stale.
Acceptance criteria
Human output:
Machine output:
README:
Technical notes
The long waits are wait_for_http (300 s, LocalNet JSON API) and wait_for (60 s, dApp dev server). Both already loop once a second. Colour comes from log, warn and die, which are the three places a format switch has to reach.
User story / Problem statement
Leftovers from a review of the installer: BootNodeDev/dAppBoosterInstallScript#16
./scripts/dev-stack.sh upprints a==>line for each step, but never says how many steps there are or how long one has been running. The first run pulls about 10 GB of images, so a normal wait looks the same as a hang. The output is ANSI-coloured prose, which a script cannot read.Separately, README.md line 8 asks for pnpm 11.22.0 while package.json pins
pnpm@11.24.0.Expected outcome
Someone running
upcan tell how far along it is. A script running it can read the same progress without parsing colours. The README names the tools it needs without pinning a version that goes stale.Acceptance criteria
Human output:
==>line shows its position, such as[3/7]Stack is up:line reports the total timeMachine output:
up --jsonprints one JSON object per line, flushed as each step happens--jsonsends the machine stream to stdout and leaves the human log on stderrup --quietprints errors and the closingStack is up:block, nothing else--jsonand--quiettogether are either defined or rejected with a messageREADME:
pnpm, with no versionTechnical notes
The long waits are
wait_for_http(300 s, LocalNet JSON API) andwait_for(60 s, dApp dev server). Both already loop once a second. Colour comes fromlog,warnanddie, which are the three places a format switch has to reach.