Skip to content

Conversation

@DanTup
Copy link
Member

@DanTup DanTup commented Sep 18, 2025

No description provided.

@DanTup DanTup added this to the v3.118.2 milestone Sep 18, 2025
@DanTup DanTup added is enhancement is bug fix in flutter Relates to running Flutter apps in commands Relates to commands (usually invoked from the command Palette) labels Sep 18, 2025
@DanTup DanTup requested a review from Copilot September 18, 2025 10:11
@gemini-code-assist
Copy link

It looks like you're trying to request a code review! To do so, please use either /gemini review or @gemini-code-assist review.

Also, please note that /codex review is not a command I support. If you'd like me to perform the review, please re-issue the command using the correct format.

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

This PR adds macOS support for automatically adding the SDK to PATH and fixes an issue where users were prompted about a missing SDK immediately after successful installation. The fix includes breaking out of the installation loop after successful SDK cloning and implementing platform-specific PATH modification for macOS.

  • Add automatic PATH modification support for macOS by detecting shell profiles (.bash_profile for bash, .zshenv for zsh)
  • Fix infinite loop issue where users were re-prompted about missing SDK after successful installation
  • Update platform detection logic to include macOS alongside existing Windows support

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/extension/sdk/utils.ts Adds labeled break to exit installation loop after successful SDK clone
src/extension/commands/add_sdk_to_path.ts Implements macOS PATH modification with shell profile detection and file writing

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

@DanTup
Copy link
Member Author

DanTup commented Sep 18, 2025

/gemini review
@codex review

@gemini-code-assist
Copy link

I've received your request for a code review via /gemini review and will proceed with that.

Just a friendly reminder that @codex review is not a command I support. Please use /gemini review or @gemini-code-assist review for future review requests.

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Hooray!

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, or 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 "@codex fix this CI failure" or "@codex address that feedback".

@DanTup
Copy link
Member Author

DanTup commented Sep 18, 2025

@gemini-code-assist I'm assuming you went for lunch and am merging this anyway 😄

@DanTup DanTup merged commit eb98cdc into master Sep 18, 2025
5 of 15 checks passed
@gemini-code-assist
Copy link

Thanks for the update, DanTup! I understand. Happy to see the progress! 😄

@DanTup DanTup deleted the macos-add-to-path branch September 18, 2025 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in commands Relates to commands (usually invoked from the command Palette) in flutter Relates to running Flutter apps is bug fix is enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants