Skip to content

⚡ perf(workflows): install only the formatter hook - #55

Merged
gaborbernat merged 2 commits into
mainfrom
release-install-one-hook
Nov 6, 2026
Merged

gaborbernat merged 2 commits into
mainfrom
release-install-one-hook

Conversation

@gaborbernat

Copy link
Copy Markdown
Member

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.

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.
@gaborbernat gaborbernat added the enhancement New feature or request label Nov 6, 2026
@gaborbernat
gaborbernat merged commit edc469c into main Nov 6, 2026
12 checks passed
@gaborbernat
gaborbernat deleted the release-install-one-hook branch November 6, 2026 16:56
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. ⚡
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant