Skip to content

Conversation

@DanTup
Copy link
Member

@DanTup DanTup commented Oct 13, 2025

Starting with the slow iOS wireless debugging warning.

Fixes #5730

Starting with the slow iOS wireless debugging warning.

Fixes #5730
@DanTup DanTup added this to the v3.122.0 milestone Oct 13, 2025
@DanTup DanTup added is enhancement in flutter Relates to running Flutter apps in debugging Relates to the debug adapter or process of running debug sessions labels Oct 13, 2025
@DanTup DanTup requested a review from Copilot October 13, 2025 12:49
@DanTup
Copy link
Member Author

DanTup commented Oct 13, 2025

@codex review
/gemini review

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Adds UI support for showing app-issued warnings from Flutter debug sessions, starting with the iOS wireless debugging performance warning. Persists “Don’t Show Again” per-warning suppression in global state.

  • Handle new debug event "app.warning" to display a VS Code warning with optional “More Info” link
  • Add "Don't Show Again" action and persist per-warning suppression via globalState
  • Introduce context getters/setters for app warning suppression

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/shared/vscode/workspace.ts Adds getters/setters to persist “don’t show again” flags for app warnings.
src/shared/constants.ts Introduces new action label doNotShowAgainAction.
src/extension/commands/debug.ts Handles "app.warning" event: shows a warning, opens optional URL, and persists “Don’t Show Again”.

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

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

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 adds support for displaying application warnings from Flutter within VS Code. The changes are well-structured, introducing a new event handler for app.warning, a constant for the 'Don't Show Again' action, and context methods to persist user preferences. My review includes a suggestion to improve the robustness of the new event handler by adding validation for incoming data and enhancing error logging.

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Another round soon, please!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting

@DanTup DanTup merged commit 3d56587 into master Oct 13, 2025
17 checks passed
@DanTup DanTup deleted the show-app-warnings branch October 13, 2025 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in debugging Relates to the debug adapter or process of running debug sessions in flutter Relates to running Flutter apps is enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wish to inform the user to prefer USB over WiFi when developing against an iOS 26 device

2 participants