Repository navigation
docs: check the release date before merging the release pull request - #422
Merged
Merged
Conversation
The release pull request sets date-released in CITATION.cff when it is opened, and the tag is pushed when it merges, which can be days later. The guide never said to look at the date again, and the Images workflow checks only the version, so a release that slipped would be cited with the wrong date. Step 3 now says to check it just before merging. Raised by CodeRabbit on the v2.0.0 release pull request. Assisted-by: Claude Code (Claude Fable 5.2)
Step 4 sends a release that needs a bigger bump back through a second release pull request, which can merge on a later day than the first. It named only the version as the thing to correct there, so the date check added to step 3 was easy to miss on that path. Raised by CodeRabbit's review of the previous commit. Assisted-by: Claude Code (Claude Fable 5.2)
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.
Summary
The release guide has the release pull request set
date-releasedinCITATION.cff, and never says to look at the date again. A release pull request opened on one day and merged on a later one would tag a release that is cited with the wrong date. TheImagesworkflow checks onlyversion. Step 3 of the guide now says to check the date just before merging, and step 4 says to correct it in a second release pull request.Changes
docs/how-to/release.md, step 3 (e15a6037): one sentence added to the checks made just before merging the release pull request.date-releasedhas to be the day the tag is pushed, and the workflow does not check it.docs/how-to/release.md, step 4 (f17fdc24): a second release pull request, which the guide asks for when a late merge needs a bigger bump, corrects the date as well as the version if the day has changed.Testing
mainat978c6693:images.ymlreadsCITATION.cffonce, for theversioncheck of theplanjob (lines 141 to 143).date-releasedappears in no workflow, and in the guide only where step 3 sets it.mkdocs build --stricton this branch merged intomainat978c6693— builds with no warnings.Backend(lint, test) andPR titlepass.AI Assistance
Claude Code (Claude Fable 5.2) wrote this change and ran the checks listed under Testing.
Related Issues
No tracking issue exists.
Checklist
docker compose exec backend pytestdocker compose exec backend ruff check . && docker compose exec backend ruff format --check .docker compose exec frontend npx tsc --noEmitdocker compose exec frontend yarn lintAssisted-bytrailer, or no AI assistance was used🤖 Generated with Claude Code