Skip to content

e2e: dump device logcat on Android flow failure - #19

Merged
tiensonqin merged 1 commit into
mainfrom
devin/1790293192-android-e2e-logcat-dump
Sep 24, 2026
Merged

tiensonqin merged 1 commit into
mainfrom
devin/1790293192-android-e2e-logcat-dump

Conversation

@tiensonqin

Copy link
Copy Markdown
Contributor

Summary

Follow-up to the exception-logging fix: the diagnostics it prints land in device logcat, but test-android-e2e.sh never captured logcat when a Maestro flow failed — the evidence still vanished. Now each flow clears the buffer before running and dumps the last 400 lines on failure, so the logseq_chat: exception line and empty patch from <source> drain traces surface directly in CI output.

Two runner-test repairs that were already broken on main:

  • The script's local-db-sync port wait (added for CI) ran unconditionally — the runner self-test's connect invocation points at http://127.0.0.1:8787 and stalled ~6min before dying. Gated behind LOGSEQ_CHAT_ANDROID_E2E_SKIP_DB_SYNC_WAIT, set in the self-test.
  • The runner test's expected module list didn't include smoke (added later) — updated.

Link to Devin session: https://app.devin.ai/sessions/9a91e201984a4d4f96ce3e0f86ac6668
Open in Devin Desktop: https://app.devin.ai/desktop/session/9a91e201984a4d4f96ce3e0f86ac6668?variant=devin
Requested by: @tiensonqin

OCaml lui_* FFI exceptions and [NativeEffect] drain traces land in
logcat but were never captured when a Maestro flow failed — clear the
buffer per flow and dump the tail on failure. Also gate the local
db-sync port wait behind LOGSEQ_CHAT_ANDROID_E2E_SKIP_DB_SYNC_WAIT so
the runner self-test (which never starts a server) doesn't stall 6
minutes, and update the runner test's expected module list for the
'smoke' module.
@devin-ai-integration

Copy link
Copy Markdown

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@tiensonqin
tiensonqin merged commit a537ced into main Sep 24, 2026
3 of 5 checks passed
@tiensonqin
tiensonqin deleted the devin/1790293192-android-e2e-logcat-dump branch September 24, 2026 23:50
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