Skip to content

chore: Utilize app-runner for Android#2548

Open
bitsandfoxes wants to merge 2 commits intomainfrom
feat/app-runner-android
Open

chore: Utilize app-runner for Android#2548
bitsandfoxes wants to merge 2 commits intomainfrom
feat/app-runner-android

Conversation

@bitsandfoxes
Copy link
Contributor

#skip-changelog

@github-actions
Copy link
Contributor

github-actions bot commented Feb 13, 2026

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


This PR will not appear in the changelog.


🤖 This preview updates automatically when you update the PR.

Copy link

@cursor cursor bot left a comment

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 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Debug.Log("Sentry: IntegrationOptionsConfig::Configure() called");

// DSN is read from SentryOptions.asset (baked at build time via configure-sentry.ps1)
// No custom DSN override needed -- the real DSN is set in the editor configuration.
Copy link

Choose a reason for hiding this comment

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

DSN never baked into asset, Sentry disabled at runtime

High Severity

IntegrationOptionsConfiguration.Configure() never sets options.Dsn, and the comment claims it's "read from SentryOptions.asset (baked at build time via configure-sentry.ps1)." However, configure-sentry.ps1 and its ConfigureOptions Unity method don't write the DSN to the asset. The SENTRY_DSN env var set in the workflow step is never consumed by any code. Since the project is created fresh in CI, SentryOptions.asset will have a null DSN, and the Unity SDK's IsValid check will disable Sentry entirely at runtime—causing all integration tests to silently fail.

Additional Locations (1)

Fix in Cursor Fix in Web


BeforeAll {
$script:AndroidComponent = "io.sentry.unity.integrationtest/com.unity3d.player.UnityPlayerActivity"
$script:FallbackAndroidComponent = "io.sentry.unity.integrationtest/com.unity3d.player.UnityPlayerGameActivity"
Copy link

Choose a reason for hiding this comment

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

Unused $FallbackAndroidComponent variable defined but never referenced

Low Severity

$script:FallbackAndroidComponent is defined in BeforeAll but is never referenced anywhere in the file or codebase. Only $script:AndroidComponent is actually passed to Invoke-DeviceApp. This is dead code that adds confusion about whether a fallback mechanism was intended but not implemented.

Fix in Cursor Fix in Web

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.

1 participant