Skip to content

Interactive integration tests fail on github when run with INTEGRATION_TEST_USE_INSTALLED_GEMINI #10517

@scidomino

Description

@scidomino

What happened?

Most integration tests run non-interactively, but we recently added a few that run interactively:

  • ctrl-c-exit.test.ts
  • context-compress-interactive.test.ts
  • file-system-interactive.test.ts

Both kinds of tests seem to run fine when we run them locally and as part of github actions.

We recently introduced modified the verify-release action to run the test with INTEGRATION_TEST_USE_INSTALLED_GEMINI. verify-release is used by the publish-release action affecting the following workflows:

  • release-nightly.yml
  • release-patch-3-release.yml
  • release-manual.yml
  • release-promote.yml
  • verify-release.yml

Since that time, we found that the runInteractive() tests seem to fail in github when run with INTEGRATION_TEST_USE_INSTALLED_GEMINI. See https://github.com/google-gemini/gemini-cli/actions/runs/18209196186/job/51846278972

Running locally with INTEGRATION_TEST_USE_INSTALLED_GEMINI, and running in github without INTEGRATION_TEST_USE_INSTALLED_GEMINI seems to work fine.

What did you expect to happen?

not

Client information

Client Information

Run gemini to enter the interactive CLI, then run the /about command.

> /about
# paste output here

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

Labels

priority/p0Critical and urgent (e.g., critical security vulnerability, major breakage).

Type

No fields configured for Bug.

Projects

Status
Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions