[Test][Android] Add Sandbox compatibility acceptance gate - #131
Open
Huxpro wants to merge 1 commit into
Open
Conversation
Huxpro
force-pushed
the
agent/android-device-acceptance
branch
from
August 9, 2026 07:12
4614c7e to
8a2b3ea
Compare
This was referenced Aug 9, 2026
Add a reproducible Playground-host instrumentation matrix for fixed viewport, shared density, all supported safe thread strategies, typed template fetching, pre-load lifecycle ordering, orientation policy, and failed-view retry behavior. The runner builds on SG1, requires an exact clean checkout, leases a fresh Lynx Sandbox device, executes ten isolated tests, captures screenshots and hashes, and fails closed unless the lease release is confirmed. TEST: PATH=/tmp/sparkling-ktlint-bin:$PATH scripts/lint.sh kotlin TEST: EXPECTED_HEAD=<exact-sha> EVIDENCE_ROOT=<evidence-dir> scripts/android-device-acceptance.sh Co-authored-by: TRAE CLI <noreply@bytedance.com>
Huxpro
force-pushed
the
agent/android-device-acceptance
branch
from
August 9, 2026 08:31
8a2b3ea to
df875a8
Compare
This was referenced Aug 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Matrix
320x480Lynx viewport3.25across two independent Lynx views via publicLynxContext.screenMetricsPART_ON_LAYOUTstrategyMULTI_THREADSrejected before view or Activity creationALL_ON_UI,MOST_ON_TASM,PART_ON_LAYOUT,MULTI_THREADSwithout a fixed viewport) render a real bundleFAIL -> FAIL -> SUCCESSSYSTEMover global landscapescreen_orientationReproduce on SG1
The script builds both APKs, leases a fresh Lynx Sandbox device, installs, runs all 10 tests in isolated app processes, captures screenshots/logs/hashes, releases the lease, and creates a tarball. It requires an exact clean checkout and fails closed unless the release response confirms the leased serial.
Final evidence
df875a87541d587ab8aa84a86600c0610f9e44c7/data00/home/xuan.huang/sparkling-android-device-acceptance-final-8a2b3eaaries_10, Android 10 / API 29/tmp/sparkling-android-device-acceptance-df875a8/tmp/sparkling-android-device-acceptance-df875a8.tar.gz712a3b83dbd78eabeae9afc0766b5b191cee0bff10e515967b3ae9f46c4feb98Stack