Closed Bug 1753278 Opened 4 years ago Closed 4 years ago

wrap running migrations in sentry error notification

Categories

(Tecken :: General, task, P2)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Assigned: willkg)

References

Details

Attachments

(1 external file)

In Socorro, we run migrations during the deploy. When migrations are run, they're wrapped by a Sentry cli wrapper which sends errors to Sentry if something goes wrong. Then we know and knowing is swell!

https://github.com/mozilla-services/socorro/blob/8bb1580b809a1cf9d24d1434f7e535c9ac06d67c/bin/sentry-wrap.py

https://github.com/mozilla-services/socorro/blob/8bb1580b809a1cf9d24d1434f7e535c9ac06d67c/bin/run_migrations.sh

Tecken doesn't appear to have such a thing, so I don't think we have any way of knowing when db migrations fail.

This covers verifying that and if it's true, add the sentry-wrap.py thing I did in Socorro.

Assignee: nobody → willkg
Status: NEW → ASSIGNED

willkg merged PR #2521: "bug 1753278: add sentry-wrap.py and run_migrations.sh scripts" in 6107dbe.

I have to update the migration stuff in the infra repo.

I did a PR in the infra repo and Jason landed it. So we should be all good here.

I deployed this to production in bug #1759523. Marking as FIXED.

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: