Skip to content

Comments

fix(v8): Wrong Frame Delay when becoming active (#6381)#6393

Merged
philipphofmann merged 1 commit intov8.xfrom
fix/app-hang-v8
Oct 13, 2025
Merged

fix(v8): Wrong Frame Delay when becoming active (#6381)#6393
philipphofmann merged 1 commit intov8.xfrom
fix/app-hang-v8

Conversation

@philipphofmann
Copy link
Member

@philipphofmann philipphofmann commented Oct 10, 2025

The changes in this PR #6381 are already approved and merged to main. This is for V8.

We have to merge #6394 before this PR as it fixes broken unit tests.

cursor[bot]

This comment was marked as outdated.

@codecov
Copy link

codecov bot commented Oct 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.757%. Comparing base (f76f6bf) to head (070b43a).
⚠️ Report is 2 commits behind head on v8.x.

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##              v8.x     #6393       +/-   ##
=============================================
+ Coverage   86.732%   86.757%   +0.025%     
=============================================
  Files          437       437               
  Lines        37158     37162        +4     
  Branches     17395     17392        -3     
=============================================
+ Hits         32228     32241       +13     
+ Misses        4885      4875       -10     
- Partials        45        46        +1     
Files with missing lines Coverage Δ
Sources/Sentry/SentryDelayedFramesTracker.m 96.527% <100.000%> (+0.099%) ⬆️
Sources/Sentry/SentryFramesTracker.m 100.000% <100.000%> (ø)

... and 10 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f76f6bf...070b43a. Read the comment docs.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 10, 2025

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1222.49 ms 1240.02 ms 17.53 ms
Size 23.74 KiB 981.30 KiB 957.56 KiB

Baseline results on branch: v8.x

Startup times

Revision Plain With Sentry Diff
c6afcc7 1224.31 ms 1256.22 ms 31.92 ms
a7a0a2b 1218.61 ms 1248.69 ms 30.08 ms
f76f6bf 1207.70 ms 1233.27 ms 25.57 ms
b66be9b 1218.22 ms 1244.19 ms 25.96 ms

App size

Revision Plain With Sentry Diff
c6afcc7 23.75 KiB 996.03 KiB 972.28 KiB
a7a0a2b 23.75 KiB 996.04 KiB 972.29 KiB
f76f6bf 23.74 KiB 981.30 KiB 957.56 KiB
b66be9b 23.75 KiB 996.03 KiB 972.28 KiB

@philipphofmann philipphofmann changed the title fix: Wrong Frame Delay when becoming active (#6381) fix(v8): Wrong Frame Delay when becoming active (#6381) Oct 10, 2025
The SDK reported false frame delay statistics when it moved from the
background to the foreground, which also led to falsely reported app
hangs.

Fixes GH-6345
@philipphofmann philipphofmann merged commit 3af1ae9 into v8.x Oct 13, 2025
201 of 208 checks passed
@philipphofmann philipphofmann deleted the fix/app-hang-v8 branch October 13, 2025 14:54
itaybre added a commit that referenced this pull request Oct 30, 2025
* test: Ensure test is server running (#6300)

Ensure that the test server is running with a retry mechanism to avoid
flakiness in CI.

* ci: Add v8.x branch to workflows (#6321)

* chore: Explain v8 branch (#6323)

Add decision log entry for v8 branch and explain how to release from it.

* ci(v8): Bump Xcode from 26.0 to 26.0.1 (#6394)

* docs: Add note to README with reference to v9 on main branch (#6402)

* fix: Wrong Frame Delay when becoming active (#6393)

The SDK reported false frame delay statistics when it moved from the
background to the foreground, which also led to falsely reported app
hangs.

Fixes GH-6345

* fix(session-replay): Add detection for potential PII leaks disabling session replay (#6389)

* release: 8.57.0

* chore: Bump simulators to 26.1 (#6578)

* fix: Fix crash when last replay info is missing some keys (#6577)

* fix: Fix crash when last replay info is missing keys

* Update changelog

* fix: Disable SessionSentryReplayIntegration if the environment is unsafe (#6573)

* fix: Disable SessionSentryReplayIntegration if the environment is unsafe

* Simplify shouldEnableSessionReplay

* Rename test

* Add log message

* Update changelog

* Safely unwrap SentryOptions

* fix: Fix UITouch background thread access in SentryTouchTracker (#6584)

* release: 8.57.1

* Fix merge issues

* Fix another merge issue

* More merge conflicts

* Add SentryThreadInspector again

* Fix tests on iOS 26

* Add `enableSessionReplayInUnreliableEnvironment`

---------

Co-authored-by: Philipp Hofmann <[email protected]>
Co-authored-by: Philip Niedertscheider <[email protected]>
Co-authored-by: getsentry-bot <[email protected]>
Co-authored-by: getsentry-bot <[email protected]>
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.

2 participants