diff --git a/.github/workflows/temp-full-safe-modularization.yml b/.github/workflows/temp-full-safe-modularization.yml index 5fc30d5..f35d0b5 100644 --- a/.github/workflows/temp-full-safe-modularization.yml +++ b/.github/workflows/temp-full-safe-modularization.yml @@ -4,6 +4,7 @@ on: push: paths: - tools/apply_full_safe_modularization.py + - tools/fix_modularization_ast_spans.py - .github/workflows/temp-full-safe-modularization.yml workflow_dispatch: @@ -23,6 +24,8 @@ jobs: python -m pip install --upgrade pip if [ -f requirements.txt ]; then python -m pip install -r requirements.txt; fi python -m pip install filelock + - name: Repair AST source spans + run: python tools/fix_modularization_ast_spans.py - name: Apply safe modularization run: python tools/apply_full_safe_modularization.py - name: Verify Python syntax @@ -35,6 +38,7 @@ jobs: git config user.email "41898282+github-actions[bot]@users.noreply.github.com" git rm -f \ tools/apply_full_safe_modularization.py \ + tools/fix_modularization_ast_spans.py \ tools/build_refactor_inventory.py \ refactor_inventory.json \ .github/workflows/temp-refactor-inventory.yml \ @@ -42,5 +46,3 @@ jobs: git add -A git commit -m "refactor: modularize registration runtime safely" git push - -# trigger: 2026-07-15