Skip to content

Remove the retired copilot route migration from the PR dashboard state loader - #213

Open
trask wants to merge 1 commit into
open-telemetry:mainfrom
trask:remove-copilot-route-migration
Open

Remove the retired copilot route migration from the PR dashboard state loader#213
trask wants to merge 1 commit into
open-telemetry:mainfrom
trask:remove-copilot-route-migration

Conversation

@trask

@trask trask commented Aug 1, 2026

Copy link
Copy Markdown
Member

Remove migrated_pr_record, which rewrote stored PR records whose route was the retired copilot route. That migration existed only so #199 could keep DASHBOARD_STATE_VERSION at 6 instead of bumping it and discarding every stored result. Every repository's dashboard state has since been rewritten by a refresh, and DASHBOARD_STATE_VERSION is now 7, so no stored record can still carry the retired route. Fixes #202.

@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Aug 1, 2026

Copy link
Copy Markdown

Pull request dashboard status

Waiting on maintainers · refreshed 2026-08-03 10:27 UTC

Merge when ready.

Status above doesn't look right?
  • Just replied or pushed? Anything around or after the refresh time above may not be picked up yet — give it a few minutes.
  • Anything look wrong? Report it with what you expected; it helps us improve the dashboard.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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_record and 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.

@trask
trask marked this pull request as ready for review August 1, 2026 14:26
@trask
trask requested a review from a team as a code owner August 1, 2026 14:26
@trask
trask requested a review from maryliag August 1, 2026 14:26
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.

Remove the retired copilot route migration from the PR dashboard state loader

3 participants