Skip to content

Support AED and room-testing, Update wire version to 5.5.0#148

Merged
rugged-bl merged 2 commits intomainfrom
support-AED-and-room-testing
Jan 23, 2026
Merged

Support AED and room-testing, Update wire version to 5.5.0#148
rugged-bl merged 2 commits intomainfrom
support-AED-and-room-testing

Conversation

@rugged-bl
Copy link
Contributor

@rugged-bl rugged-bl commented Jan 23, 2026

Note

Adds AED support and introduces Room migration/testing with CI integration.

  • DB/Room: Bump AppDatabase to version 2, add idempotent MIGRATION_1_2 inserting AED, seed AED in RoomOnCreateCallback, and commit schema 2.json.
  • Testing: Add androidDeviceTest with room-testing, orchestrator, and a MigrationTest verifying AED insertion; configure Gradle Managed Device for device tests.
  • CI: Update workflow to run pixel6Api35AtdAndroidDeviceTest, reduce UI test timeout, and continue on failures; docs list new test commands.
  • UI/Domain: Include AED in CurrencyExchanger rates and UI preview currency lists.
  • Build: Add room-testing to version catalog and bump Wire plugin to 5.5.0.

Written by Cursor Bugbot for commit e6fa6e8. This will update automatically on new commits. Configure here.

@rugged-bl rugged-bl requested a review from Copilot January 23, 2026 20:34
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds support for the AED (UAE Dirham) currency and introduces Room database migration testing with CI integration.

Changes:

  • Adds AED currency support via database migration from version 1 to 2
  • Introduces comprehensive Room migration testing infrastructure with Gradle Managed Devices
  • Updates CI workflow to run device tests and reduces UI test timeout

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
Migration1To2.kt Implements idempotent migration to add AED currency for existing users
RoomOnCreateCallback.kt Seeds AED currency for new database installations
AppDatabase.kt Increments database version to 2 and registers migration
MigrationTest.kt Adds migration test verifying AED insertion
2.json Room schema export for database version 2
build.gradle.kts Configures Room testing dependencies and Gradle Managed Device
AddExpensePane.kt Adds AED to UI preview currency list
CurrencyExchanger.kt Adds AED exchange rate
CreateEventPane.kt Adds AED to UI preview currency list
shared.versions.toml Adds room-testing dependency and updates Wire to 5.5.0
android.yml Runs device tests in CI and reduces timeout
android.instructions.md Documents migration patterns and currency addition process

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rugged-bl rugged-bl merged commit a0d3670 into main Jan 23, 2026
10 checks passed
@rugged-bl rugged-bl deleted the support-AED-and-room-testing branch January 23, 2026 20:44
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.

2 participants