Add engagement-based Marketplace feedback prompt - #1702
Open
Stella Huang (StellaHuang95) wants to merge 2 commits into
Open
Add engagement-based Marketplace feedback prompt#1702Stella Huang (StellaHuang95) wants to merge 2 commits into
Stella Huang (StellaHuang95) wants to merge 2 commits into
Conversation
Prompt established users after successful environment selection or creation across distinct days, with a once-only Marketplace action. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f449e51d-c3f9-40cc-9e9d-1a24773e7712
Use concise, neutral language for the feedback notification. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f449e51d-c3f9-40cc-9e9d-1a24773e7712
Stella Huang (StellaHuang95)
requested review from
Eduardo Villalpando Mello (edvilme) and
Eleanor Boyd (eleanorjboyd)
August 7, 2026 21:21
Contributor
Author
Eduardo Villalpando Mello (edvilme)
approved these changes
Aug 8, 2026
| await handle.close(); | ||
| return true; | ||
| } catch (error) { | ||
| if ((error as NodeJS.ErrnoException).code === 'EEXIST') { |
Contributor
There was a problem hiding this comment.
Maybe add a comment explaining how the PROMPT_CLAIM_FILE logic works, I am guessing it checks if it exists, and if it doesn't, returns false; and when releasing, it removes it?
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.

Summary
Adds a one-time prompt inviting established Python Environments users to leave a review on the Visual Studio Marketplace.
The prompt uses neutral engagement and successful-workflow signals so it appears after repeated, intentional use rather than during initial setup or passive extension activation.
The notification contains one action: Review on Marketplace.
Prompt eligibility
The prompt is eligible only when all of the following conditions are met:
telemetry.feedback.enabledis enabled.Automatic discovery, initial environment resolution, cancelled pickers, and failed operations do not count as successful actions.
End-to-end flow
Once-only behavior
The prompt is claimed before it is displayed by creating an exclusive marker file in extension global storage.
This prevents multiple VS Code windows from displaying the prompt concurrently. The marker remains after either selecting the Marketplace action or dismissing the notification, so the prompt is not shown again.
If display conditions change while the marker is being claimed, such as the window losing focus, the claim is released so the prompt can be reconsidered later.
Data and privacy
The implementation stores only:
It does not store environment names, environment paths, project information, commands, or package information. No new telemetry is emitted by the prompt.
Scope
The implementation is intentionally limited to five files:
Terminal, task, package-management, discovery, and environment-manager internals are unchanged.
Testing