Skip to content

Survive a dropped adb link and a killed screen dump in the Android proof - #109

Merged
LucaCappelletti94 merged 1 commit into
mainfrom
fix/android-proof-boot-settle
Sep 29, 2026
Merged

LucaCappelletti94 merged 1 commit into
mainfrom
fix/android-proof-boot-settle

Conversation

@LucaCappelletti94

Copy link
Copy Markdown
Owner

The Android emulator proof failed twice on #107 for reasons outside the app. Once uiautomator's screen dump was killed while the proof looked for Chrome's first-run screens during sign-in, and that one failure aborted the whole proof. Once the emulator's adb link dropped right after the proof had passed, so restoring the default browser failed with a device offline error.

A failed screen dump is now logged and retried on the next pass of the existing 90-second search. An adb command that fails because the device went offline is retried once after resetting the connection and waiting up to 30 seconds for the device to answer, and every other adb failure still fails at once. If the device never comes back, the job still fails, as it should on a real phone.

@coderabbitai

coderabbitai Bot commented Sep 29, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Repository: LucaCappelletti94/coderabbit/.coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 259b9478-0343-473a-80ef-9377b0142ed5


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.59%. Comparing base (370be90) to head (1cc3c47).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #109      +/-   ##
==========================================
- Coverage   84.62%   84.59%   -0.03%     
==========================================
  Files         130      130              
  Lines       31240    31240              
  Branches    31240    31240              
==========================================
- Hits        26436    26428       -8     
- Misses       3283     3289       +6     
- Partials     1521     1523       +2     
Flag Coverage Δ
client 62.70% <ø> (-0.04%) ⬇️
rest 58.13% <ø> (+0.32%) ⬆️
server 53.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@LucaCappelletti94
LucaCappelletti94 merged commit 0093ffe into main Sep 29, 2026
108 of 110 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.

1 participant