What does --strict do on the push command?

FAQ resource for your migration project.

FAQ resource for What does --strict do on the push command?.

Answer

When --strict is set, the push command exits with error code if the dashboard upload fails (network error, authentication problem, etc.). Without --strict, push failures are logged but don't affect the exit code. Use --strict in CI when you want builds to fail if metrics can't be uploaded to the dashboard.