fix(ci): guard static import SCCs

This commit is contained in:
Vincent Koc
2026-04-12 08:25:29 +01:00
parent bfa2feaa92
commit 7ba3bb3399
4 changed files with 259 additions and 1 deletions

View File

@@ -894,6 +894,11 @@ jobs:
continue-on-error: true
run: pnpm check:import-cycles
- name: Run static import SCC guard
id: static_import_sccs
continue-on-error: true
run: pnpm check:static-import-sccs
- name: Upload gateway watch regression artifacts
if: always()
uses: actions/upload-artifact@v7
@@ -927,6 +932,7 @@ jobs:
CONTROL_UI_I18N_OUTCOME: ${{ steps.control_ui_i18n.outcome == 'skipped' && 'success' || steps.control_ui_i18n.outcome }}
GATEWAY_WATCH_REGRESSION_OUTCOME: ${{ steps.gateway_watch_regression.outcome }}
IMPORT_CYCLES_OUTCOME: ${{ steps.import_cycles.outcome }}
STATIC_IMPORT_SCCS_OUTCOME: ${{ steps.static_import_sccs.outcome }}
run: |
failures=0
for result in \
@@ -951,7 +957,8 @@ jobs:
"lint:ui:no-raw-window-open|$NO_RAW_WINDOW_OPEN_OUTCOME" \
"ui:i18n:check|$CONTROL_UI_I18N_OUTCOME" \
"gateway-watch-regression|$GATEWAY_WATCH_REGRESSION_OUTCOME" \
"check:import-cycles|$IMPORT_CYCLES_OUTCOME"; do
"check:import-cycles|$IMPORT_CYCLES_OUTCOME" \
"check:static-import-sccs|$STATIC_IMPORT_SCCS_OUTCOME"; do
name="${result%%|*}"
outcome="${result#*|}"
if [ "$outcome" != "success" ]; then