Skip to content

Remove pre-push code formatting hook#6571

Merged
npaun merged 1 commit into
mainfrom
npaun/no-more-pre-push
Apr 13, 2026
Merged

Remove pre-push code formatting hook#6571
npaun merged 1 commit into
mainfrom
npaun/no-more-pre-push

Conversation

@npaun

@npaun npaun commented Apr 13, 2026

Copy link
Copy Markdown
Member

Removes the pre-push hook in workerd that checks for code formatting. We will continue to have a pre-commit hook + a mandatory lint job in CI.

The pre-push hook (1) seems redundant and slow, (2) is buggy if you push a branch while checked out on a different branch.

@npaun npaun requested review from fhanau and guybedford April 13, 2026 18:21
@npaun npaun requested review from a team as code owners April 13, 2026 18:21
@ask-bonk

ask-bonk Bot commented Apr 13, 2026

Copy link
Copy Markdown
Contributor

The change is clean. The pre-push hook is deleted, and no other files reference it specifically. The githooks/ directory, workspace-status.sh, and CI configs all just reference the githooks/ directory generically (via core.hooksPath), and the remaining pre-commit hook is unaffected. There are no dangling references that need cleanup.

LGTM

github run

@npaun npaun merged commit e6dc01a into main Apr 13, 2026
25 checks passed
@npaun npaun deleted the npaun/no-more-pre-push branch April 13, 2026 19:05
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.

2 participants