@@ -2287,6 +2287,12 @@ NODE
22872287 const runStep = workflow . jobs . android . steps . find (
22882288 ( step : WorkflowStep ) => step . name === "Run Android ${{ matrix.task }}" ,
22892289 ) ;
2290+ const nativeResourcesSetup = expectDefined (
2291+ workflow . jobs . android . steps . find (
2292+ ( step : WorkflowStep ) => step . name === "Setup Node environment for native resources" ,
2293+ ) ,
2294+ "Android native resources Node setup" ,
2295+ ) ;
22902296
22912297 expect ( source ) . toContain ( 'task: useCompatibleAndroidCi ? "test-play-compat" : "test-play"' ) ;
22922298 expect ( source ) . toContain (
@@ -2301,6 +2307,11 @@ NODE
23012307 expect ( runStep . run ) . toContain ( ":app:lintPlayDebug" ) ;
23022308 expect ( runStep . run ) . toContain ( ":app:lintThirdPartyDebug" ) ;
23032309 expect ( runStep . run ) . toContain ( ":benchmark:assembleDebug" ) ;
2310+ expect ( nativeResourcesSetup . uses ) . toBe ( "./.github/actions/setup-node-env" ) ;
2311+ expect ( nativeResourcesSetup . if ) . toBe (
2312+ "needs.preflight.outputs.use_compatible_android_ci != 'true'" ,
2313+ ) ;
2314+ expect ( nativeResourcesSetup . with ) . toMatchObject ( { "install-bun" : "false" } ) ;
23042315 } ) ;
23052316
23062317 it ( "runs canonical main CI single-flight while coalescing the pending tip" , ( ) => {
@@ -4503,6 +4514,7 @@ printf '%s\n' "\${CURL_SUCCESS_IP:-203.0.113.7}"
45034514 const legacy = runCiManifestFixture ( { bundledPlanner : false } ) ;
45044515 expect ( legacy . status , legacy . output ) . toBe ( 0 ) ;
45054516 expect ( legacy . outputs . historical_target ) . toBe ( "true" ) ;
4517+ expect ( legacy . outputs . use_compatible_android_ci ) . toBe ( "true" ) ;
45064518 expect ( legacy . outputs . run_ios_build ) . toBe ( "false" ) ;
45074519 expect ( legacy . outputs . run_native_i18n ) . toBe ( "false" ) ;
45084520 expect ( legacy . outputs . run_openclawkit_tests ) . toBe ( "false" ) ;
@@ -4533,6 +4545,7 @@ printf '%s\n' "\${CURL_SUCCESS_IP:-203.0.113.7}"
45334545
45344546 const current = runCiManifestFixture ( { bundledPlanner : true } ) ;
45354547 expect ( current . status , current . output ) . toBe ( 0 ) ;
4548+ expect ( current . outputs . use_compatible_android_ci ) . toBe ( "false" ) ;
45364549 expect ( current . outputs . run_ios_build ) . toBe ( "true" ) ;
45374550 expect ( current . outputs . run_native_i18n ) . toBe ( "true" ) ;
45384551 expect ( current . outputs . run_openclawkit_tests ) . toBe ( "true" ) ;
@@ -4552,6 +4565,15 @@ printf '%s\n' "\${CURL_SUCCESS_IP:-203.0.113.7}"
45524565 { check_name : "android-ktlint" , task : "ktlint" } ,
45534566 ] ) ;
45544567
4568+ const releaseCandidateCurrent = runCiManifestFixture ( {
4569+ bundledPlanner : true ,
4570+ historicalCompatibility : false ,
4571+ releaseCandidateCompatibility : true ,
4572+ } ) ;
4573+ expect ( releaseCandidateCurrent . status , releaseCandidateCurrent . output ) . toBe ( 0 ) ;
4574+ expect ( releaseCandidateCurrent . outputs . compatibility_target ) . toBe ( "true" ) ;
4575+ expect ( releaseCandidateCurrent . outputs . use_compatible_android_ci ) . toBe ( "false" ) ;
4576+
45554577 const currentMissingAndroidCapabilities = runCiManifestFixture ( {
45564578 androidCiCapabilities : false ,
45574579 bundledPlanner : true ,
0 commit comments