fix(framework): restore interactive resilient Git wrappers

This commit is contained in:
Jarvis
2026-07-12 09:49:59 -05:00
parent a99aded26d
commit bab87fa72e
7 changed files with 184 additions and 0 deletions

View File

@@ -45,6 +45,11 @@ JSON
exit 0
fi
if [[ "${1:-}" == "api" ]]; then
printf '%s\n' '{"login":"ci-bot"}'
exit 0
fi
printf 'tea %s\n' "$*" >> "$MOSAIC_TEST_LOG"
if [[ "${MOSAIC_TEA_FAIL_PR_CREATE:-}" == "1" && "$*" == pr\ create* ]]; then
echo 'GetUserByName: simulated stale login failure' >&2