cockroachdb / cockroachdb/errors
Make sentry an optional dependency
- Langage dominant
- Go
- Étoiles
- 2.5k
- Forks
- 74
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
https://sqlfum.pt/ recently switched to a wasm-compiled implementation. It's 50MB, which, even gzip compressed, is big and slow for browsers to process. Compiling with tinygo fails because sentry-go depends on some stdlib things that tinygo doesn't support. Is it possible to have some tags to opt-out or opt-in to sentry? I'd like to make sqlfmt faster and smaller, and this is one thing that could help.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Start by locating where the sentry-go dependency is imported and how the project builds for WebAssembly and TinyGo. Check whether build tags can exclude Sentry without breaking normal builds; done means an opt-in or opt-out build works and the dependency is absent from the selected build.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- go, wasm
- Domaine
- build-system
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 30/100