Skip to content

[DRAFT] docs(bootstrap): explain what the dispatcher script does (#9421)#9824

Draft
lonexreb wants to merge 1 commit intowarpdotdev:masterfrom
lonexreb:docs/9421-bootstrap-preamble-draft
Draft

[DRAFT] docs(bootstrap): explain what the dispatcher script does (#9421)#9824
lonexreb wants to merge 1 commit intowarpdotdev:masterfrom
lonexreb:docs/9421-bootstrap-preamble-draft

Conversation

@lonexreb
Copy link
Copy Markdown
Contributor

@lonexreb lonexreb commented May 1, 2026

⚠️ Draft — minimal slice of #9421

#9421 raised eight separate concerns about the bootstrap process. This PR addresses only the first one — the up-front explanation of what the script does — by adding a comment block at the top of `script/bootstrap`. The other seven (cargo-bundle git pin, brew casks, Docker default, gcloud auth, etc.) are real but each their own design debate; happy to follow up on those individually if maintainers want them split that way.

Description

Resolves the documentation portion of #9421.

The dispatcher `script/bootstrap` is what `README.md` tells new contributors to run. Before this PR it was a 14-line conditional with no preamble. After this PR it carries a ~30-line comment block summarising what each platform script will do, what operations require `sudo`, and where to find the actual installation logic if you want to install deps your own way (Volta over corepack, OrbStack over Docker, etc.).

Linked Issue

Partially resolves #9421.

Changes

File Change
`script/bootstrap` Comment-only addition. Explains what each platform branch does at a high level, calls out sudo/admin operations, and points readers at the per-platform scripts for the actual logic. No behavior change.

Honest test status

What Status
`bash -n script/bootstrap` (syntax check)
Runtime behavior change None — comment-only
Wording reviewed against the issue's specific complaints

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

CHANGELOG-IMPROVEMENT: `script/bootstrap` now opens with an up-front summary of what each platform script will install and which operations require sudo. Thanks @lonexreb!

…tdev#9421)

[DRAFT — minimal slice of warpdotdev#9421]

The reporter raised eight distinct concerns about the bootstrap process
(README docs, sudo prompts, brew casks, gcloud auth, etc.). This PR
addresses **only** the first one — the lack of an up-front explanation
of what the dispatcher script does — by adding a comment block at the
top of `script/bootstrap` that summarises:

- what categories of installation each platform script performs,
- what operations require `sudo` / Administrator,
- where to find the per-platform logic if you want to install deps
  through your own toolchain (Volta, asdf, OrbStack, etc.).

Intentionally not changing any behavior. The other concerns in warpdotdev#9421
(cargo-bundle git pin, brew casks, Docker assumption, gcloud) are real
but each their own design debate; better split out so reviewers can
take them one at a time.

Honest test status: this is a comment-only change to a Bash dispatcher
script. `bash -n script/bootstrap` parses cleanly; no runtime change to
exercise. Maintainer should pick the wording they want — happy to
adjust.
@cla-bot cla-bot Bot added the cla-signed label May 1, 2026
@github-actions github-actions Bot added the external-contributor Indicates that a PR has been opened by someone outside the Warp team. label May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed external-contributor Indicates that a PR has been opened by someone outside the Warp team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

./scripts/bootstrap invokes sudo and installs system-wide dependencies without user acknowledgement

1 participant