Repository navigation
Release notes workflow: an open milestone without a due date is a valid next milestone - #465
Merged
Merged
Conversation
…id next milestone The step that closes the milestone of a final release picked the next milestone only among open milestones with a due date. The open milestone 27.1.1 has none, so on release day the 26.12.1 items would not have moved to it: the step would have fallen through to the upstream version and, while upstream main still reads 26.12.1, failed with 'no next open milestone with a due date'. assign-milestone.yml already treats a missing due date as the latest; this step now does too.
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.
What does this PR do?
The step of
release-notes.ymlthat closes the milestone of a final release moves what is still open in it to the next milestone, and it looked for that milestone only among open milestones that have a due date. The open milestone27.1.1has none. I ran the filter of the step on the live milestone list with the data of today (26.12.1is number 2, due2026-12-02): it finds nothing, so on release day the step would fall through to the upstreammainversion. While upstreammainstill reads26.12.1(the same as the base), the step stops withthere is no next open milestone with a due dateand moves and closes nothing, and someone has to fix it by hand in the middle of the release.assign-milestone.ymlalready treats a missing due date as the latest one, so the two disagreed.The filter now takes an open milestone without a due date when no dated one follows, and sorts a missing date last. The comment above the step and the sentence in
development/release.adocsay the same.26.12.1(due 2026-12-02),27.1.1(no due date)27.1.1)26.12.1,27.1.1dated 2027-01-02, an undated oneI ran each row with
jq, the old and the new filter, on the live API output (row 1) or on the inline JSON of the row; the step is a shell step with no test file, and the filter is the only line that changed. Rows 2 and 3 are unchanged on purpose: the new filter must keep picking a dated milestone.Related issues
None. It follows from reading the release procedure for
26.12.1.Docs
development/release.adoc(the GitHub Release and milestone section) says it.Checklist
uvx pre-commit run --files <changed files>passes