Back to changelog
July 01, 2025
The Socket Python CLI no longer exits with an error code when a diff report contains only warn-level alerts.
Before:
Even if there were no error-level alerts, the CLI returned exit code 5
, which could incorrectly signal failure in scripts or CI pipelines.
Now:
The CLI returns exit code 0
for warn-only diff reports, as expected.
This fix ensures that non-critical warnings don’t break your workflows.