Skip to content

Git Hooks Update - Parallel Pre-Push Execution

Git Hooks Update - Parallel Pre-Push Execution

Section titled “Git Hooks Update - Parallel Pre-Push Execution”

As of July 19, 2025, we’ve updated the pre-push hook configuration in lefthook.yml to improve performance by enabling parallel execution.

The parallel: false configuration has been removed from the pre-push hook section in lefthook.yml:

# Before
pre-push:
parallel: false
commands:
# commands here...
# After
pre-push:
commands:
# commands here...

This change offers several advantages:

  1. Improved Performance: Pre-push checks now run in parallel, significantly reducing the time required before pushing changes
  2. Better Resource Utilization: Parallel execution makes better use of system resources
  3. Faster Feedback: Developers get feedback on all checks simultaneously rather than sequentially

When working with parallel pre-push hooks:

  1. Be aware that output from different commands may be interleaved in the terminal
  2. System resource usage may be higher during pre-push operations
  3. If you experience issues with parallel execution, you can add parallel: false back to your local configuration

For complete information about our Git hooks configuration, please refer to: