Add set -e to vendored session-start-env.sh

Match upstream fix: propagate write failures as non-zero exit.
This commit is contained in:
Kevin Turcios 2026-04-21 05:32:30 -05:00
parent 42c8310494
commit 9456cf48fa

View file

@ -3,7 +3,7 @@
# Replaces the Node.js session-lifecycle-hook.mjs for the SessionStart path
# to avoid ~100ms V8 startup overhead.
set -uo pipefail
set -euo pipefail
INPUT=$(cat)
SESSION_ID=$(echo "$INPUT" | jq -r '.session_id // empty' 2>/dev/null)