Commit f117f59
Drop racy parallel pre-build step from inapp-e2e-tests workflow
After the SDK-170 migration of this workflow to ubuntu-latest + KVM
(#1048, commit 7d4a80b), every PR opened against master has been
failing the In-App Message E2E Tests check at the build stage:
Execution failed for task ':integration-tests:mergeDebugAndroidTestResources'.
> Cannot access output property 'blameLogOutputFolder' …
> Failed to create MD5 hash for file
'.../merged_res_blame_folder/.../values-az.json' as it does not exist.
with this warning a few lines earlier:
Detected multiple Kotlin daemon sessions at kotlin/sessions
The 'Pre-download Gradle and Build (Parallel with Emulator)' step
backgrounded a separate Gradle invocation that was meant to assemble
the APKs while the emulator booted. On macos-15-intel the background
process was resource-starved during emulator boot (2 cores / slow HVF)
so it usually finished or stalled before the action's Gradle started.
On ubuntu-latest + KVM both Gradle processes get real CPU and run in
true parallel, racing on the same integration-tests/build/intermediates
directory.
Affected runs:
- feature/sdk-338-mobile-inbox-customization: 5 failures
- fix/SDK-412-UUA-Naming-inconsistencies: 1 failure
- SDK-170-emulator-network-trace: green (warm cache made the race
window negligible — masked the regression during review)
Removing the parallel pre-build is sufficient. The action's script
already invokes ':integration-tests:connectedDebugAndroidTest' which
transitively builds the APKs it needs. Expected wall-clock impact:
+30-90s on a cold Gradle cache, traded for 'all PRs can run this
check'.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 829bd6c commit f117f59
1 file changed
Lines changed: 15 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
83 | 88 | | |
84 | 89 | | |
85 | 90 | | |
| |||
0 commit comments