File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -151,7 +151,8 @@ capture_command_snapshot() {
151151 [ " $head_rc " -eq 0 ] || return " $head_rc "
152152 bytes=$( snapshot_bytes " $file " ) || return 1
153153 if [ " $command_rc " -eq 0 ] \
154- || { [ " $command_rc " -eq 141 ] && [ " $bytes " -gt " $MAX_SNAPSHOT_BYTES " ]; }; then
154+ || { [ " $bytes " -gt " $MAX_SNAPSHOT_BYTES " ] \
155+ && { [ " $command_rc " -eq 141 ] || [ " $failure_mode " = unavailable ]; }; }; then
155156 return 0
156157 fi
157158 [ " $failure_mode " = unavailable ] || return " $command_rc "
Original file line number Diff line number Diff line change @@ -2224,7 +2224,9 @@ test_continuation_caps_informational_snapshots_only() {
22242224 run_spawn " $id " " $PROJ_DIR " --account-pool claude-crew > /dev/null || fail " continuation snapshot cap precondition spawn failed"
22252225 cat > " $FAKEBIN_DIR /no-mistakes" << 'SH '
22262226#!/usr/bin/env bash
2227+ trap '' PIPE
22272228head -c 100000 /dev/zero | tr '\0' s
2229+ exit 42
22282230SH
22292231 chmod +x " $FAKEBIN_DIR /no-mistakes"
22302232 rm -f " $CASE_DIR /endpoint-live"
You can’t perform that action at this time.
0 commit comments