Skip to content

fix(ci): stop Nightly Android from installing obsolete SDK tools - #311

Merged
enricopiovesan merged 1 commit into
mainfrom
cursor/ticket-fix-nightly-android-sdk-setup-sdk-packages
Sep 17, 2026
Merged

enricopiovesan merged 1 commit into
mainfrom
cursor/ticket-fix-nightly-android-sdk-setup-sdk-packages

Conversation

@enricopiovesan

@enricopiovesan enricopiovesan commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Pin android-actions/setup-android@v4 packages: to platform-tools only.
  • Avoids Nightly failure Failed to find package 'tools' before any Gradle unit tests run.

Governing Spec

  • docs/quality-standards.md (Nightly Android required)

Project Item

  • Ticket ID: fix-nightly-android-sdk-setup
  • Project 2 item: PVTI_lADOEbiBt84BbzAzzg7c-iM

Definition of Done

  • Nightly native-android does not request SDK package tools
  • All four Gradle unit-test steps remain in the workflow
  • Nightly / workflow_dispatch native-android green after merge

Validation

  • Inspect .github/workflows/nightly.yml: packages: platform-tools
  • After merge: Nightly native-android reaches and passes the four ./gradlew testDebugUnitTest steps

@enricopiovesan
enricopiovesan enabled auto-merge (squash) September 17, 2026 15:59
setup-android@v4 defaults include the removed `tools` package; pin packages to platform-tools so Gradle unit tests can run.

Co-authored-by: Cursor <cursoragent@cursor.com>
@enricopiovesan
enricopiovesan force-pushed the cursor/ticket-fix-nightly-android-sdk-setup-sdk-packages branch from 1831b25 to f2282af Compare September 17, 2026 15:59
@enricopiovesan
enricopiovesan merged commit a0fd960 into main Sep 17, 2026
8 checks passed
@enricopiovesan
enricopiovesan deleted the cursor/ticket-fix-nightly-android-sdk-setup-sdk-packages branch September 17, 2026 16:00
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