Repository navigation
feat(roadmap): every open p0 and p1 item sits in an open release (#882) - #1715
Merged
Merged
Conversation
15 tasks
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.
Task: Every Open P0 and P1 Item Sits in an Open Release (#882)
Issue: #882
Scope: scope/roadmap
Feasibility: Confirmed against board state and runtime transitions in
reprioritize.py. Backlog P0 and P1 placement rules operate on open planned releases without requiring remote API calls.Description
By the board's Priority field, open P0 and P1 items without milestones were previously left in the backlog indefinitely.
devops roadmap reprioritizenow ensures that every open P0 and P1 item that no person took out of a release sits in an open release.roadmap/reprioritize.py):nearest_planned_release(run, plan, base_version, limit)returns the nearest open planned release afterbase_versionholding fewer thanlimitopen items._sweep_backlog_priority): In every run, after_plan_rulesand_plan_start, sweeps backlog P0/P1 items in_Ranks.firstorder into the nearest open planned release holding fewer thanrelease_cap + release_slots(16) items, recording the move withReason.PRIORITYand eventPRIORITY_IN_BACKLOG._create_releaseand places the item there.TO_NEXTwithEvent.PRIORITY_NEW_AT_STARTandEvent.PRIORITY_BLOCKED_AT_START, rather than dropping to the backlog.Leftmark recorded at start.Acceptance Criteria
priorityreason comment. A P2 stays in the backlog.tests/test_roadmap_lifecycle_properties.py) gains invariant"priority_releases"asserting that after a finished run, every open P0/P1 item that no person took out of a release sits in an open release. The invariant count test is updated to 19.tests/test_roadmap_reprioritize.pyandtests/test_roadmap_lifecycle_properties.pypass.