jason810496 opened a new pull request, #70277:
URL: https://github.com/apache/airflow/pull/70277

   
   ## Why
   
   The ts-sdk prek hooks lived in the root `.pre-commit-config.yaml` even 
though their scripts already live under `ts-sdk/scripts/ci/prek/` and every 
other workspace project (`task-sdk`, `airflow-core`, `go-sdk`, `shared/*`, ...) 
owns its hooks in a nested config; building the ts-sdk also required a locally 
installed pnpm.
   
   ## Verification
   
   - `prek run ts-sdk-lint --all-files`, `prek run 
check-ts-sdk-supervisor-schema --all-files` — both pass from the new workspace 
config.
   - `prek run compile-ts-sdk` — builds `ts-sdk/dist/` with prek-managed pnpm; 
excluded from default-stage runs (`prek run --dry-run` on a ts-sdk file does 
not list it), so ordinary commits do not trigger a build.
   - Trigger parity: `prek run ts-sdk-lint --files ts-sdk/src/index.ts` runs 
the hook; `--files README.md` skips it.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [x] Yes, with help of Claude Code Fable 5 following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
   


-- 
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