Skip to content

✨ feat(workflows): run every hook under the cooldown - #57

Merged
gaborbernat merged 1 commit into
mainfrom
cooled-hooks
Nov 6, 2026
Merged

gaborbernat merged 1 commit into
mainfrom
cooled-hooks

Conversation

@gaborbernat

Copy link
Copy Markdown
Member

A pull request could still merge green and break the scheduled jobs. pre-commit.ci builds hook environments from the newest releases, while the maintenance pull requests and release preparation build them with packages from the last seven days held back. A hook bumped to a younger release fails only under the cutoff, and a hook that rewrites files when its environment is built fresh fails only on a cold run; simplint hit both (simplint#55, simplint#58). 🧹

cooled-hooks.yaml runs every hook over the whole tree the way those jobs do: prek from the caller's locked release-prepare group, hook environments under the cutoff with the caller's [tool.nab] exceptions. A caller adds it as one job in its required gate. The prek cache is keyed on the hook configuration and pyproject.toml, so a changed hook always rebuilds under the cutoff. This repository's own formatting check now runs through it.

pre-commit.ci builds hook environments from the newest releases, while
the scheduled maintenance pull requests and release preparation build
them under the seven-day cutoff. A hook bumped to a younger release, or
one that rewrites files when built fresh, passed its pull request and
then failed those jobs (simplint#55, simplint#58).

cooled-hooks.yaml runs `prek run --all-files` with the release-prepare
prek and cooled hook environments, for a caller to add to its gate. This
repository's own formatting check now uses it.
@gaborbernat gaborbernat added the enhancement New feature or request label Nov 6, 2026
@gaborbernat
gaborbernat merged commit 1287007 into main Nov 6, 2026
13 checks passed
@gaborbernat
gaborbernat deleted the cooled-hooks branch November 6, 2026 22:26
This was referenced Nov 6, 2026
gaborbernat added a commit to pytest-dev/pytest-print that referenced this pull request Nov 6, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
gaborbernat added a commit to pytest-dev/pytest-env that referenced this pull request Nov 6, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
gaborbernat added a commit to gaborbernat/bump-deps-index that referenced this pull request Nov 6, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
gaborbernat added a commit to gaborbernat/pypi-changes that referenced this pull request Nov 6, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
gaborbernat added a commit to gaborbernat/mdformat-hugo that referenced this pull request Nov 6, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
gaborbernat added a commit to pypa/pipx that referenced this pull request Nov 6, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
gaborbernat added a commit to tox-dev/tox-gh that referenced this pull request Nov 6, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
gaborbernat added a commit to tox-dev/action-pre-commit-uv that referenced this pull request Nov 6, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
gaborbernat added a commit to tox-dev/filelock that referenced this pull request Nov 6, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
gaborbernat added a commit to tox-dev/pre-commit-uv that referenced this pull request Nov 6, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
gaborbernat added a commit to tox-dev/mdformat-zola that referenced this pull request Nov 6, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
gaborbernat added a commit to tox-dev/sphinx-argparse-cli that referenced this pull request Nov 6, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
gaborbernat added a commit to tox-dev/tox-ini-fmt that referenced this pull request Nov 6, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
gaborbernat added a commit to tox-dev/jetbrains-fish that referenced this pull request Nov 6, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
gaborbernat added a commit to tox-dev/PyVenvManage that referenced this pull request Nov 6, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
gaborbernat added a commit to tox-dev/platformdirs that referenced this pull request Nov 6, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
gaborbernat added a commit to tox-dev/sphinx-autodoc-typehints that referenced this pull request Nov 6, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
gaborbernat added a commit to tox-dev/pyproject-api that referenced this pull request Nov 6, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
gaborbernat added a commit to tox-dev/xml-fmt that referenced this pull request Nov 6, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
gaborbernat added a commit to tox-dev/tox that referenced this pull request Nov 6, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
gaborbernat added a commit to tox-dev/tox-uv that referenced this pull request Nov 6, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
gaborbernat added a commit to tox-dev/pipdeptree that referenced this pull request Nov 6, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
gaborbernat added a commit to tox-dev/python-discovery that referenced this pull request Nov 6, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
gaborbernat added a commit to tox-dev/turbohtml that referenced this pull request Nov 6, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
gaborbernat added a commit to tox-dev/devpi-process that referenced this pull request Nov 6, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
gaborbernat added a commit to pypa/virtualenv that referenced this pull request Nov 6, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
gaborbernat added a commit to tox-dev/toml-fmt that referenced this pull request Nov 7, 2026
A pull request could merge green and still break the scheduled
maintenance pull requests. pre-commit.ci builds hook environments from
the newest releases, while the maintenance jobs build them with packages
from the last seven days held back, so a hook bumped to a younger
release, or one that rewrites files when built fresh, only fails there.
🧹

The required gate now runs every hook over the whole tree under that
cutoff, through the shared `cooled-hooks` workflow added in
[github-workflows
6.7.0](tox-dev/github-workflows#57), so the pull
request fails instead. Release preparation moves to the same 6.7.0 pin.
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