Skip to content

install.sh mirror/proxy support undocumented #1957

Description

@Widthdom

Summary

install.sh provides network-resilience features (proxy env vars, CDIDX_GITHUB_API_BASE_URL, CDIDX_GITHUB_BASE_URL, --doctor at lines 46-62) but neither README.md:40-47 nor the installer's own usage banner (lines 5-62) mentions them. Users in corporate networks behind proxies repeatedly fail to install because the documented quick-start command does not work and the recovery flags are buried. USER_GUIDE.md:141-151 mentions them briefly but never walks through a mirror setup.

Where

  • README.md:40-47 (Quick Start — no proxy/mirror mention)
  • install.sh:69-74 (env vars defined but not documented in script header)
  • USER_GUIDE.md:141-151 (brief mention, no step-by-step)
  • .github/workflows/release.yml (no test of --doctor or mirror path)

Suggested approach

  1. Update install.sh usage banner (lines 5-62) to list CDIDX_GITHUB_BASE_URL, CDIDX_GITHUB_API_BASE_URL, CDIDX_LOCAL_MIRROR_PORT with examples.
  2. Add a dedicated "Isolated networks and proxies" section to USER_GUIDE.md with step-by-step setup.
  3. Walk through a --doctor invocation in the docs so users know how to diagnose network paths.
  4. Document the --self-test-local-mirror mode as a verification step.
  5. Add a release-CI step that exercises install.sh --doctor and asserts the diagnostic output mentions the relevant env vars.
  6. Cross-link the new section from README.md Quick Start and CLOUD_BOOTSTRAP_PROMPT.md.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions