sourcegraph / sourcegraph-public-snapshot

Code AI platform with Code Search & Cody
https://sourcegraph.com
Other
10.12k stars 1.29k forks source link

fix/msp/runtime: fix sentry checkin #64503

Closed bobheadxi closed 3 months ago

bobheadxi commented 3 months ago

It seems the execution ID must be a UUID - our invalid-ID check-ins were being silently dropped from Sentry without any logs or errors 😬

Test plan

export TestJobExecutionCheckIn_SENTRY_DSN=...
go test -timeout 30s -run ^TestJobExecutionCheckIn$ github.com/sourcegraph/sourcegraph/lib/managedservicesplatform/runtime/contract