Skip to content

Matrix lint workflow by hook stage#2911

Merged
adamtheturtle merged 1 commit intomainfrom
adamtheturtle/lint-matrix-hook-stage
Feb 15, 2026
Merged

Matrix lint workflow by hook stage#2911
adamtheturtle merged 1 commit intomainfrom
adamtheturtle/lint-matrix-hook-stage

Conversation

@adamtheturtle
Copy link
Member

@adamtheturtle adamtheturtle commented Feb 15, 2026

Summary

Refactor the lint workflow to parallelize hook stage execution by adding hook-stage to the build matrix. This runs all three hook stages (pre-commit, pre-push, manual) in parallel across each platform instead of sequentially.

Changes

  • Added hook-stage: [pre-commit, pre-push, manual] to the build matrix
  • Replaced three sequential prek run commands with a single parameterized command using ${{ matrix.hook-stage }}

This expands the matrix from 2 jobs (2 platforms) to 6 jobs (2 platforms × 3 hook stages) running in parallel.


Note

Low Risk
CI-only workflow refactor that changes job fan-out/ordering but not application/runtime code; main risk is longer queue time or unexpected matrix execution behavior.

Overview
Parallelizes the Lint GitHub Actions workflow by adding hook-stage to the build matrix, running pre-commit, pre-push, and manual as separate matrix jobs per platform.

Replaces three sequential prek run invocations with a single parameterized command using ${{ matrix.hook-stage }}, expanding the matrix from 2 to 6 jobs and improving failure isolation/throughput.

Written by Cursor Bugbot for commit 205acc2. This will update automatically on new commits. Configure here.

Refactor the lint workflow to parallelize hook stage execution by adding hook-stage to the build matrix. This runs all three hook stages (pre-commit, pre-push, manual) in parallel across each platform instead of sequentially.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@adamtheturtle adamtheturtle merged commit 3218bc4 into main Feb 15, 2026
106 checks passed
@adamtheturtle adamtheturtle deleted the adamtheturtle/lint-matrix-hook-stage branch February 15, 2026 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant