Skip to content

Test bootstrap.sh's report handoff to the agent tools step #3033

Closed

Description

@ptr727

host-setup/bootstrap.sh's report() gates install-agents.sh --report on agents_user and prints "The agent tools step did not report, and the output above says why" when that step exits non-zero. Neither behavior has a test.

tests/test_bootstrap.py TestKeptTreeEndToEnd runs the loader's whole main flow against stub tools for --host and --upgrade, but never for --report. A change that drops the gate, drops the info line, or makes the step fatal would pass every test today.

The Windows counterpart, bootstrap.ps1 Show-Report, is covered by TestPowerShellToolHandoff, added while answering the review findings on #3030.

Suggested shape: a --report run in TestKeptTreeEndToEnd with the agents step failing, asserting the report still completes and prints the line, and a run under unshare -r asserting the agents step is skipped with its "Running as root" line.

Found by the local review pass on the branch answering #3030, and outside that change's scope.

Activity

  1. added
    script
    on Oct 15, 2026
  2. ptr727 commented on Oct 15, 2026

    @ptr727
    OwnerAuthor

    Claimed for an engineering-track lane (handoff #3040 resume). Branch: feature/bootstrap-handoff-tests-3033. Predicted file set: tests/test_bootstrap.py, tests/host_capability.py, tests/test_skills_install.py.

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

    script

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions