@@ -5561,16 +5561,27 @@ printf '%s\n' "\${CURL_SUCCESS_IP:-203.0.113.7}"
55615561 expect ( runStep . run ) . toContain ( "ci-routing)" ) ;
55625562 expect ( fastCoreJob [ "runs-on" ] ) . toContain ( "matrix.runner" ) ;
55635563 expect ( smokeProfileJob . name ) . toBe ( "QA Smoke CI (${{ matrix.name }})" ) ;
5564+ const publicRuntimeBuild = smokeBuildStep . run . indexOf ( "node scripts/build-all.mjs qaRuntime" ) ;
5565+ const uiBuild = smokeBuildStep . run . indexOf ( "pnpm ui:build" ) ;
5566+ const packageBuild = smokeBuildStep . run . indexOf ( "node scripts/package-openclaw-for-docker.mjs" ) ;
5567+ const privateRuntimeBuild = smokeBuildStep . run . lastIndexOf (
5568+ "node scripts/build-all.mjs qaRuntime" ,
5569+ ) ;
55645570 expect ( smokeBuildStep . run ) . toContain ( "node scripts/build-all.mjs qaRuntime" ) ;
55655571 expect ( smokeBuildStep . run ) . toContain ( "pnpm ui:build" ) ;
5566- expect ( smokeBuildStep . env . OPENCLAW_BUILD_PRIVATE_QA ) . toBe ( "1" ) ;
5567- expect ( smokeBuildStep . run ) . not . toContain ( "--skip-build" ) ;
5572+ expect ( smokeBuildStep . env ) . not . toHaveProperty ( "OPENCLAW_BUILD_PRIVATE_QA" ) ;
5573+ expect ( smokeBuildStep . run ) . toContain ( "unset OPENCLAW_BUILD_PRIVATE_QA" ) ;
5574+ expect ( smokeBuildStep . run ) . toContain ( "--skip-build" ) ;
5575+ expect ( smokeBuildStep . run ) . toContain (
5576+ "OPENCLAW_BUILD_PRIVATE_QA=1 node scripts/build-all.mjs qaRuntime" ,
5577+ ) ;
5578+ expect ( smokeBuildStep . run . match ( / n o d e s c r i p t s \/ b u i l d - a l l \. m j s q a R u n t i m e / g) ) . toHaveLength ( 2 ) ;
55685579 expect ( smokeBuildStep . run ) . toContain ( "--allow-unreleased-changelog" ) ;
55695580 expect ( smokeBuildStep . run ) . toContain ( "grep -Fq" ) ;
55705581 expect ( smokeBuildStep . run ) . toContain ( '"${package_args[@]}"' ) ;
5571- expect ( smokeBuildStep . run . indexOf ( "node scripts/package-openclaw-for-docker.mjs" ) ) . toBeLessThan (
5572- smokeBuildStep . run . indexOf ( "node scripts/build-all.mjs qaRuntime" ) ,
5573- ) ;
5582+ expect ( publicRuntimeBuild ) . toBeLessThan ( uiBuild ) ;
5583+ expect ( uiBuild ) . toBeLessThan ( packageBuild ) ;
5584+ expect ( packageBuild ) . toBeLessThan ( privateRuntimeBuild ) ;
55745585 expect ( workflow . jobs [ "qa-smoke-ci-artifacts" ] ) . toBeUndefined ( ) ;
55755586 expect ( workflow . jobs [ "qa-smoke-ci" ] ) . toBeUndefined ( ) ;
55765587 expect ( smokeProfileJob . needs ) . toEqual ( [ "preflight" ] ) ;
0 commit comments