feat(lab): estimate the time left and compile the installed commit ahead of the first build

This commit is contained in:
Kurt Himebauch committed 2026-11-09 20:57:57 -05:00
1 parent b6d70b177d
commit acecbcd79a
3 files changed
+110 -39

No files matched your search

+2
View File
@@ -56,4 +56,6 @@ yes | "$sdk/cmdline-tools/latest/bin/sdkmanager" --licenses >/dev/null
"$sdk/cmdline-tools/latest/bin/sdkmanager" "platforms;android-34" "build-tools;35.0.0" >/dev/null
adb connect 127.0.0.1:5555 || true
# The first build compiles the whole app; doing it now makes the agent's Lab builds incremental.
[ "${DD_SKIP_PREPARE:-}" = 1 ] || "$here/dd-lab-build" --prepare || echo "The first Lab build will compile the whole app"
echo "Done. Approve the USB debugging prompt if one appears, then run dd-agent."