Skip to content

Conversation

@iceweasel-oai
Copy link
Contributor

@iceweasel-oai iceweasel-oai commented Nov 13, 2025

  • stop prompting users to install WSL
  • prompt users to turn on Windows sandbox when auto mode requested.
Screenshot 2025-11-17 110612 Screenshot 2025-11-17 110637 Screenshot 2025-11-17 110719

Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ 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 "@codex address that feedback".

@iceweasel-oai
Copy link
Contributor Author

@codex review

Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ 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 "@codex address that feedback".

@iceweasel-oai
Copy link
Contributor Author

@codex review

Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ 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 "@codex address that feedback".

Comment on lines 1465 to 1544
if cfg!(target_os = "windows") {
set_windows_sandbox_enabled(false);
chat.config.forced_auto_mode_downgraded_on_windows = true;
}
chat.open_approvals_popup();
Copy link
Contributor

Choose a reason for hiding this comment

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

P2 Badge Serialize Windows sandbox flag tests

The new test approvals_popup_includes_windows_sandbox_note_for_auto_mode (lines 1462‑1499) toggles the process‑global Windows sandbox flag via set_windows_sandbox_enabled(false/true) to simulate different environments. Because the file has no synchronization (no serial_test::serial, no mutex, etc.), this mutable global state is shared with every other test in the same crate. On Windows these tests run in parallel by default, so this test (and startup_prompts_for_windows_sandbox_when_auto_requested at lines 1545‑1556, which does the same) can interleave, leaving the sandbox flag in the wrong state and making the assertions flaky. Please serialize these tests or otherwise guard the global flag so they don't interfere with each other.

Useful? React with 👍 / 👎.

Copy link
Collaborator

@dylan-hurd-oai dylan-hurd-oai left a comment

Choose a reason for hiding this comment

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

cc @pakrym for some thoughts here, I feel like we're managing config and the actual behavior separately which breaks down for the app-server

@iceweasel-oai iceweasel-oai force-pushed the dev/iceweasel/windows-sandbox-nux branch from 93a4104 to 7b3af7a Compare November 14, 2025 19:15
Copy link
Collaborator

@dylan-hurd-oai dylan-hurd-oai left a comment

Choose a reason for hiding this comment

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

1 more comment about abstractions

Copy link
Collaborator

@dylan-hurd-oai dylan-hurd-oai left a comment

Choose a reason for hiding this comment

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

1 comment about macros, otherwise LGTM

use uuid::Uuid;

#[test]
#[ignore = "timing out"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

is this consistently timing out?

self.chat_widget.open_windows_sandbox_enable_prompt(preset);
}
AppEvent::EnableWindowsSandboxForAuto { preset } => {
#[cfg(target_os = "windows")]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we use if (cfg(windows)) here instead?

@iceweasel-oai iceweasel-oai merged commit 4bada5a into main Nov 18, 2025
25 checks passed
@iceweasel-oai iceweasel-oai deleted the dev/iceweasel/windows-sandbox-nux branch November 18, 2025 19:38
@github-actions github-actions bot locked and limited conversation to collaborators Nov 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants