[Bug] CLI terminates unexpectedly after executing bash commands

Resolved 💬 2 comments Opened Apr 16, 2026 by amihos Closed Apr 23, 2026

Bash(sleep 5 && TOKEN=$(curl -s -X POST "http://localhost:8091/api/collections/customers/auth-with-password" -H
"Content-Type: application/json" -d '{"identity":"qatest100@b.test","password":"TestPass123!"}' |
python3 -c "import sys,json; print(json.load(sys.stdin)['token'])") && echo "--- Resend ---" && curl -s -X
POST "http://localhost:8091/api/customers/resend-verification-code" -H "Authorization: Bearer $TOKEN" -H
"Content-Type: application/json" 2>&1 && echo "" && echo "--- Verify (wrong) ---" && curl -s -X POST
"http://localhost:8091/api/customers/verify-code" -H "Authorization: Bearer $TOKEN" -H "Content-Type:
application/json" -d '{"code":"123456"}' 2>&1)
⎿  --- Resend ---
{
"message": "Failed to generate verification code: GoError: attempts: cannot be blank; invalidated:
cannot be blank."
}

--- Verify (wrong) ---
{
"message": "No active verification code found. Please request a new one."
}
⎿  (timeout 20s)
⎿  2 PostToolUse hooks ran

✻ Churned for 1m 54s

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗