Skip to content

Fix run-app skill launch commands for debug build variants#22669

Merged
adalpari merged 1 commit intotrunkfrom
internal/fix-run-app-skill-after-buil-variant-changes
Mar 9, 2026
Merged

Fix run-app skill launch commands for debug build variants#22669
adalpari merged 1 commit intotrunkfrom
internal/fix-run-app-skill-after-buil-variant-changes

Conversation

@adalpari
Copy link
Contributor

@adalpari adalpari commented Mar 9, 2026

Description

After PR #22651 removed the wasabi/jalapeno/vanilla flavors, the run-app
skill's launch commands still used the old package names
(com.jetpack.android, org.wordpress.android) which don't account for
the .prealpha debug suffix. This caused am start to fail with
"Activity class does not exist."

Changes:

  • Updated package names to include the .prealpha debug suffix
  • Switched from am start to monkey to auto-resolve the launcher
    activity

Testing instructions

Just check the skill changes

The debug build type appends .prealpha to the application ID, so the
hardcoded package names (com.jetpack.android, org.wordpress.android)
were failing. Updated to use the correct debug package names and
switched from am start to monkey to auto-resolve the launcher activity.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@dangermattic
Copy link
Collaborator

dangermattic commented Mar 9, 2026

1 Warning
⚠️ PR is not assigned to a milestone.

Generated by 🚫 Danger

@adalpari adalpari marked this pull request as ready for review March 9, 2026 16:22
@adalpari adalpari requested a review from nbradbury March 9, 2026 16:22
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 9, 2026

@adalpari adalpari enabled auto-merge (squash) March 9, 2026 16:39
Copy link
Contributor

@nbradbury nbradbury left a comment

Choose a reason for hiding this comment

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

Looks good :shipit:

@adalpari adalpari merged commit c38ca54 into trunk Mar 9, 2026
27 checks passed
@adalpari adalpari deleted the internal/fix-run-app-skill-after-buil-variant-changes branch March 9, 2026 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants