potiuk commented on code in PR #45409:
URL: https://github.com/apache/airflow/pull/45409#discussion_r1903331969


##########
.github/workflows/ci.yml:
##########
@@ -244,14 +244,14 @@ jobs:
       debug-resources: ${{ needs.build-info.outputs.debug-resources }}
       use-uv: ${{ needs.build-info.outputs.use-uv }}
 
-
   generate-constraints:
     name: "Generate constraints"
     needs: [build-info, build-ci-images]
     uses: ./.github/workflows/generate-constraints.yml
     if: >
-      needs.build-info.outputs.ci-image-build == 'true' &&
-      needs.build-info.outputs.only-new-ui-files != 'true'
+      needs.build-info.outputs.canary-run == 'true' ||
+      (needs.build-info.outputs.ci-image-build == 'true' &&
+      needs.build-info.outputs.only-new-ui-files != 'true')

Review Comment:
   (ci-image-build is always true for canary-builds via
   
   ```
       def run_tests(self) -> bool:
           if self._is_canary_run():
               return True
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to