Repository navigation
⚡ perf(workflows): install only the formatter hook - #55
Merged
Merged
Conversation
Assembly ran `prek install-hooks`, building every hook environment under the seven-day cutoff, though it only runs mdformat or docstrfmt on the changelog. That took most of the job (32 of 45 seconds in tox-gh's dry run) and let an unrelated young hook, such as simplint's Ruff bump, fail the release. The formatter step now installs the one hook it runs.
This was referenced Nov 6, 2026
gaborbernat
added a commit
to pytest-dev/pytest-print
that referenced
this pull request
Nov 6, 2026
Release preparation, and the dry run the pull request gate runs, installed every pre-commit hook though it only runs the changelog formatter. [github-workflows 6.6.1](tox-dev/github-workflows#55) installs just that one hook, so the dry run finishes in about 15 seconds instead of 30 to 45, and a release no longer fails on a hook it never runs. ⚡
gaborbernat
added a commit
to pytest-dev/pytest-env
that referenced
this pull request
Nov 6, 2026
Release preparation, and the dry run the pull request gate runs, installed every pre-commit hook though it only runs the changelog formatter. [github-workflows 6.6.1](tox-dev/github-workflows#55) installs just that one hook, so the dry run finishes in about 15 seconds instead of 30 to 45, and a release no longer fails on a hook it never runs. ⚡
gaborbernat
added a commit
to gaborbernat/pypi-changes
that referenced
this pull request
Nov 6, 2026
Release preparation, and the dry run the pull request gate runs, installed every pre-commit hook though it only runs the changelog formatter. [github-workflows 6.6.1](tox-dev/github-workflows#55) installs just that one hook, so the dry run finishes in about 15 seconds instead of 30 to 45, and a release no longer fails on a hook it never runs. ⚡
gaborbernat
added a commit
to gaborbernat/simplint
that referenced
this pull request
Nov 6, 2026
Release preparation, and the dry run the pull request gate runs, installed every pre-commit hook though it only runs the changelog formatter. [github-workflows 6.6.1](tox-dev/github-workflows#55) installs just that one hook, so the dry run finishes in about 15 seconds instead of 30 to 45, and a release no longer fails on a hook it never runs. ⚡
gaborbernat
added a commit
to gaborbernat/mdformat-hugo
that referenced
this pull request
Nov 6, 2026
Release preparation, and the dry run the pull request gate runs, installed every pre-commit hook though it only runs the changelog formatter. [github-workflows 6.6.1](tox-dev/github-workflows#55) installs just that one hook, so the dry run finishes in about 15 seconds instead of 30 to 45, and a release no longer fails on a hook it never runs. ⚡
gaborbernat
added a commit
to gaborbernat/bump-deps-index
that referenced
this pull request
Nov 6, 2026
Release preparation, and the dry run the pull request gate runs, installed every pre-commit hook though it only runs the changelog formatter. [github-workflows 6.6.1](tox-dev/github-workflows#55) installs just that one hook, so the dry run finishes in about 15 seconds instead of 30 to 45, and a release no longer fails on a hook it never runs. ⚡
gaborbernat
added a commit
to pypa/pipx
that referenced
this pull request
Nov 6, 2026
Release preparation, and the dry run the pull request gate runs, installed every pre-commit hook though it only runs the changelog formatter. [github-workflows 6.6.1](tox-dev/github-workflows#55) installs just that one hook, so the dry run finishes in about 15 seconds instead of 30 to 45, and a release no longer fails on a hook it never runs. ⚡
gaborbernat
added a commit
to tox-dev/tox-gh
that referenced
this pull request
Nov 6, 2026
Release preparation, and the dry run the pull request gate runs, installed every pre-commit hook though it only runs the changelog formatter. [github-workflows 6.6.1](tox-dev/github-workflows#55) installs just that one hook, so the dry run finishes in about 15 seconds instead of 30 to 45, and a release no longer fails on a hook it never runs. ⚡
gaborbernat
added a commit
to tox-dev/sphinx-autodoc-typehints
that referenced
this pull request
Nov 6, 2026
Release preparation, and the dry run the pull request gate runs, installed every pre-commit hook though it only runs the changelog formatter. [github-workflows 6.6.1](tox-dev/github-workflows#55) installs just that one hook, so the dry run finishes in about 15 seconds instead of 30 to 45, and a release no longer fails on a hook it never runs. ⚡
gaborbernat
added a commit
to tox-dev/pre-commit-uv
that referenced
this pull request
Nov 6, 2026
Release preparation, and the dry run the pull request gate runs, installed every pre-commit hook though it only runs the changelog formatter. [github-workflows 6.6.1](tox-dev/github-workflows#55) installs just that one hook, so the dry run finishes in about 15 seconds instead of 30 to 45, and a release no longer fails on a hook it never runs. ⚡
gaborbernat
added a commit
to tox-dev/tox-ini-fmt
that referenced
this pull request
Nov 6, 2026
Release preparation, and the dry run the pull request gate runs, installed every pre-commit hook though it only runs the changelog formatter. [github-workflows 6.6.1](tox-dev/github-workflows#55) installs just that one hook, so the dry run finishes in about 15 seconds instead of 30 to 45, and a release no longer fails on a hook it never runs. ⚡
gaborbernat
added a commit
to tox-dev/mdformat-zola
that referenced
this pull request
Nov 6, 2026
Release preparation, and the dry run the pull request gate runs, installed every pre-commit hook though it only runs the changelog formatter. [github-workflows 6.6.1](tox-dev/github-workflows#55) installs just that one hook, so the dry run finishes in about 15 seconds instead of 30 to 45, and a release no longer fails on a hook it never runs. ⚡
gaborbernat
added a commit
to tox-dev/python-discovery
that referenced
this pull request
Nov 6, 2026
Release preparation, and the dry run the pull request gate runs, installed every pre-commit hook though it only runs the changelog formatter. [github-workflows 6.6.1](tox-dev/github-workflows#55) installs just that one hook, so the dry run finishes in about 15 seconds instead of 30 to 45, and a release no longer fails on a hook it never runs. ⚡
gaborbernat
added a commit
to tox-dev/jetbrains-fish
that referenced
this pull request
Nov 6, 2026
Release preparation, and the dry run the pull request gate runs, installed every pre-commit hook though it only runs the changelog formatter. [github-workflows 6.6.1](tox-dev/github-workflows#55) installs just that one hook, so the dry run finishes in about 15 seconds instead of 30 to 45, and a release no longer fails on a hook it never runs. ⚡
gaborbernat
added a commit
to tox-dev/action-pre-commit-uv
that referenced
this pull request
Nov 6, 2026
Release preparation, and the dry run the pull request gate runs, installed every pre-commit hook though it only runs the changelog formatter. [github-workflows 6.6.1](tox-dev/github-workflows#55) installs just that one hook, so the dry run finishes in about 15 seconds instead of 30 to 45, and a release no longer fails on a hook it never runs. ⚡
gaborbernat
added a commit
to tox-dev/xml-fmt
that referenced
this pull request
Nov 6, 2026
Release preparation, and the dry run the pull request gate runs, installed every pre-commit hook though it only runs the changelog formatter. [github-workflows 6.6.1](tox-dev/github-workflows#55) installs just that one hook, so the dry run finishes in about 15 seconds instead of 30 to 45, and a release no longer fails on a hook it never runs. ⚡
gaborbernat
added a commit
to tox-dev/toml-fmt
that referenced
this pull request
Nov 6, 2026
Release preparation, and the dry run the pull request gate runs, installed every pre-commit hook though it only runs the changelog formatter. [github-workflows 6.6.1](tox-dev/github-workflows#55) installs just that one hook, so the dry run finishes in about 15 seconds instead of 30 to 45, and a release no longer fails on a hook it never runs. ⚡
gaborbernat
added a commit
to tox-dev/sphinx-argparse-cli
that referenced
this pull request
Nov 6, 2026
Release preparation, and the dry run the pull request gate runs, installed every pre-commit hook though it only runs the changelog formatter. [github-workflows 6.6.1](tox-dev/github-workflows#55) installs just that one hook, so the dry run finishes in about 15 seconds instead of 30 to 45, and a release no longer fails on a hook it never runs. ⚡
gaborbernat
added a commit
to tox-dev/pipdeptree
that referenced
this pull request
Nov 6, 2026
Release preparation, and the dry run the pull request gate runs, installed every pre-commit hook though it only runs the changelog formatter. [github-workflows 6.6.1](tox-dev/github-workflows#55) installs just that one hook, so the dry run finishes in about 15 seconds instead of 30 to 45, and a release no longer fails on a hook it never runs. ⚡
gaborbernat
added a commit
to tox-dev/tox
that referenced
this pull request
Nov 6, 2026
Release preparation, and the dry run the pull request gate runs, installed every pre-commit hook though it only runs the changelog formatter. [github-workflows 6.6.1](tox-dev/github-workflows#55) installs just that one hook, so the dry run finishes in about 15 seconds instead of 30 to 45, and a release no longer fails on a hook it never runs. ⚡
gaborbernat
added a commit
to tox-dev/PyVenvManage
that referenced
this pull request
Nov 6, 2026
Release preparation, and the dry run the pull request gate runs, installed every pre-commit hook though it only runs the changelog formatter. [github-workflows 6.6.1](tox-dev/github-workflows#55) installs just that one hook, so the dry run finishes in about 15 seconds instead of 30 to 45, and a release no longer fails on a hook it never runs. ⚡
gaborbernat
added a commit
to tox-dev/devpi-process
that referenced
this pull request
Nov 6, 2026
Release preparation, and the dry run the pull request gate runs, installed every pre-commit hook though it only runs the changelog formatter. [github-workflows 6.6.1](tox-dev/github-workflows#55) installs just that one hook, so the dry run finishes in about 15 seconds instead of 30 to 45, and a release no longer fails on a hook it never runs. ⚡
gaborbernat
added a commit
to tox-dev/pyproject-api
that referenced
this pull request
Nov 6, 2026
Release preparation, and the dry run the pull request gate runs, installed every pre-commit hook though it only runs the changelog formatter. [github-workflows 6.6.1](tox-dev/github-workflows#55) installs just that one hook, so the dry run finishes in about 15 seconds instead of 30 to 45, and a release no longer fails on a hook it never runs. ⚡
gaborbernat
added a commit
to tox-dev/tox-uv
that referenced
this pull request
Nov 6, 2026
Release preparation, and the dry run the pull request gate runs, installed every pre-commit hook though it only runs the changelog formatter. [github-workflows 6.6.1](tox-dev/github-workflows#55) installs just that one hook, so the dry run finishes in about 15 seconds instead of 30 to 45, and a release no longer fails on a hook it never runs. ⚡
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release preparation, and the pull request dry run that repeats it, spent most of its time installing every pre-commit hook: 32 of the 45 seconds in tox-gh's dry run. It then ran one of them, the changelog formatter. ⚡
Assembly now installs only that formatter's hook, still under the seven-day cutoff, when it formats the changelog. The dry run drops to roughly the time of the checkout and tool install, and a release no longer fails on a hook it never runs, which is how the Ruff bump in simplint#55 broke one.
Keeping every hook installable under the cutoff remains a job for the pull request checks, not for the release.