Skip to content

Conversation

@williscool
Copy link
Owner

@williscool williscool commented Dec 9, 2025

  • refactor: use @volatile for thread-safe callback visibility
  • docs: async task resource why
  • ci: matrix for android tests
  • ci: ui focused shards

Note

Introduces 4-way sharded Android instrumentation tests with per‑shard artifacts and a merge step, enhances JaCoCo outputs, stabilizes emulator settings, and adds testing docs/util tweaks.

  • CI/GitHub Actions:
    • Instrumentation Tests: Shard integration-test into 4 shards (UI/non‑UI split), add per‑shard verification and artifact uploads (coverage, allure, emulator logs).
    • Coverage Merge: New merge-integration-coverage job to download shard artifacts, generate merged JaCoCo + Allure reports; coverage-report depends on it; create-release updated to block on it.
    • Unit Tests: Rename artifact to unit-test-results-and-coverage-*; add step to list coverage files.
    • Emulator: Switch profile to Nexus 5X; parametrize memory via ANDROID_EMULATOR_MEMORY.
    • Test Summary Workflow: Normalize artifact paths, conditionally publish unit/integration summaries, and compute coverage summary from JaCoCo XML.
  • Gradle/JaCoCo (android/app/build.gradle):
    • Enable XML/CSV for unit test coverage reports; enhance jacocoAndroidTestReport (explicit output locations, broader executionData, diagnostics, onlyIf).
  • Scripts:
    • Add scripts/matrix_run_android_tests.sh (smart sharding, APK install, am instrument with coverage, Allure pull).
    • Update scripts/generate_android_coverage.sh to be shard‑aware and extract test XML; improve robustness.
    • run_verify_connected_android_test.sh: uninstall existing app/test packages before running.
  • Test Utilities/Code:
    • UITestFixture: ensure activities are ready via scenario.onActivity before proceeding.
    • AsyncUtils: mark globalAsyncTaskCallback as @Volatile.
  • Docs:
    • Add docs/async_task_idling_resource.md and docs/test_sharding.md.

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

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.

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on January 8

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

Build artifacts for PR #105 (commit 7877f93) are available:

You can download these artifacts from the "Artifacts" section of the workflow run.

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

Code Coverage Report

Overall Project 33.2% 🍏
Module Coverage
app 44.01% 🍏
x8664Debug 22.53% 🍏
Files
Module File Coverage
app AsyncUtils.kt 48.31% 🍏
x8664Debug AsyncUtils.kt 44.94% 🍏

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

📊 Code Coverage Summary

Coverage Type Coverage
Overall 22.52
Changed Files 44.94

View detailed coverage report

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

Build artifacts for PR #105 (commit e478b54) are available:

You can download these artifacts from the "Artifacts" section of the workflow run.

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

📊 Code Coverage Summary

Coverage Type Coverage
Overall 22.52
Changed Files 44.94

View detailed coverage report

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

📊 Code Coverage Summary

Coverage Type Coverage
Overall 31.6
Changed Files 46.63

View detailed coverage report

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

Build artifacts for PR #105 (commit 820cf6e) are available:

You can download these artifacts from the "Artifacts" section of the workflow run.

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

📊 Code Coverage Summary

Coverage Type Coverage
Overall 22.53
Changed Files 44.94

View detailed coverage report

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

📊 Code Coverage Summary

Coverage Type Coverage
Overall 22.53
Changed Files 44.94

View detailed coverage report

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

Build artifacts for PR #105 (commit 4e03263) are available:

You can download these artifacts from the "Artifacts" section of the workflow run.

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

📊 Code Coverage Summary

Coverage Type Coverage
Overall 22.53
Changed Files 44.94

View detailed coverage report

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

Build artifacts for PR #105 (commit b4c5d10) are available:

You can download these artifacts from the "Artifacts" section of the workflow run.

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

Build artifacts for PR #105 (commit 597dcce) are available:

You can download these artifacts from the "Artifacts" section of the workflow run.

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

📊 Code Coverage Summary

Coverage Type Coverage
Overall 22.52
Changed Files 44.94

View detailed coverage report

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

📊 Code Coverage Summary

Coverage Type Coverage
Overall 22.52
Changed Files 44.94

View detailed coverage report

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

Build artifacts for PR #105 (commit 066b18f) are available:

You can download these artifacts from the "Artifacts" section of the workflow run.

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

📊 Code Coverage Summary

Coverage Type Coverage
Overall 22.52
Changed Files 44.94

View detailed coverage report

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

Build artifacts for PR #105 (commit d1b9bc0) are available:

You can download these artifacts from the "Artifacts" section of the workflow run.

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

📊 Code Coverage Summary

Coverage Type Coverage
Overall 22.53
Changed Files 44.94

View detailed coverage report

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

📊 Code Coverage Summary

Coverage Type Coverage
Overall 33.2
Changed Files 46.63

View detailed coverage report

@williscool williscool changed the title test ui perf improvements re 20 test: ui perf improvements re 20 Dec 9, 2025
@williscool williscool changed the title test: ui perf improvements re 20 test: ui test ci perf improvements re 20 Dec 9, 2025
@williscool williscool merged commit 9ed8748 into master Dec 9, 2025
27 of 30 checks passed
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