spawn/sh/e2e/lib
Ahmed Abushagur 4ac19a375a
fix: capture claude symlink target + verify PATH (#2245)
* fix: tarball workflow failures (root ownership, swapfile, hermes TTY)

- Use sudo mv + chown for tarball in release step (root-owned from capture)
- Skip swapfile creation if /swapfile already exists (GitHub Actions runners)
- Tolerate hermes setup wizard failure when /dev/tty unavailable in CI

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: capture claude symlink target in tarball + fix verify PATH

The claude installer creates a symlink at ~/.local/bin/claude pointing
to ~/.local/share/claude/versions/X.Y.Z. The capture script was missing
~/.local/share/claude/, causing a broken symlink in the tarball.

Also add ~/.npm-global/bin to the verify PATH check for claude (npm
fallback install path).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: L <6723574+louisgv@users.noreply.github.com>
2026-03-06 10:55:09 -05:00
..
clouds fix(security): quote timeout var and validate numeric in sprite.sh (#2120) 2026-03-02 16:47:39 -05:00
common.sh fix(e2e): improve openclaw reliability on AWS and other clouds (#2123) 2026-03-02 23:19:34 -05:00
provision.sh fix(e2e): DigitalOcean name mismatch and bash 3.2 compat (#2218) 2026-03-05 13:44:32 -05:00
teardown.sh feat(e2e): multi-cloud test suite with cloud driver pattern (#2004) 2026-02-27 19:28:08 -08:00
verify.sh fix: capture claude symlink target + verify PATH (#2245) 2026-03-06 10:55:09 -05:00