Skip to content

chore: temporarily disable sentry#2406

Closed
NathanFlurry wants to merge 1 commit intomainfrom
04-26-chore_temporarily_disable_sentry
Closed

chore: temporarily disable sentry#2406
NathanFlurry wants to merge 1 commit intomainfrom
04-26-chore_temporarily_disable_sentry

Conversation

@NathanFlurry
Copy link
Copy Markdown
Member

Changes

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 26, 2025

Deploying rivet-studio with  Cloudflare Pages  Cloudflare Pages

Latest commit: e029e29
Status:⚡️  Build in progress...

View logs

Copy link
Copy Markdown
Member Author

NathanFlurry commented Apr 26, 2025


How to use the Graphite Merge Queue

Add 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.

Copy link
Copy Markdown

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 _err parameter 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) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Suggested change
async fn report_error(_err: anyhow::Error) {
// This is an internal error, report error
eprintln!("\n{err}");

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 26, 2025

Deploying rivet-hub with  Cloudflare Pages  Cloudflare Pages

Latest commit: 528ebcb
Status:🚫  Build failed.

View logs

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 26, 2025

Deploying rivet with  Cloudflare Pages  Cloudflare Pages

Latest commit: 528ebcb
Status: ✅  Deploy successful!
Preview URL: https://2c2b111f.rivet.pages.dev
Branch Preview URL: https://graphite-base-2407.rivet.pages.dev

View logs

@NathanFlurry NathanFlurry changed the base branch from 04-26-chore_add_standalone_toolchain_build_scripts to graphite-base/2406 April 26, 2025 12:12
@NathanFlurry NathanFlurry force-pushed the 04-26-chore_temporarily_disable_sentry branch from 528ebcb to e029e29 Compare April 26, 2025 12:12
@NathanFlurry NathanFlurry changed the base branch from graphite-base/2406 to main April 26, 2025 12:12
@graphite-app
Copy link
Copy Markdown
Contributor

graphite-app Bot commented Apr 26, 2025

Merge activity

  • Apr 26, 8:14 AM EDT: NathanFlurry added this pull request to the Graphite merge queue.
  • Apr 26, 8:15 AM EDT: CI is running for this pull request on a draft pull request (#2408) due to your merge queue CI optimization settings.
  • Apr 26, 8:16 AM EDT: Merged by the Graphite merge queue via draft PR: #2408.

graphite-app Bot pushed a commit that referenced this pull request Apr 26, 2025
<!-- Please make sure there is an issue that this PR is correlated to. -->

## Changes

<!-- If there are frontend changes, please include screenshots. -->
@graphite-app graphite-app Bot closed this Apr 26, 2025
@graphite-app graphite-app Bot deleted the 04-26-chore_temporarily_disable_sentry branch April 26, 2025 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant