-
Notifications
You must be signed in to change notification settings - Fork 542
Add telemetry tracking for Data-Tier Application operations #20355
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
Draft
Copilot
wants to merge
28
commits into
main
Choose a base branch
from
copilot/vscode1761344504363
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
…rm.tsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: allancascante <755488+allancascante@users.noreply.github.com>
Co-authored-by: allancascante <755488+allancascante@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement improvements for data-tier application
Add telemetry tracking for Data-Tier Application operations
Oct 24, 2025
Copilot finished work on behalf of
allancascante
October 24, 2025 22:37
Base automatically changed from
dev/allancascante/data-tier-application
to
main
November 7, 2025 22:43
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.
Implements telemetry tracking for DACPAC/BACPAC operations (Deploy, Extract, Import, Export) to enable monitoring of operation success rates, durations, and failure patterns.
Changes
Telemetry enums (
src/sharedInterfaces/telemetry.ts)DataTierApplicationviewDeployDacpac,ExtractDacpac,ImportBacpac,ExportBacpacOperation tracking (
src/controllers/dataTierApplicationWebviewController.ts)startActivity()telemetryisNewDatabasefor Deploy,hasApplicationNamefor Extract)Test utilities (
test/unit/utils.ts)stubTelemetry()to stubstartActivitywith mock activity objectExample
Telemetry data includes operation timing, database context, and detailed error information for debugging production issues.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
update.code.visualstudio.com/usr/local/bin/node ./out/test/unit/runTest.js --grep DataTierApplicationWebviewController(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
implement this.
[Chronological Review: The conversation began with user requests for changes and improvements to the data-tier application in the vscode-mssql repository. The user expressed concerns about validation errors, connection handling, and user experience issues. The conversation progressed through various requests for refactoring, error handling, and telemetry implementation, with the user providing specific feedback on functionality and expected behavior.][Intent Mapping:
[Technical Inventory:
[Code Archaeology:
[Progress Assessment:
[Context Validation: All critical information for continuation is captured, including user requests for functionality, refactoring, and telemetry.]
[Recent Commands Analysis:
1. Conversation Overview: - Primary Objectives: User requested various improvements to the data-tier application, including simplifying operations, enhancing error handling, and implementing telemetry. - Session Context: The conversation flowed from initial requests for changes to detailed discussions about functionality, user experience, and code structure. - User Intent Evolution: The user’s needs evolved from general improvements to specific requests for refactoring and telemetry implementation.- Technical Foundation:
- TypeScript: Used for application development.
- React: Framework for building the UI components.
- VS Code API: Utilized for integrating with the VS Code environment.
- Codebase Status:
- dataTierApplicationForm.tsx:
- Purpose: Handles the UI for data-tier operations.
- Current State: Edits made to improve validation and user experience.
- Key Code Segments: Functions for handling form submissions and validation.
- dacFxService.ts:
- Purpose: Manages DAC operations.
- Current State: Needs review for connection handling logic.
- dataTierApplicationWebviewController.ts:
- Purpose: Controls the logic for the webview.
- Current State: R...
Created from VS Code via the GitHub Pull Request extension.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.