Repository navigation
fix(perf): preflight the Android Release fixture and automate its install - #5133
Conversation
Size Report
Startup median (7 runs, lower is better):
|
Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
All reported issues were addressed
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Apex Sentinel: 1 new finding on 9960930. The verdict and the full list are in the summary comment.
A failed probe says nothing about the installed build, and the hint named the default package even under --app-id. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Apex Sentinel · ✅ Approve · review of
|
| Finding | Fixed by | Where |
|---|---|---|
| Failed adb probe always names the default-package installer | thymikee | da1698a · reply |
4 findings below minor hidden (user_settings.min_severity).
Reviewed with this repository's own Sentinel configuration (3e0814c574f5).
💬 Talking to Sentinel
In a finding's thread, reply with:
| Command | What it does |
|---|---|
@apex-sentinel-staging note <context> |
Adds context; Sentinel re-checks the cited code |
@apex-sentinel-staging pivot <why> |
Says the finding is wrong; Sentinel re-checks the cited code |
@apex-sentinel-staging like |
Marks the finding as useful |
@apex-sentinel-staging dislike <why> |
Marks it as not useful, so it is not raised again |
On this conversation, comment @apex-sentinel-staging review to run a full review once again.
|
This is ready at da1698a, with no required changes. Not blocking: these can be taken or left: reuse the exported These threads no longer apply and can be resolved: README setup now lists the install step, CI is green at this commit: 27 checks, none failing. The tests for the trusted fixture artifact cover both signer label shapes. The perf nightly runs only on schedule or manual dispatch, so the new preflight has not run in CI at this commit. Not verified here: no live adb, emulator or |
Summary
A benchmark emulator that held a dev-client build of
com.callstack.agentdevicelabproduced garbage timings and opaque failures: the deep links the suites drive do nothing in a dev client.pnpm perfandpnpm bench:android:automationnow run a preflight before the first timed sample. It readsadb shell dumpsys packageand fails with one line that namespnpm test-app:android:fixture --serial <serial>, the new command that automates the recipescripts/perf/README.mddocumented by hand: resolve the fingerprint artifact name, download a trusted artifact into fresh empty directories, repack with the current JS,adb install -r, then re-check. It reuses the.github/actions/setup-fixture-appowners; downloaded archives are treated as untrusted data.Scope expansion: the repack's signer check only parsed the build-tools ≤36
apksignerlabel, so a local repack with build-tools 37 was rejected. Its regex now matches both label shapes.Before / after
Validation
Head
b3de676b3b, emulator-5560 (API 37). Preflight failed on the dev build, passed after the install.pnpm build && pnpm build:android, thenBENCH_ROUNDS=5 pnpm bench:android:automation: open p50 2087 ms, restart 1301, observe 38, tap 71, fill 322, screenshot 90.pnpm perf --platform android --scenarios lifecycle --rounds 3exited 0.scripts/perf/fixture-preflight.test.ts(8) andpnpm test:fixture-cache(16) pass; the new repack cases fail without the fix. CI owns the rest.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.