You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(github-workflow): full release history for bucketing + milestone semver guard (#12188) (#12192)
Issue/PR bucketing resolved closedAt-to-release over a syncStartDate-floored sortedReleases, so every pre-floor closed item collapsed into the oldest in-window release (a v8.1.0 catch-all of 4133/7263 archived issues). Now fetch the full release history into the bucketing reference while keeping release-notes floored in syncNotes (no extra on-disk notes or SSR routes); maxReleases raised above the total release count.
Also guard the milestone-to-version branch with semver.valid so descriptive milestones no longer become garbage version folders; they fall through to closedAt-to-release.
Co-authored-by: tobiu <tobiasuhlig78@gmail.com>
// No silent truncation: warn if the safety cap was hit before history was exhausted.
148
+
if(hasNextPage&&allReleases.length>=maxReleases){
149
+
logger.warn(`⚠️ Hit maxReleases cap (${maxReleases}) before exhausting the release history; the oldest releases are missing from the bucketing reference. Raise issueSyncConfig.maxReleases.`);
150
+
}
151
+
152
+
// Sort the COMPLETE set ascending. Both the release map and the bucketing reference span the
153
+
// full history; release-NOTES are floored by syncStartDate in syncNotes, so this wide set
154
+
// never reaches disk as extra notes or SSR routes.
0 commit comments