Skip to content

fix(temporary): Don't run ctrl+c exit test on windows#9785

Merged
bobcatfish merged 1 commit into
mainfrom
bobcatfish/fix-main-slow-win
Sep 25, 2025
Merged

fix(temporary): Don't run ctrl+c exit test on windows#9785
bobcatfish merged 1 commit into
mainfrom
bobcatfish/fix-main-slow-win

Conversation

@bobcatfish

Copy link
Copy Markdown
Contributor

TLDR

This test is failing on every PR and every run against main. Since we know this is broken, let's remove the noise and fix it. By allowing it to continue failing, we are potentially covering up new problems being introduced.

Dive Deeper

We should definitely follow up on this asap, either fixing it to pass on windows, determining that it doesn't need to (does ctrl c on windows even make sense? i'm not sure, it's been a while XD - does it copy?), or removing it if it's not necessary. In the meantime let's remove the noise.

Reviewer Test Plan

Well hopefully this will result in the e2e test suites all passing for this PR.

Testing Matrix

n/a

Linked issues / bugs

#9782 will track actually fixing the test

This test is failing on every PR and every run against main. Since we
know this is broken, let's remove the noise and fix it. By allowing it
to continue failing, we are potentially covering up new problems being
introduced.

We should definitely follow up on this asap, either fixing it to pass on
windows, determining that it doesn't need to (does ctrl c on windows
even make sense? i'm not sure, it's been a while XD - does it copy?), or
removing it if it's not necessary. In the meantime let's remove the
noise.
@bobcatfish bobcatfish requested a review from a team as a code owner September 25, 2025 22:15
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @bobcatfish, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request implements a temporary fix to reduce continuous integration noise by skipping a persistently failing Ctrl+C exit integration test on Windows. This measure ensures that other potential issues are not masked by the known failure, allowing for a clearer assessment of new changes. A dedicated issue has been opened to address the root cause of the Windows test failure in the future.

Highlights

  • Test Disablement: The Ctrl+C exit integration test is now temporarily disabled specifically for Windows platforms.
  • Noise Reduction: This change addresses a persistent test failure on Windows that was creating noise in CI runs and potentially hiding other issues.
  • Future Fix: A follow-up issue (ctrl-c-exit.test.ts is consistently failing for windows e2e #9782) has been created to track the proper investigation and resolution of the test's behavior on Windows.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

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

Copy link
Copy Markdown
Contributor

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 temporarily disables the 'Ctrl+C exit' integration test on Windows to address a consistent failure that is creating noise in CI. The change correctly uses vitest's it.skipIf with process.platform === 'win32' to conditionally skip the test. Including a comment that references the tracking issue (#9782) is an excellent practice for ensuring this temporary measure is addressed in the future. The change is straightforward, correct, and appropriate for its stated goal. I did not find any issues of high or critical severity.

@github-actions

Copy link
Copy Markdown

Size Change: -2 B (0%)

Total Size: 17.4 MB

ℹ️ View Unchanged
Filename Size Change
./bundle/gemini.js 17.4 MB -2 B (0%)
./bundle/sandbox-macos-permissive-closed.sb 1.03 kB 0 B
./bundle/sandbox-macos-permissive-open.sb 830 B 0 B
./bundle/sandbox-macos-permissive-proxied.sb 1.31 kB 0 B
./bundle/sandbox-macos-restrictive-closed.sb 3.29 kB 0 B
./bundle/sandbox-macos-restrictive-open.sb 3.36 kB 0 B
./bundle/sandbox-macos-restrictive-proxied.sb 3.56 kB 0 B

compressed-size-action

@bobcatfish bobcatfish added this pull request to the merge queue Sep 25, 2025
Merged via the queue into main with commit 8bf8707 Sep 25, 2025
18 checks passed
@bobcatfish bobcatfish deleted the bobcatfish/fix-main-slow-win branch September 25, 2025 22:42
geoffdowns pushed a commit to geoffdowns/gemini-cli that referenced this pull request Sep 26, 2025
dtometzki pushed a commit to dtometzki/gemini-cli that referenced this pull request Sep 26, 2025
thacio added a commit to thacio/auditaria that referenced this pull request Oct 4, 2025
giraffe-tree pushed a commit to giraffe-tree/gemini-cli that referenced this pull request Oct 10, 2025
@sripasg sripasg added the size/m A medium sized PR label Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/m A medium sized PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants