Is it safe to run `sentry upgrade --noinput` every time Sentry is restarted?

Hi,

in the context of running Sentry in OpenShift/Kubernetes and automating the upgrade process I’m considering running sentry upgrade --noinput every time the pod is recreated (before running sentry run web). Is this safe? In other words, are repeated runs of sentry upgrade --noinput completely passive and harmless when no version change has taken place?

Thank you in advance,

Nikos

1 Like

Has anyone tried this or know? Thanks!

Yes, it is perfectly safe and idempotent.