Skip to content

PM-5447: Validate phase shortening after schedule recalculation#128

Merged
jmgasper merged 1 commit into
developfrom
PM-5447
Jun 25, 2026
Merged

PM-5447: Validate phase shortening after schedule recalculation#128
jmgasper merged 1 commit into
developfrom
PM-5447

Conversation

@jmgasper

Copy link
Copy Markdown
Contributor

What was broken
Active development challenges with shortened phase durations could fail when the schedule was moved from a scheduled launch time to immediately. Dependent phases shifted earlier with the rest of the schedule, but the update could be rejected as if a non-Design phase duration had been shortened.

Root cause (if identifiable)
Phase shortening validation ran against raw incoming phase end dates before predecessor-derived scheduled start dates were recalculated. For dependent phases, the validator compared the new end date against the old start date and misclassified a whole-schedule shift as a duration reduction.

What was changed
Moved schedule-shortening validation to run after phase dates are recalculated, using the effective scheduled start and end dates that will be persisted. Removed the now-unused raw request date resolution helpers.

Any added/updated tests
Added a phase helper regression test covering active non-Design dependent phases moving earlier with unchanged duration.

What was broken
Active development challenges with shortened phase durations could fail when the schedule was moved from a scheduled launch time to immediately. Dependent phases shifted earlier with the rest of the schedule, but the update could be rejected as if a non-Design phase duration had been shortened.

Root cause (if identifiable)
Phase shortening validation ran against raw incoming phase end dates before predecessor-derived scheduled start dates were recalculated. For dependent phases, the validator compared the new end date against the old start date and misclassified a whole-schedule shift as a duration reduction.

What was changed
Moved schedule-shortening validation to run after phase dates are recalculated, using the effective scheduled start and end dates that will be persisted. Removed the now-unused raw request date resolution helpers.

Any added/updated tests
Added a phase helper regression test covering active non-Design dependent phases moving earlier with unchanged duration.
@jmgasper jmgasper merged commit 6de37fd into develop Jun 25, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant