Skip to content

ADFA-4017: Default Android Studio to the v8Debug variant - #2305

Merged
itsaky-adfa merged 3 commits into
stagefrom
chore/ADFA-4017
Nov 27, 2026
Merged

itsaky-adfa merged 3 commits into
stagefrom
chore/ADFA-4017

Conversation

@itsaky-adfa

@itsaky-adfa itsaky-adfa commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

ADFA-4017

Android Studio now selects v8Debug instead of v7Debug on first sync.

  • Marks the v8 flavor isDefault in AndroidModuleConf.kt, so every flavored module gets it.
  • Build types are untouched; AGP already prefers debug.
  • Docs: ARCHITECTURE.md, ADR 0005.

Verified: all 66 flavored modules report v8 as default; Spotless passes.

Caveats

  • Existing checkouts keep their saved variant until .idea is removed.
  • A plain ./gradlew lint now lints v8Debug. CI names its variants explicitly and is unaffected.
  • Code On the Go's own sync ignores isDefault: with no saved selection it takes the first variant AGP lists (AndroidProjectModelBuilder.kt:65).

https://claude.ai/code/session_01JULeV6YKmm3Kzv7LDdzpQe

Mark the v8 ABI flavor isDefault in the shared build-logic, so a fresh
Android Studio sync selects v8Debug instead of v7Debug for every flavored
module. Build types are untouched: AGP already prefers debug.

CLI and CI builds name their variant explicitly and are unaffected. A
plain `./gradlew lint` now uses v8Debug, AGP's default variant. Existing
checkouts may keep their saved variant until .idea is reset.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JULeV6YKmm3Kzv7LDdzpQe
@itsaky-adfa itsaky-adfa self-assigned this Nov 24, 2026
@atlassian

atlassian Bot commented Nov 24, 2026

Copy link
Copy Markdown

To enable Code Reviewer, link your GitHub account to your Atlassian account.

This is a one-time task that takes less than a minute. Once your account is linked, resubmit the pull request to trigger a code review.

@itsaky-adfa
itsaky-adfa marked this pull request as ready for review November 25, 2026 04:09

@claude claude 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.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.

Tip: disable this comment in your organization's Code Review settings.

@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 7b35683c-0f1d-4b57-9cd5-3e8d1ab48ad5
Commits

Reviewing files that changed from the base of the PR and between 4918c92 and c56acf1.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Summary

  • Default build variant: The v8 ABI flavor is now marked isDefault = true in the shared module configuration (AndroidModuleConf.kt). Android Studio selects v8Debug on first sync instead of v7Debug. Build types are unchanged.
  • Documentation: ARCHITECTURE.md and ADR 0005 state that v8 is the default flavor.

Risks and best-practice notes:

  • Existing checkouts keep their saved variant. Developers must delete .idea to see the new default.
  • A plain ./gradlew lint now lints v8Debug. Local scripts or workflows that assumed v7 may change behavior. The PR reports that CI names its variants explicitly and is unaffected.
  • The PR description states that Code On The Go's own sync ignores isDefault and uses the first variant AGP returns. This review did not verify that claim.
  • The PR reports that all 66 flavored modules show v8 as default and that Spotless passes. This review did not verify those results.

The build configuration marks the v8 ABI flavor as the default. The architecture documentation and ADR describe Android Studio’s first-sync selection of v8Debug and note that existing checkouts retain their saved variant.

Changes: Default ABI flavor

Layer / File(s) Summary
Default flavor and documentation
composite-builds/build-logic/plugins/src/main/java/com/itsaky/androidide/plugins/conf/AndroidModuleConf.kt, ARCHITECTURE.md, docs/adr/0005-per-abi-product-flavors.md
The build configuration marks v8 as the default flavor. The documentation describes Android Studio’s first-sync selection of v8Debug and notes that existing checkouts retain their saved variant.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Suggested reviewers: davidschachteradfa, daniel-adfa, hal-eisen-adfa

Merge Risk: Minimal · previous review 4918c

This change makes Android Studio select the v8Debug variant on first sync, and the docs now describe that behavior. It has a small blast radius and is easy to revert. No concrete merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the primary change: the default Android Studio variant becomes v8Debug. It also carries the ticket ID ADFA-4017. The changeset marks the v8 flavor as isDefault in AndroidModuleConf.kt …
Description check Passed The description states the purpose: Android Studio now selects v8Debug instead of v7Debug on first sync. It lists the code change in AndroidModuleConf.kt and the doc updates in ARCHITECTURE.md and ADR…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the primary change: the default Android Studio variant becomes v8Debug. It also carries the ticket ID ADFA-4017. The changeset marks the v8 flavor as isDefault in AndroidModuleConf.kt and documents it in ARCHITECTURE.md and ADR 0005, so the title matches the main change.

Full details: Description check

Explanation

The description states the purpose: Android Studio now selects v8Debug instead of v7Debug on first sync. It lists the code change in AndroidModuleConf.kt and the doc updates in ARCHITECTURE.md and ADR 0005. It also gives verification results and caveats, so it relates directly to the changeset.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

A rabbit checks the flavors in the morning light,
The v8 choice is marked as default, clear and bright.
First sync selects v8Debug to begin,
Saved variants stay as they have been.
Soft paws hop through the build files with delight.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 931652a0-9b8f-4ba0-bbaf-b41a61bbb317
Commits

Reviewing files that changed from the base of the PR and between 05dc242 and 4918c92.

Files selected for processing: 2

  • ARCHITECTURE.md
  • composite-builds/build-logic/plugins/src/main/java/com/itsaky/androidide/plugins/conf/AndroidModuleConf.kt
Files skipped from review as they are similar to previous changes: 1

  • ARCHITECTURE.md

Included review availability: This review used your included allowance. 4 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour.

@itsaky-adfa
itsaky-adfa merged commit 1cd37e7 into stage Nov 27, 2026
5 checks passed
@itsaky-adfa
itsaky-adfa deleted the chore/ADFA-4017 branch November 27, 2026 16:40
davidschachterADFA added a commit that referenced this pull request Nov 27, 2026
Brings in #2305 (ADFA-4017: v8 is the default flavor), which landed while
the previous stage merge was being tested. One conflict, in
ARCHITECTURE.md's ABI flavors line: this PR adds
:subprojects:sqlite-rewrite-runtime to the modules without flavors, and
#2305 adds that v8 is the default. Both kept.

The PR's own diff against stage is otherwise unchanged: outside
ARCHITECTURE.md, the +/- lines of git diff 55f3f8f 4bbdf14 and of this
merge against 1cd37e7 are identical (9,581 lines, 84 files).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Vh2DAYT7GPoC2cDzo8LErn
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.

3 participants