@feigi/fleet-ctl 3.24.34 → 3.24.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feigi/fleet-ctl",
3
- "version": "3.24.34",
3
+ "version": "3.24.36",
4
4
  "description": "Agent fleet: run-team controller, merge bot, PR reviewer, and the ticket pipeline they share",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -243,10 +243,17 @@ fi
243
243
  # read back (opened, or read — bash's `read` leaves `line` unset on an error,
244
244
  # which `set -u` then trips on) fails the substitution, and the `||` names that
245
245
  # in the reason instead of aborting on the shell's own error, which under dash
246
- # would also be an exit outside 0/1/3.
246
+ # would also be an exit outside 0/1/3. A stderr that was read back but held
247
+ # nothing, only newlines, or only blanks (spaces, tabs, CRs) names the exit
248
+ # status instead of a reason that reads as blank. The blank set is spelled out,
249
+ # not a `[:space:]` class: this script's locale inventory stays what the pin
250
+ # comment above says it is. The `.` guards the newline that `$(…)` would strip.
247
251
  if [ "$rc" -ne 0 ]; then
248
252
  reason=$({ while IFS= read -r line || [ -n "$line" ]; do printf '%s\n' "$line"; done <"$errf"; } 2>/dev/null) ||
249
253
  reason="(node's reason could not be read back from $errf)"
254
+ blank=$(printf ' \t\r\n.')
255
+ blank=${blank%.}
256
+ case $reason in *[!"$blank"]*) ;; *) reason="(node gave no reason, exit $rc)" ;; esac
250
257
  die "the Recipe cache at $cache is unusable: $reason — $derive"
251
258
  fi
252
259
  carriedmsg="node's stdout carried more than the framed Recipe value — expected exactly the value between '$open' and '$close', got '$framed'. The cache at $cache passed validation; the extra output comes from how node is launched here (a version-manager or proxy shim, a preload), and is refused rather than cut out of the command"