@@ -8381,7 +8381,7 @@ printf '%s\n' "\${CURL_SUCCESS_IP:-203.0.113.7}"
83818381 expect ( bunSmoke . run ) . toContain ( "bun openclaw.mjs status --json --timeout 1" ) ;
83828382 } ) ;
83838383
8384- it ( "keeps source-only Control UI locale drift advisory" , ( ) => {
8384+ it ( "keeps automatic source-only Control UI locale drift advisory and manual CI strict " , ( ) => {
83858385 const workflow = readCiWorkflow ( ) ;
83868386 const workflowSource = readFileSync ( ".github/workflows/ci.yml" , "utf8" ) ;
83878387 const buildArtifactSteps = workflow . jobs [ "build-artifacts" ] . steps ;
@@ -8410,6 +8410,31 @@ printf '%s\n' "\${CURL_SUCCESS_IP:-203.0.113.7}"
84108410 expect ( localeJob . env . COMPATIBILITY_TARGET ) . toBe (
84118411 "${{ needs.preflight.outputs.compatibility_target }}" ,
84128412 ) ;
8413+ expect ( workflow . jobs . preflight . outputs . strict_control_ui_i18n ) . toBe (
8414+ "${{ github.event_name == 'workflow_dispatch' && !inputs.release_gate && 'true' || steps.changed_scope.outputs.strict_control_ui_i18n }}" ,
8415+ ) ;
8416+ expect (
8417+ evaluateWorkflowExpression (
8418+ "${{ github.event_name == 'workflow_dispatch' && !inputs.release_gate && 'true' || 'false' }}" ,
8419+ {
8420+ eventName : "workflow_dispatch" ,
8421+ releaseGate : false ,
8422+ repository : "openclaw/openclaw" ,
8423+ runAttempt : 1 ,
8424+ } ,
8425+ ) ,
8426+ ) . toBe ( "true" ) ;
8427+ expect (
8428+ evaluateWorkflowExpression (
8429+ "${{ github.event_name == 'workflow_dispatch' && !inputs.release_gate && 'true' || 'false' }}" ,
8430+ {
8431+ eventName : "workflow_dispatch" ,
8432+ releaseGate : true ,
8433+ repository : "openclaw/openclaw" ,
8434+ runAttempt : 1 ,
8435+ } ,
8436+ ) ,
8437+ ) . toBe ( "false" ) ;
84138438 expect ( sourceStep [ "continue-on-error" ] ) . toBeUndefined ( ) ;
84148439 const compatibilityWithoutVerify = runControlUiI18nSourceFixture ( {
84158440 compatibilityTarget : true ,
0 commit comments