Skip to content

[pull] main from getsentry:main - #417

Merged
pull[bot] merged 4 commits into
NOUIY:mainfrom
getsentry:main
Aug 6, 2026
Merged

[pull] main from getsentry:main#417
pull[bot] merged 4 commits into
NOUIY:mainfrom
getsentry:main

Conversation

@pull

@pull pull Bot commented Aug 6, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

runningcode and others added 4 commits August 6, 2026 14:10
* fix(core): Clear contexts on Scope.clear() (JAVA-683)

Scope.clear() reset every field except contexts, so anything set via
setContexts survived a clear. Contexts had no clear() method, unlike the
tags, extra, and fingerprint collections, which is why it was skipped.

Add Contexts.clear(), override it in CombinedContextsView to delegate to
the default context, and clear contexts in Scope.clear() while notifying
scope observers so persisted scopes stay in sync.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* changelog

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
* feat(android): Add trace markers to SentryAndroid.init (JAVA-685)

Wrap SentryAndroid.init and the user OptionsConfiguration callback in
android.os.Trace sections so SDK startup cost shows up as named slices
in a Perfetto trace or a CI TraceSectionMetric.

Sections use constant names and allocate nothing when no trace is
recording. Kept intentionally minimal as the SDK's first shipped Trace
instrumentation.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* changelog

* feat(android): Keep only the SentryAndroid.init trace section (JAVA-685)

Drop the SentryAndroid.init.configure section to keep the SDK's first
shipped android.os.Trace instrumentation minimal and easy to review.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* Remove changelog entry in favor of #skip-changelog

* fix(android): Balance init trace section on lock failure (JAVA-685)

Move Trace.beginSection above the try-with-resources so it always
pairs with the endSection() in the finally. If staticLock.acquire()
threw (e.g. OOM allocating the lock), the body was skipped but the
finally still ran, popping an unrelated systrace section.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Bumps the github-actions group with 2 updates: [github/codeql-action/init](https://github.com/github/codeql-action) and [github/codeql-action/analyze](https://github.com/github/codeql-action).


Updates `github/codeql-action/init` from 4.37.4 to 4.37.5
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@f205ea1...d1ba80a)

Updates `github/codeql-action/analyze` from 4.37.4 to 4.37.5
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@f205ea1...d1ba80a)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.37.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.37.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…685) (#5903)

Read the SentryAndroid.init android.os.Trace section via a
TraceSectionMetric so the cold-start macrobenchmark reports SDK-init
duration on its own, separate from timeToInitialDisplay. This resolves
init-cost changes that the whole-start metric would bury in cold-start
noise.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@pull pull Bot locked and limited conversation to collaborators Aug 6, 2026
@pull pull Bot added the ⤵️ pull label Aug 6, 2026
@pull
pull Bot merged commit 1664d46 into NOUIY:main Aug 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant