Exit Code 128 in CI: What It Means and How to Fix It
Exit code 128 is a boundary value - "invalid exit argument", and the base for signal codes (128 + N).
Code 128 is overloaded: git uses it for many fatal errors, and 128 + N encodes signal terminations.
What it means
Often a git fatal error, or the marker that signal-based codes (129-159) start here.
Common causes
- A
gitfatal error (auth, bad ref, network). - An
exitcalled with an out-of-range argument.
How to fix it
If from git, read the fatal message. Codes just above 128 mean the process was killed by signal (code − 128 = signal).
Related guides
Git "Host key verification failed" in CI - Fix known_hostsFix Git "Host key verification failed" in CI - the Git host is not in known_hosts, so SSH aborts before authe…
Exit Codes and Signals in CI/CD: A Practical GuideA practical guide to process exit codes and signals in CI/CD - what 1, 2, 124, 126, 127, 130, 137, and 143 me…
CI Exit Code Lookup: What Does This Exit Code Mean?Instant lookup for CI/CD process exit codes - enter a code (137, 127, 143…) to see what it means, whether it…