Implement migration for prerelease version handling in notifications#610
Merged
Conversation
…notes notification
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the release notes notification service to avoid prerelease builds “consuming” the stable release notification, and adds a one-time storage migration for users impacted by a prior 0.8.0-bugbash prerelease.
Changes:
- Skip showing release notes notifications (and skip updating stored state) when the current extension version is a prerelease (e.g.,
-beta,-preview,-bugbash). - Add a one-time
globalStatemigration to fix stored version values affected by a 0.8.0-bugbash prerelease. - Update Jest tests to reflect the new prerelease behavior.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| src/services/releaseNotesNotification.ts | Adds prerelease detection/short-circuit and a one-time migration to correct stored version state. |
| src/services/releaseNotesNotification.test.ts | Updates/expands unit tests for prerelease and migration-related behavior. |
…prerelease builds Agent-Logs-Url: https://github.com/microsoft/vscode-documentdb/sessions/3af84a77-d0b9-41a1-9d16-839fa05095e4 Co-authored-by: tnaum-ms <171359267+tnaum-ms@users.noreply.github.com>
4 tasks
Contributor
✅ Code Quality Checks
This comment is updated automatically on each push. |
Contributor
📦 Build Size Report
Download artifact · updated automatically on each push. |
sajeetharan
approved these changes
Apr 24, 2026
Merged
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.
No description provided.