Skip to content

use releasePlanSnapshot prop when available#11652

Open
thomasheartman wants to merge 1 commit intoheart/consolidate-milestone-strategy-crfrom
heart/push-pkrqokxmkloq
Open

use releasePlanSnapshot prop when available#11652
thomasheartman wants to merge 1 commit intoheart/consolidate-milestone-strategy-crfrom
heart/push-pkrqokxmkloq

Conversation

@thomasheartman
Copy link
Contributor

Use the releasePlanSnapshot property to render the diff of the release plan as it was at the moment of CR closure (application/rejection/cancellation). Also, strip this property from places where it'd show up in the diff.

This solves the problem of applied CRs with milestone strategy updates showing the current state of the release plan instead of the state when the CR was applied.

For instance, these two views show the same PR. Left is with these changes (and the accompanying enterprise updates), right is without them. The CR changed the rollout for the top two milestones, but didn't touch the third one (which was at 100%). After rejecting, I went and manually changed the rollout for milestone 3 to 36. Notice that the right one now erroneously shows 36, while the left one shows the expected 100.

image
@github-actions
Copy link
Contributor

github-actions bot commented Mar 19, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None
@thomasheartman thomasheartman force-pushed the heart/push-pkrqokxmkloq branch from 13ebf8d to 982c0aa Compare March 19, 2026 12:30
@thomasheartman thomasheartman force-pushed the heart/consolidate-milestone-strategy-cr branch from a0d6f4e to 9fbefdd Compare March 19, 2026 14:06
@thomasheartman thomasheartman force-pushed the heart/push-pkrqokxmkloq branch from 982c0aa to 80cf471 Compare March 19, 2026 14:06
@gastonfournier gastonfournier moved this from New to In Progress in Issues and PRs Mar 20, 2026
Copy link
Contributor

@dharmadeveloper108 dharmadeveloper108 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great to me!!

@github-project-automation github-project-automation bot moved this from In Progress to Approved PRs in Issues and PRs Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants