From 3f02bf730aa719277b27d34ba2f82edc4c2b6d45 Mon Sep 17 00:00:00 2001 From: "Ricardo Q. Bazan" Date: Sat, 13 Jun 2026 13:08:19 -0500 Subject: [PATCH 1/2] chore: restore lefthook/turborepo.yml and extend it from root Restore the shared lefthook turborepo config that was inlined into the root lefthook.yml during the microkernel refactor (#220). The root lefthook.yml now extends lefthook/turborepo.yml instead of duplicating its jobs, keeping a single source of truth for the hook definitions. Verified with `lefthook dump`: the merged config is identical to the previous inline definition. Co-Authored-By: Claude Opus 4.8 (1M context) --- lefthook.yml | 26 ++------------------------ lefthook/turborepo.yml | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 24 deletions(-) create mode 100644 lefthook/turborepo.yml diff --git a/lefthook.yml b/lefthook.yml index 0ef91ecd..5bd78aa6 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -1,24 +1,2 @@ -pre-commit: - parallel: true - jobs: - - name: jscheck - run: pnpm rr jscheck --fix-staged - stage_fixed: true - - - name: tscheck - run: pnpm turbo run test:types --filter='...[HEAD]' - glob: - - "*.{ts,tsx}" - - "tsconfig.json" - -pre-push: - jobs: - - name: test - run: | - branch="$(git branch --show-current)" - - if [ "$branch" = "main" ]; then - pnpm turbo run test --filter='...[HEAD^]' - else - pnpm turbo run test --affected - fi +extends: + - lefthook/turborepo.yml diff --git a/lefthook/turborepo.yml b/lefthook/turborepo.yml new file mode 100644 index 00000000..0ef91ecd --- /dev/null +++ b/lefthook/turborepo.yml @@ -0,0 +1,24 @@ +pre-commit: + parallel: true + jobs: + - name: jscheck + run: pnpm rr jscheck --fix-staged + stage_fixed: true + + - name: tscheck + run: pnpm turbo run test:types --filter='...[HEAD]' + glob: + - "*.{ts,tsx}" + - "tsconfig.json" + +pre-push: + jobs: + - name: test + run: | + branch="$(git branch --show-current)" + + if [ "$branch" = "main" ]; then + pnpm turbo run test --filter='...[HEAD^]' + else + pnpm turbo run test --affected + fi From 3622420f86e24a593d3a20b64e2cc53e396ceb7c Mon Sep 17 00:00:00 2001 From: "Ricardo Q. Bazan" Date: Sat, 13 Jun 2026 13:14:44 -0500 Subject: [PATCH 2/2] ci: run test job on github-hosted runner The blacksmith-4vcpu-ubuntu-2404 runner is no longer available. Switch the test job to ubuntu-latest, matching the release and preview jobs. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e12adf21..a5f40014 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ concurrency: jobs: test: - runs-on: blacksmith-4vcpu-ubuntu-2404 + runs-on: ubuntu-latest steps: - name: ⬇️ Checkout repo uses: actions/checkout@v4