fix(sentry): use safer published defaults - #1080
Merged
Merged
Conversation
Walkthrough本次更新 Sentry 的指标默认开关和传输默认参数。运行时传输超时改为 ChangesSentry 配置更新
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
huangdijia
force-pushed
the
codex/sentry-safer-defaults
branch
from
August 9, 2026 05:18
ea5346c to
35ef2d6
Compare
huangdijia
marked this pull request as ready for review
August 9, 2026 07:25
huangdijia
added a commit
that referenced
this pull request
Aug 9, 2026
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
The previous published defaults enabled metric collection automatically and allowed a very large transport queue and concurrency limit. More conservative published defaults reduce the risk of excessive resource consumption under sustained event volume or a slow Sentry endpoint.
Impact
Applications publishing the Sentry configuration receive opt-in metric collection and tighter transport queue and concurrency values. All settings remain configurable through the existing environment variables.
Implementation note
CoHttpTransportcurrently applies only positivetransport_timeoutvalues, so the published zero timeout does not change runtime enqueue behavior in this PR. The documentation does not claim otherwise.Validation
composer test:lintvendor/bin/pest --group sentry(43 tests, 73 assertions)npm run docs:check(56 pages across 4 locales)git diff --checkSummary by CodeRabbit
功能调整
0。文档