Remove the retired copilot route migration from the PR dashboard state loader - #213
Open
trask wants to merge 1 commit into
Open
Remove the retired copilot route migration from the PR dashboard state loader#213trask wants to merge 1 commit into
trask wants to merge 1 commit into
Conversation
Pull request dashboard statusWaiting on maintainers · refreshed 2026-08-03 10:27 UTC Merge when ready. Status above doesn't look right?
|
Contributor
There was a problem hiding this comment.
Pull request overview
Removes obsolete migration logic for the retired copilot route now that dashboard state version 7 invalidates older records.
Changes:
- Removes
migrated_pr_recordand its unused import. - Removes the migration-specific test.
- Returns current-version PR records unchanged.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/scripts/pull-request-dashboard/state.py |
Removes obsolete route migration. |
.github/scripts/pull-request-dashboard/test_state.py |
Removes the corresponding migration test. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
mx-psi
approved these changes
Aug 3, 2026
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.
Remove
migrated_pr_record, which rewrote stored PR records whose route was the retiredcopilotroute. That migration existed only so #199 could keepDASHBOARD_STATE_VERSIONat 6 instead of bumping it and discarding every stored result. Every repository's dashboard state has since been rewritten by a refresh, andDASHBOARD_STATE_VERSIONis now 7, so no stored record can still carry the retired route. Fixes #202.