Rework priority estimation GitHub action according to reach/impact/effort methodology #2615
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.
This PR completely reworks the priority estimation logic in the GitHub action to use a new reach/impact/effort methodology as specified in the project roadmap estimation documentation.
Changes Made
🔄 Updated Priority Calculation Formula
Before: Simple priority labels + days old
After: Reach/Impact/Effort methodology
📊 New Label Mappings
reach:high
(100),reach:medium
(75),reach:low
(50)impact:high
(200),impact:medium
(137.5),impact:low
(75)effort:high
(10),effort:medium
(5),effort:low
(2)🎯 Example Validation
The implementation correctly handles the example from the issue:
🛡️ Robust Fallback Logic
Testing
Created comprehensive test documentation with 15 test cases covering:
Example test cases:
reach:high
+impact:high
+effort:low
→ 10,000reach:low
+impact:low
+effort:high
→ 375All test cases have been validated locally and include step-by-step instructions for manual verification.
Files Modified
.github/workflows/priority-score.yml
- Updated action with new calculation logicpriority-estimation-tests.md
- Comprehensive test cases and validation guideThe action maintains full backward compatibility with the existing project board integration while providing more nuanced and accurate priority scoring.
Fixes #2614.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.