chore: temporarily disable sentry#2406
Conversation
How to use the Graphite Merge QueueAdd the label merge-queue to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
There was a problem hiding this comment.
PR Summary
Temporarily disables Sentry error tracking and PostHog telemetry functionality in the Rivet CLI tool for simplified standalone builds.
- Commented out Sentry initialization and configuration in
/packages/toolchain/cli/src/main.rs - Disabled Sentry feature flags and dependencies in
/packages/toolchain/cli/Cargo.toml - Modified error reporting function to accept unused
_errparameter while maintaining basic error handling - Preserved core CLI functionality and exit code logic while removing monitoring capabilities
2 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile
|
|
||
| async fn report_error(err: anyhow::Error) { | ||
| let event_id = sentry::integrations::anyhow::capture_anyhow(&err); | ||
| async fn report_error(_err: anyhow::Error) { |
There was a problem hiding this comment.
style: report_error function is now a no-op but still being called on line 71, consider removing the call entirely if error reporting is disabled
| async fn report_error(_err: anyhow::Error) { | |
| // This is an internal error, report error | |
| eprintln!("\n{err}"); |
Deploying rivet with
|
| Latest commit: |
528ebcb
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://2c2b111f.rivet.pages.dev |
| Branch Preview URL: | https://graphite-base-2407.rivet.pages.dev |
78080b4 to
ff549fe
Compare
528ebcb to
e029e29
Compare
Merge activity
|
<!-- Please make sure there is an issue that this PR is correlated to. --> ## Changes <!-- If there are frontend changes, please include screenshots. -->

Changes