Skip to content

Conversation

@aasimkhan30
Copy link
Contributor

@aasimkhan30 aasimkhan30 commented Dec 9, 2025

Pull Request Template – vscode-mssql

Description

Enables call stack and prepare connection profile before initializing table designer and schema designer and making sure we are handling initialization failures properly
Issue: #20763

image image

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

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

PR Changes

Category Target Branch PR Branch Difference
vscode-mssql VSIX 5274 KB 5274 KB ⚪ 0 KB ( 0% )
sql-database-projects VSIX 5668 KB 5668 KB ⚪ 0 KB ( 0% )

@codecov-commenter
Copy link

codecov-commenter commented Dec 9, 2025

Codecov Report

❌ Patch coverage is 56.25000% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 65.84%. Comparing base (c974cb7) to head (87eea0a).
⚠️ Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
...rc/tableDesigner/tableDesignerWebviewController.ts 50.00% 7 Missing ⚠️

❌ Your patch status has failed because the patch coverage (56.25%) is below the target coverage (70.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #20753      +/-   ##
==========================================
- Coverage   65.84%   65.84%   -0.01%     
==========================================
  Files         210      210              
  Lines       19887    19892       +5     
  Branches     2577     2578       +1     
==========================================
+ Hits        13095    13098       +3     
- Misses       6695     6697       +2     
  Partials       97       97              
Files with missing lines Coverage Δ
.../schemaDesigner/schemaDesignerWebviewController.ts 89.68% <ø> (ø)
...src/schemaDesigner/schemaDesignerWebviewManager.ts 97.61% <100.00%> (ø)
...nsions/mssql/src/sharedInterfaces/tableDesigner.ts 100.00% <ø> (ø)
...rc/tableDesigner/tableDesignerWebviewController.ts 79.50% <50.00%> (-0.63%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Aasim Khan added 6 commits December 9, 2025 12:23
…on and connection preparation

- Introduced error messages for loading Schema Designer and retry options.
- Enhanced error handling in SchemaDesignerStateProvider and TableDesignerWebviewController.
- Updated locConstants for new error messages.
@aasimkhan30 aasimkhan30 changed the title Fixing schema designer and table designer profiles before initial. Fixing schema designer and table designer profiles before init Dec 10, 2025
Benjin
Benjin previously approved these changes Dec 10, 2025
@aasimkhan30 aasimkhan30 merged commit a77329a into main Dec 10, 2025
3 checks passed
@aasimkhan30 aasimkhan30 deleted the aasim/feat/sdTelemetry branch December 10, 2025 21:06
aasimkhan30 added a commit that referenced this pull request Dec 10, 2025
* Adding telemetry and prepare conn profile to table designer and schema designer.

* remove dup confirmTokenValidity call.

* Fixing ordering

* Fixing tests

* Add error handling and user feedback for Schema Designer initialization and connection preparation

- Introduced error messages for loading Schema Designer and retry options.
- Enhanced error handling in SchemaDesignerStateProvider and TableDesignerWebviewController.
- Updated locConstants for new error messages.

* Fixed

* Fixing rpc registration.

* Fixing lint issues.

* fixed name

* Adding more error handling and fixng message.

* Added loc

* Fixing error telemetry

* Made dialogs conditional.

---------

Co-authored-by: Aasim Khan <[email protected]>
Benjin pushed a commit that referenced this pull request Dec 11, 2025
… (#20776)

* Adding telemetry and prepare conn profile to table designer and schema designer.

* remove dup confirmTokenValidity call.

* Fixing ordering

* Fixing tests

* Add error handling and user feedback for Schema Designer initialization and connection preparation

- Introduced error messages for loading Schema Designer and retry options.
- Enhanced error handling in SchemaDesignerStateProvider and TableDesignerWebviewController.
- Updated locConstants for new error messages.

* Fixed

* Fixing rpc registration.

* Fixing lint issues.

* fixed name

* Adding more error handling and fixng message.

* Added loc

* Fixing error telemetry

* Made dialogs conditional.

---------

Co-authored-by: Aasim Khan <[email protected]>
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.

5 participants