Skip to content

fix: update LoadValidator error message - #8710

Merged
NinjaLikesCheez merged 4 commits into
mainfrom
fix/error-message
Aug 7, 2026
Merged

fix: update LoadValidator error message#8710
NinjaLikesCheez merged 4 commits into
mainfrom
fix/error-message

Conversation

@NinjaLikesCheez

@NinjaLikesCheez NinjaLikesCheez commented Aug 6, 2026

Copy link
Copy Markdown
Member

📜 Description

Updates the LaodValidators error message to be more accurate

💡 Motivation and Context

The current message is misleading in that Sentry is in the same address space multiple times (i.e. loaded binaries) not in a single binary

💚 How did you test it?

  • CI

Closes #8712

@NinjaLikesCheez NinjaLikesCheez self-assigned this Aug 6, 2026
Add unreleased fix entry noting the LoadValidator error message correction from 'same binary' to 'same address space'.
@NinjaLikesCheez NinjaLikesCheez added the run-full-ci Allows gated GitHub Action workflows to run for a labelled pull request label Aug 6, 2026
@NinjaLikesCheez
NinjaLikesCheez marked this pull request as ready for review August 6, 2026 15:07

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 06e9762. Configure here.

Comment thread Tests/SentryTests/Swift/Core/Tools/LoadValidatorTests.swift Outdated
Comment thread Tests/SentryTests/Swift/Core/Tools/LoadValidatorTests.swift Outdated
@sentry

sentry Bot commented Aug 6, 2026

Copy link
Copy Markdown

📲 Install Builds

iOS

🔗 App Name App ID Version Configuration
SDK-Size io.sentry.sample.SDK-Size 9.25.0 (1) Release

⚙️ sentry-cocoa Build Distribution Settings

@itaybre itaybre left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGMT

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1223.59 ms 1258.80 ms 35.21 ms
Size 24.14 KiB 1.27 MiB 1.25 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
10a3a91 1217.42 ms 1253.64 ms 36.23 ms
3561152 1205.59 ms 1246.11 ms 40.52 ms
cd4994f 1220.89 ms 1252.61 ms 31.72 ms
7815f8f 1229.18 ms 1263.70 ms 34.52 ms
b404da1 1231.65 ms 1263.33 ms 31.68 ms
3ae2884 1224.79 ms 1257.32 ms 32.53 ms
2fe9650 1228.33 ms 1260.78 ms 32.46 ms
13cc136 1224.55 ms 1252.60 ms 28.05 ms
dde298d 1212.13 ms 1247.89 ms 35.76 ms
11b0eef 1223.81 ms 1248.48 ms 24.67 ms

App size

Revision Plain With Sentry Diff
10a3a91 24.14 KiB 1.27 MiB 1.24 MiB
3561152 24.14 KiB 1.27 MiB 1.24 MiB
cd4994f 24.14 KiB 1.17 MiB 1.14 MiB
7815f8f 24.14 KiB 1.26 MiB 1.23 MiB
b404da1 24.14 KiB 1.23 MiB 1.21 MiB
3ae2884 24.14 KiB 1.24 MiB 1.21 MiB
2fe9650 24.14 KiB 1.17 MiB 1.15 MiB
13cc136 24.14 KiB 1.23 MiB 1.20 MiB
dde298d 24.14 KiB 1.22 MiB 1.20 MiB
11b0eef 24.14 KiB 1.18 MiB 1.15 MiB

In the checkQueue.async closure in Unit_Tests.swift, Swift requires explicit
self for all captured properties. loadedMultipleTimesMessage was the only
property missing the self. prefix, causing a build error and failing the
Duplication V4 CI job.
@NinjaLikesCheez
NinjaLikesCheez merged commit e974003 into main Aug 7, 2026
247 checks passed
@NinjaLikesCheez
NinjaLikesCheez deleted the fix/error-message branch August 7, 2026 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved run-full-ci Allows gated GitHub Action workflows to run for a labelled pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: update LoadValidator error message

2 participants