Skip to content

Run bootstrap.ps1's Main Flow End to End Against a Stub Download and Stub Tools #2587

Closed

Description

@ptr727

Follow-up to #1767, the PowerShell half of its option 1.

The bash loader's whole main flow is now run end to end in tests/test_bootstrap.py (TestKeptTreeEndToEnd): bootstrap.sh --host against a scratch directory, a stub curl serving a local tarball, and stub tools failing at a chosen stand-up step, asserting the kept tree left on disk.

Still owed, in the windows lane: the same for host-setup/bootstrap.ps1. Run its main flow with a stubbed download and stub tools in the fetched tree failing at each stand-up step, and assert the properties the bash class asserts:

  • a stand-up failing before the skills step leaves the previous kept tree loading, with no .new or .old beside it;
  • a successful run leaves only the new tree;
  • the previous tree is untouched until the skills step, and replaced before the installer runs.

TestPowerShellKeptTreeHandling already covers the loader's functions in isolation, so this is the whole-flow counterpart only.

Activity

  1. added
    enhancement
    on Oct 8, 2026
  2. ptr727 commented on Oct 23, 2026

    @ptr727
    OwnerAuthor

    Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391: the backlog keeps real bugs with a stated failure, features the maintainer wants, and open decisions. A finding the review loop filed on code or text a change did not touch, a refactor or consolidation chore, a tracker, a wording item, or a guard shape no session has produced is closed rather than worked. Reopen with the input and the wrong result if this issue states one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions