revert: remove all Sentry error suppression from PRs #2813 #2850 #2899 #2906 #2915 #2923 #2924 #2928 #2930 #2934 #2937 #2939#2958
Conversation
…tinyhumansai#2850 tinyhumansai#2899 tinyhumansai#2906 tinyhumansai#2915 tinyhumansai#2923 tinyhumansai#2924 tinyhumansai#2928 tinyhumansai#2930 tinyhumansai#2934 tinyhumansai#2937 tinyhumansai#2939 These PRs suppressed/demoted errors instead of fixing root causes. Errors will now properly fire Sentry events again so they can be tracked and fixed with proper root-cause solutions.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (8)
📝 WalkthroughWalkthroughThis PR systematically removes error suppression and demotion filters across the observability, Sentry, and provider/inference layers. Changes narrow classification logic for expected errors, remove tagless/defense-in-depth suppression filters, eliminate conditional error demotions, and allow previously filtered errors to surface in Sentry reporting. ChangesError reporting classification and suppression removal
Estimated code review effort🎯 4 (Complex) | ⏱️ ~75 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Comment |
|
Closing — this was created by a stale agent on the wrong branch. The correct revert PR will come from the worktree. |
Summary
Removes all Sentry error suppression code added by the following PRs, restoring original error reporting behavior so errors properly fire Sentry events again:
config_rejection.rs: 5 tool-unsupported phrases + testsobservability.rs:MemoryStorePiiRejectionvariant +is_memory_store_pii_rejection()+ testsobservability.rs:is_upstream_rate_limit_message()+ tests;provider/ops.rs: rate-limit body guard inapi_error+ testssubconscious/store.rs: doc comment + error message text changeobservability.rs:"_api_key is not configured"phrase extension toApiKeyMissingcheck + testmemory_store/factories.rs: updated comment +tauri_rust_b_wire_shape_classifies_as_expectedtestobservability.rs:"backend rejected session token"phrase inis_session_expired_message()+ testsinference/ops.rs:is_expected_chat_failure()helper + conditional demotion ininference_test_provider_model;ops_tests.rs: 4 testsobservability.rs:http 403extension to composio-direct auth wall matcher + testsobservability.rs:is_embeddings_api_key_401_event()+ tests;main.rs: embeddings 401before_sendfilterobservability.rs: text-only tier-2is_budget_event+ testsprovider/ops.rs: 404 empty-list return inlist_configured_models_from_config+ testThese PRs suppressed/demoted errors instead of fixing root causes. Errors will now properly fire Sentry events again so they can be tracked and fixed with proper root-cause solutions.
Test plan
cargo checkpasses (verified locally — only pre-existing warnings, no errors)Summary by CodeRabbit
Bug Fixes
Refactor