Skip to content

Add unique ID generation for TreeNodeInfo and corresponding tests #19481

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

aasimkhan30
Copy link
Contributor

@aasimkhan30 aasimkhan30 commented May 23, 2025

Pull Request Template – vscode-mssql

Description

This PR fixes #19479
Previously when creating nodes in quick succession, Data.now() was returning the same millisecond value causing conflicts if 2 items have the same label under the same parent. using performance.now() is also a valid solution but, I am switching to guid as we don't need time specific information in the id as of now.

Code Changes Checklist

  • New or updated unit tests added
  • All existing tests pass (npm run test)
  • Code follows contributing guidelines
  • Telemetry/logging updated if relevant
  • No regressions or UX breakage

Reviewers: Please read our reviewer guidelines

Copy link

github-actions bot commented May 23, 2025

PR Changes

Category Main Branch PR Branch Difference
Code Coverage 58.32% 58.24% $${\color{lightgreen} -.08\% }$$
VSIX Size 15303 KB 15318 KB $${\color{lightgreen} 15 KB \space (0\%) }$$
Webview Bundle Size 3688 KB 3688 KB $${\color{lightgreen} 0 KB \space (0\%) }$$

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.

[Bug]: Enable Group By Schema not working
1 participant