Menu ▾ ▴

#25 fix(install): fail-soft absent 5dive.sha256 so offline install-smoke survives (DIVE-1271)

closed
nobody
None
2026-07-16
2026-07-15
Anonymous
No

Originally created by: lodar

Real root cause of the exit-37 install-smoke RED is not the telegram-agent-CLAUDE.md fetch (that file IS in the docker bundle and its fetch succeeds). It is DIVE-1261 (b6a31d7): refresh_managed_files fetches 5dive.sha256 with a plain assignment under script-wide set -euo pipefail. The offline bundle (REPO=file:///opt/5dive-bundle) omits 5dive.sha256 → curl exit 37 → pipefail propagates → errexit aborts install.sh at the "Installing CLI binaries" step, before the intended absent-checksum warn branch.

Fix: || _want="" on the fetch. Hardened tests/install_checksum_unit.sh to reproduce the offline no-sha256 case under real installer flags (old grep-only assertion passed on the buggy code). 8/8 green; new guard goes RED on the pre-fix line.

🤖 Generated with Claude Code

Related

Tickets: #1056
Tickets: #168
Tickets: #259
Tickets: #26

Discussion

  • Anonymous

    Anonymous - 2026-07-16

    Originally posted by: lodar

    Superseded: this DIVE-1271 fix already shipped to main in v0.9.12 (commit c42e728) and install.sh already fail-softs on an absent 5dive.sha256. Closing as redundant and deleting the branch. (Repo hygiene sweep, 2026-07-16.)

     
  • Anonymous

    Anonymous - 2026-07-16

    Ticket changed by: lodar

    • status: open --> closed
     

Log in to post a comment.