Skip to content

Ensure exposeUrl() always has a logger, and always call it open opening DevTools in a browser - #6051

Merged
DanTup merged 1 commit into
masterfrom
improve-expose-url-logging
May 12, 2026
Merged

DanTup merged 1 commit into
masterfrom
improve-expose-url-logging

Conversation

@DanTup

@DanTup DanTup commented May 12, 2026

Copy link
Copy Markdown
Member

Might help debug flutter/devtools#9827

@DanTup DanTup added this to the v3.136.0 milestone May 12, 2026
@DanTup DanTup added is enhancement An enhancement or improvement that should be listed in release notes but is not a bug fix. in remote Relates to running the extension in a remote setting using VS Code's remote dev support in devtools Relates to integration with Dart/Flutter DevTools labels May 12, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request makes the logger parameter mandatory for the exposeUrl and exposeWebViewUrls functions to improve troubleshooting for URL mapping issues. This change is propagated through various components, including the DevTools manager, sidebar providers, and property editors, ensuring consistent logging across the extension. I have no feedback to provide as there were no review comments to assess.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

View 2 additional findings in Devin Review.

Open in Devin Review

Comment thread src/extension/sdk/dev_tools/embedded_view.ts Outdated
@codecov

codecov Bot commented May 12, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 62.96296% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.51%. Comparing base (ca31853) to head (87b5760).

Files with missing lines Patch % Lines
src/extension/sdk/dev_tools/embedded_view.ts 0.00% 4 Missing ⚠️
src/extension/commands/debug.ts 0.00% 1 Missing ⚠️
...n/flutter/widget_preview/widget_preview_manager.ts 0.00% 1 Missing ⚠️
src/extension/sdk/dev_tools/manager.ts 80.00% 1 Missing ⚠️
src/extension/views/devtools/base_view_provider.ts 50.00% 1 Missing ⚠️
...ws/devtools/legacy_post_message_sidebar/sidebar.ts 66.66% 1 Missing ⚠️
src/extension/views/shared.ts 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6051      +/-   ##
==========================================
- Coverage   70.54%   70.51%   -0.04%     
==========================================
  Files         171      171              
  Lines       12971    12971              
  Branches     2589     2589              
==========================================
- Hits         9150     9146       -4     
- Misses       3334     3338       +4     
  Partials      487      487              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 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.

@DanTup
DanTup force-pushed the improve-expose-url-logging branch from e8c8784 to 87b5760 Compare May 12, 2026 17:43
@DanTup
DanTup merged commit 468cbc6 into master May 12, 2026
24 of 25 checks passed
@DanTup
DanTup deleted the improve-expose-url-logging branch May 12, 2026 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in devtools Relates to integration with Dart/Flutter DevTools in remote Relates to running the extension in a remote setting using VS Code's remote dev support is enhancement An enhancement or improvement that should be listed in release notes but is not a bug fix.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant