Repository navigation
π fix(refresh-release-lock): drop stale exceptions - #69
Merged
Merged
Conversation
upgrade-release-tools checked cutoff exception expiry before it refreshed the lock. Nab counts a relative cutoff from the committed lock's created-at, so an exception stays needed until a refresh re-anchors the lock; the expiry check therefore blocked the one run that would have made the exception redundant. On 2026-11-10 that failed the scheduled run of every caller whose release-creator exception expired on 2026-11-09. refresh-release-lock gains drop-redundant-exceptions. In refresh mode it deletes each packages.<name>.uploaded-prior-to exception dated at or before the cutoff counted from now, keeps the lock's new created-at, and adds the edited pyproject.toml or nab.toml to the patch. upgrade-release-tools turns it on, allows those paths in the maintenance pull request, and runs the expiry check afterwards, so it still fails on an undated exception or an expired one the new lock needs. Also record in the 6.5.0 changelog that upgrade-release-tools dropped commit-message, add the matching startup failure to troubleshooting, and fix the expiry guidance and example date.
shellcheck SC2153 flagged the array dropped next to the environment variable DROPPED, which differs only in case.
This was referenced Nov 16, 2026
gaborbernat
added a commit
to gaborbernat/gaborbernat
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The weekly lock refresh now deletes cutoff exceptions that its own refresh makes redundant, instead of failing on them once they expire ([#69](tox-dev/github-workflows#69)). Exceptions whose upload date the seven-day window already covers go away in the next refresh pull request, before their 2026-11-24 expiry would block every change to `pyproject.toml`. The same release names that pull request `π§ build(deps): refresh project lock` by default ([#72](tox-dev/github-workflows#72)), so any per-repository `pull-request-title` override goes and the refresh reads the same across all projects.
gaborbernat
added a commit
to gaborbernat/mdformat-hugo
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The weekly lock refresh now deletes cutoff exceptions that its own refresh makes redundant, instead of failing on them once they expire ([#69](tox-dev/github-workflows#69)). Exceptions whose upload date the seven-day window already covers go away in the next refresh pull request, before their 2026-11-24 expiry would block every change to `pyproject.toml`. The same release names that pull request `π§ build(deps): refresh project lock` by default ([#72](tox-dev/github-workflows#72)), so any per-repository `pull-request-title` override goes and the refresh reads the same across all projects.
gaborbernat
added a commit
to gaborbernat/pypi-changes
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The weekly lock refresh now deletes cutoff exceptions that its own refresh makes redundant, instead of failing on them once they expire ([#69](tox-dev/github-workflows#69)). Exceptions whose upload date the seven-day window already covers go away in the next refresh pull request, before their 2026-11-24 expiry would block every change to `pyproject.toml`. The same release names that pull request `π§ build(deps): refresh project lock` by default ([#72](tox-dev/github-workflows#72)), so any per-repository `pull-request-title` override goes and the refresh reads the same across all projects.
gaborbernat
added a commit
to gaborbernat/simplint
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The weekly lock refresh now deletes cutoff exceptions that its own refresh makes redundant, instead of failing on them once they expire ([#69](tox-dev/github-workflows#69)). Exceptions whose upload date the seven-day window already covers go away in the next refresh pull request, before their 2026-11-24 expiry would block every change to `pyproject.toml`. The same release names that pull request `π§ build(deps): refresh project lock` by default ([#72](tox-dev/github-workflows#72)), so any per-repository `pull-request-title` override goes and the refresh reads the same across all projects.
gaborbernat
added a commit
to pypa/get-virtualenv
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The weekly lock refresh now deletes cutoff exceptions that its own refresh makes redundant, instead of failing on them once they expire ([#69](tox-dev/github-workflows#69)). Exceptions whose upload date the seven-day window already covers go away in the next refresh pull request, before their 2026-11-24 expiry would block every change to `pyproject.toml`. The same release names that pull request `π§ build(deps): refresh project lock` by default ([#72](tox-dev/github-workflows#72)), so any per-repository `pull-request-title` override goes and the refresh reads the same across all projects.
gaborbernat
added a commit
to pypa/pipx
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The weekly lock refresh now deletes cutoff exceptions that its own refresh makes redundant, instead of failing on them once they expire ([#69](tox-dev/github-workflows#69)). Exceptions whose upload date the seven-day window already covers go away in the next refresh pull request, before their 2026-11-24 expiry would block every change to `pyproject.toml`. The same release names that pull request `π§ build(deps): refresh project lock` by default ([#72](tox-dev/github-workflows#72)), so any per-repository `pull-request-title` override goes and the refresh reads the same across all projects.
gaborbernat
added a commit
to pypa/virtualenv
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The weekly lock refresh now deletes cutoff exceptions that its own refresh makes redundant, instead of failing on them once they expire ([#69](tox-dev/github-workflows#69)). Exceptions whose upload date the seven-day window already covers go away in the next refresh pull request, before their 2026-11-24 expiry would block every change to `pyproject.toml`. The same release names that pull request `π§ build(deps): refresh project lock` by default ([#72](tox-dev/github-workflows#72)), so any per-repository `pull-request-title` override goes and the refresh reads the same across all projects.
gaborbernat
added a commit
to pytest-dev/pytest-env
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The weekly lock refresh now deletes cutoff exceptions that its own refresh makes redundant, instead of failing on them once they expire ([#69](tox-dev/github-workflows#69)). Exceptions whose upload date the seven-day window already covers go away in the next refresh pull request, before their 2026-11-24 expiry would block every change to `pyproject.toml`. The same release names that pull request `π§ build(deps): refresh project lock` by default ([#72](tox-dev/github-workflows#72)), so any per-repository `pull-request-title` override goes and the refresh reads the same across all projects.
gaborbernat
added a commit
to pytest-dev/pytest-print
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The weekly lock refresh now deletes cutoff exceptions that its own refresh makes redundant, instead of failing on them once they expire ([#69](tox-dev/github-workflows#69)). Exceptions whose upload date the seven-day window already covers go away in the next refresh pull request, before their 2026-11-24 expiry would block every change to `pyproject.toml`. The same release names that pull request `π§ build(deps): refresh project lock` by default ([#72](tox-dev/github-workflows#72)), so any per-repository `pull-request-title` override goes and the refresh reads the same across all projects.
gaborbernat
added a commit
to tox-dev/action-pre-commit-uv
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The weekly lock refresh now deletes cutoff exceptions that its own refresh makes redundant, instead of failing on them once they expire ([#69](tox-dev/github-workflows#69)). Exceptions whose upload date the seven-day window already covers go away in the next refresh pull request, before their 2026-11-24 expiry would block every change to `pyproject.toml`. The same release names that pull request `π§ build(deps): refresh project lock` by default ([#72](tox-dev/github-workflows#72)), so any per-repository `pull-request-title` override goes and the refresh reads the same across all projects.
gaborbernat
added a commit
to tox-dev/devpi-process
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The weekly lock refresh now deletes cutoff exceptions that its own refresh makes redundant, instead of failing on them once they expire ([#69](tox-dev/github-workflows#69)). Exceptions whose upload date the seven-day window already covers go away in the next refresh pull request, before their 2026-11-24 expiry would block every change to `pyproject.toml`. The same release names that pull request `π§ build(deps): refresh project lock` by default ([#72](tox-dev/github-workflows#72)), so any per-repository `pull-request-title` override goes and the refresh reads the same across all projects.
gaborbernat
added a commit
to tox-dev/filelock
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The weekly lock refresh now deletes cutoff exceptions that its own refresh makes redundant, instead of failing on them once they expire ([#69](tox-dev/github-workflows#69)). Exceptions whose upload date the seven-day window already covers go away in the next refresh pull request, before their 2026-11-24 expiry would block every change to `pyproject.toml`. The same release names that pull request `π§ build(deps): refresh project lock` by default ([#72](tox-dev/github-workflows#72)), so any per-repository `pull-request-title` override goes and the refresh reads the same across all projects.
gaborbernat
added a commit
to tox-dev/jetbrains-fish
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The weekly lock refresh now deletes cutoff exceptions that its own refresh makes redundant, instead of failing on them once they expire ([#69](tox-dev/github-workflows#69)). Exceptions whose upload date the seven-day window already covers go away in the next refresh pull request, before their 2026-11-24 expiry would block every change to `pyproject.toml`. The same release names that pull request `π§ build(deps): refresh project lock` by default ([#72](tox-dev/github-workflows#72)), so any per-repository `pull-request-title` override goes and the refresh reads the same across all projects.
gaborbernat
added a commit
to tox-dev/mdformat-zola
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The weekly lock refresh now deletes cutoff exceptions that its own refresh makes redundant, instead of failing on them once they expire ([#69](tox-dev/github-workflows#69)). Exceptions whose upload date the seven-day window already covers go away in the next refresh pull request, before their 2026-11-24 expiry would block every change to `pyproject.toml`. The same release names that pull request `π§ build(deps): refresh project lock` by default ([#72](tox-dev/github-workflows#72)), so any per-repository `pull-request-title` override goes and the refresh reads the same across all projects.
gaborbernat
added a commit
to tox-dev/pipdeptree
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The release-tools refresh deletes an expired cutoff exception that its own refresh makes redundant, instead of failing on it ([#69](tox-dev/github-workflows#69)), and its pull request takes the default title `π§ build(deps): refresh project lock` ([#72](tox-dev/github-workflows#72)), so this repository's title override is removed and the title stays the same.
gaborbernat
added a commit
to tox-dev/platformdirs
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The release-tools refresh deletes an expired cutoff exception that its own refresh makes redundant, instead of failing on it ([#69](tox-dev/github-workflows#69)), and its pull request takes the default title `π§ build(deps): refresh project lock` ([#72](tox-dev/github-workflows#72)), so this repository's title override is removed and the title stays the same.
gaborbernat
added a commit
to tox-dev/pre-commit-uv
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The release-tools refresh deletes an expired cutoff exception that its own refresh makes redundant, instead of failing on it ([#69](tox-dev/github-workflows#69)).
gaborbernat
added a commit
to tox-dev/pyproject-api
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The release-tools refresh deletes an expired cutoff exception that its own refresh makes redundant, instead of failing on it ([#69](tox-dev/github-workflows#69)), and its pull request takes the default title `π§ build(deps): refresh project lock` ([#72](tox-dev/github-workflows#72)), so this repository's title override is removed and the title stays the same.
gaborbernat
added a commit
to tox-dev/python-discovery
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The release-tools refresh deletes an expired cutoff exception that its own refresh makes redundant, instead of failing on it ([#69](tox-dev/github-workflows#69)), and its pull request takes the default title `π§ build(deps): refresh project lock` ([#72](tox-dev/github-workflows#72)), so this repository's title override is removed and the title stays the same.
gaborbernat
added a commit
to tox-dev/python-sbom
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The release-tools refresh deletes an expired cutoff exception that its own refresh makes redundant, instead of failing on it ([#69](tox-dev/github-workflows#69)).
gaborbernat
added a commit
to tox-dev/PyVenvManage
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The release-tools refresh deletes an expired cutoff exception that its own refresh makes redundant, instead of failing on it ([#69](tox-dev/github-workflows#69)), and its pull request takes the default title `π§ build(deps): refresh project lock` ([#72](tox-dev/github-workflows#72)), so this repository's title override is removed and the title stays the same.
gaborbernat
added a commit
to tox-dev/sphinx-argparse-cli
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The release-tools refresh deletes an expired cutoff exception that its own refresh makes redundant, instead of failing on it ([#69](tox-dev/github-workflows#69)).
gaborbernat
added a commit
to tox-dev/sphinx-autodoc-typehints
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The release-tools refresh deletes an expired cutoff exception that its own refresh makes redundant, instead of failing on it ([#69](tox-dev/github-workflows#69)), and its pull request takes the default title `π§ build(deps): refresh project lock` ([#72](tox-dev/github-workflows#72)), so this repository's title override is removed and the title stays the same.
gaborbernat
added a commit
to tox-dev/tox
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The release-tools refresh deletes an expired cutoff exception that its own refresh makes redundant, instead of failing on it ([#69](tox-dev/github-workflows#69)), and its pull request takes the default title `π§ build(deps): refresh project lock` ([#72](tox-dev/github-workflows#72)), so this repository's title override is removed and the title stays the same.
gaborbernat
added a commit
to tox-dev/tox-gh
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The release-tools refresh deletes an expired cutoff exception that its own refresh makes redundant, instead of failing on it ([#69](tox-dev/github-workflows#69)).
gaborbernat
added a commit
to tox-dev/tox-ini-fmt
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The release-tools refresh deletes an expired cutoff exception that its own refresh makes redundant, instead of failing on it ([#69](tox-dev/github-workflows#69)).
gaborbernat
added a commit
to tox-dev/tox-uv
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The release-tools refresh deletes an expired cutoff exception that its own refresh makes redundant, instead of failing on it ([#69](tox-dev/github-workflows#69)), and its pull request takes the default title `π§ build(deps): refresh project lock` ([#72](tox-dev/github-workflows#72)), so this repository's title override is removed and the title stays the same.
gaborbernat
added a commit
to tox-dev/xml-fmt
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The release-tools refresh deletes an expired cutoff exception that its own refresh makes redundant, instead of failing on it ([#69](tox-dev/github-workflows#69)), and its pull request takes the default title `π§ build(deps): refresh project lock` ([#72](tox-dev/github-workflows#72)), so this repository's title override is removed and the title stays the same.
gaborbernat
added a commit
to quotaline/quotaline
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). π§ The release-tools refresh deletes an expired cutoff exception that its own refresh makes redundant, instead of failing on it ([#69](tox-dev/github-workflows#69)), and its pull request takes the default title `π§ build(deps): refresh project lock` ([#72](tox-dev/github-workflows#72)), so this repository's title override is removed and the title gains the π§ prefix. Releases no longer fail with `Resource not accessible by integration` when a pull request that changes a workflow merges while the release builds, since the GitHub release is now drafted on the existing tag ([#68](tox-dev/github-workflows#68), [6.8.0...6.8.3](tox-dev/github-workflows@6.8.0...6.8.3)).
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.
On 2026-11-10 the scheduled
upgrade-release-toolsrun failed in every caller whoserelease-creatorcutoff exception carried# expires 2026-11-09. Deleting the exception did not work either. nab counts a relative cutoff from the lock'screated-at(reproducibility docs), every caller's lock was anchored on 2026-11-03, and release-creator 4.4.0 (uploaded 2026-11-02) still needed the exception. π Only a refresh moves the anchor, and the expiry check ran before it, so the check blocked the one run that would have made the exception redundant.Architecture
The refresh step can now delete the cutoff exceptions that the new anchor no longer needs, and the expiry check runs after the refresh instead of before it. The deletion is opt-in, so
update-python-dependencieskeeps its behavior. The step removes only exceptions it can prove redundant, and it leaves relative, time-zone-less and inline forms, and cutoffs other thanP<n>Dor a date, alone. When it drops an exception, the refresh pull request also editspyproject.tomlornab.toml, and the lock keeps its newcreated-at, since that anchor is what still keeps the pinned releases under the cutoff.A warning in
upgrade-release-toolswould not work alone. The refresh pull request changes the lock, sovalidate-newsruns the hard check on it and fails on the same expired exception. Per-package cutoffs also replace the global one (package policy), so an exception kept after the refresh would hold the package at its old date.Rollout
Callers get this by bumping their pin. A scheduled run still fails on an undated exception, or on an expired one that the new anchor needs.
Callers also need the 6.5.0 change, because github-workflows 6.5.0 no longer declares
commit-message. A caller that still passes it ends instartup_failurewithInvalid input, commit-message is not defined in the referenced workflow. That stopped the 2026-11-10 scheduled run of 15 callers (example). For the current incident, callers extend the expiries by hand in their own pull requests, such as tox-dev/tox#4437.