sourcegraph/lib/errors
Noah S-C e13606a86f
migrator: exit 0 if autoupgrade set on up (#53175)
When auto-upgrade intent is signaled, we want the frontend to do the
migration instead of migrator. As by default, migrator runs up (unless
manually changed to something else or invoked), we check before that
command runs whether we should auto-upgrade, and exiting with 0 if yes

## Test plan

Tested locally in docker-compose setup
2023-06-13 20:51:09 +00:00
..
BUILD.bazel migrator: exit 0 if autoupgrade set on up (#53175) 2023-06-13 20:51:09 +00:00
cockroach.go lib/errors: document redaction, upgrade error deps (#53109) 2023-06-09 08:39:40 -07:00
CODENOTIFY trace, tracer, errors, observation: add devx to CODENOTIFY (#38897) 2022-07-18 18:19:13 +02:00
errors_test.go lib/errors: document redaction, upgrade error deps (#53109) 2023-06-09 08:39:40 -07:00
errors.go lib/errors: add interfaces for typed errors (#39256) 2022-07-25 19:59:14 -04:00
filter_test.go Add helper predicates for HasType and Is (#30975) 2022-02-10 16:47:46 +00:00
filter.go ignore any context errors in code monitors (#35064) 2022-05-07 12:13:24 -04:00
multi_error.go lib/errors: add interfaces for typed errors (#39256) 2022-07-25 19:59:14 -04:00
postgres.go migrator: exit 0 if autoupgrade set on up (#53175) 2023-06-13 20:51:09 +00:00
warning_test.go lib/errors: Assert warning against nil error in tests (#40631) 2022-08-22 21:31:43 +05:30
warning.go all: run gofmt -s -w from 1.19 (#41629) 2022-09-13 07:44:06 +00:00