Skip to content

test(android-e2e): read the logcat tail for rotation evidence - #2359

Merged
thymikee merged 1 commit into
mainfrom
claude/android-e2e-logcat-tail
Sep 7, 2026
Merged

test(android-e2e): read the logcat tail for rotation evidence#2359
thymikee merged 1 commit into
mainfrom
claude/android-e2e-logcat-tail

Conversation

@thymikee

@thymikee thymikee commented Sep 6, 2026

Copy link
Copy Markdown
Member

The first CI failure carrying the rotation evidence (PR #2356, https://github.com/callstack/agent-device/actions/runs/34029660070) lost its logcat section: (failed: Command failed: adb -s emulator-5554 logcat -d -v time), the 5s per-probe bound killing a full 2MB buffer dump on the loaded host. The probe now reads logcat -d -v time -t 4000, which holds the rotation decisions of the last minutes and returns well inside the bound (a local 2MB dump takes under a second; the tail is 290KB).

The settings and display sections of that file were intact and show the device in portrait at that failure, which is a different failure from the alert-canary one and is being handled on #2356.

@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown

Size Report

Metric Base Current Diff
Installed (including dependencies) 4.50 MB 4.50 MB 0 B
Package (unpacked) 4.50 MB 4.50 MB 0 B
Package (download) 1.33 MB 1.33 MB +2 B

Startup median (7 runs, lower is better):

Scenario Base Current Diff
CLI --version 29.8 ms 29.4 ms -0.5 ms
CLI --help 88.3 ms 85.2 ms -3.1 ms

@thymikee

thymikee commented Sep 6, 2026

Copy link
Copy Markdown
Member Author

The logcat-tail change looks good at dcb60a5. The reported artifact contains the rotation decisions, and the existing timeout and output caps remain intact. The remaining merge blocker is the failing Android smoke semantic-canary step.

The first CI failure with the evidence hook (PR #2356, run 34029660070)
lost its logcat section: dumping the emulator's whole 2MB buffer took
longer than the 5s per-probe bound on the loaded host. The probe now
reads the last 4000 lines, which holds the rotation decisions of the
last minutes and returns well inside the bound.
@thymikee
thymikee force-pushed the claude/android-e2e-logcat-tail branch from dcb60a5 to dd2d455 Compare September 7, 2026 06:04
@thymikee

thymikee commented Sep 7, 2026

Copy link
Copy Markdown
Member Author

The logcat-tail change remains clean at dd2d455. The rebase leaves the reviewed code unchanged, and all checks are green. Ready for human review.

@thymikee thymikee added the ready-for-human Valid work that needs human implementation, judgment, or maintainer merge label Sep 7, 2026
@thymikee
thymikee merged commit cc9fd72 into main Sep 7, 2026
17 checks passed
@thymikee
thymikee deleted the claude/android-e2e-logcat-tail branch September 7, 2026 08:14
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-09-07 08:14 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Valid work that needs human implementation, judgment, or maintainer merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant