Commit Graph

3078 Commits

Author SHA1 Message Date
mkorwel 82f2bd9b44 feat: add npm-run-all to dev dependencies
fix(e2e): add docker login to e2e workflow

The e2e tests were failing due to an authentication error when pulling the sandbox docker image. This was because the docker login step was missing from the e2e workflow.

This change adds the docker login step to the e2e workflow and also adds "npm-run-all" to the dev dependencies, which was missing and caused the linting to fail.
2025-10-23 22:10:38 -07:00
mkorwel cac05a838d fix(ci): Remove sandbox build from E2E test script
Removes the `npm run build:sandbox` command from the `test:integration:sandbox:docker` script. This prevents the E2E tests from attempting to rebuild the Docker image, which is now handled by a separate workflow. The tests will instead use the pre-built image specified by the `GEMINI_SANDBOX_IMAGE` environment variable.
2025-10-23 16:04:40 -07:00
mkorwel 4ee0820117 fix(ci): expand get-vars job and update dependencies in orchestrator
Expanded the `get-vars` job in `orchestrator.yml` to output `npm-registry-scope` and `npm-registry-url` in addition to `cli-package-name`. The `build-and-publish` and `e2e` jobs now correctly depend on `get-vars` and consume all three outputs, ensuring proper plumbing of environment variables for the Docker build.
2025-10-23 15:20:36 -07:00
mkorwel 070b74bb83 fix(ci): restore get-vars job to orchestrator workflow
Restores the `get-vars` job to the `orchestrator` workflow. This job was accidentally removed and is necessary for passing the `CLI_PACKAGE_NAME` to the `e2e` tests, which is required for the Docker build.
2025-10-23 15:14:08 -07:00
mkorwel 973573ef49 fix(ci): restore ci job to orchestrator workflow
Re-adds the `ci` job to the `orchestrator` workflow, which was
accidentally removed. The `e2e` job is also updated to correctly
depend on the `ci` job.
2025-10-23 14:42:29 -07:00
mkorwel 6f4c9a5317 fix(ci): correct workflow variable passing
- Adds explicit inputs for variables required by the reusable
  `build-and-publish` workflow.
- Updates the `orchestrator` workflow to pass these variables correctly.
- Removes a duplicated job from the `orchestrator` workflow.
2025-10-23 14:36:29 -07:00
mkorwel 247ac33265 fix(docker): grant write permissions for npm-global directory
Adds a `chown` command to the Dockerfile to grant the `node` user
write permissions to the `/usr/local/share/npm-global` directory.
This resolves an `EACCES` permission denied error during the `npm install -g`
step in the Docker build process.
2025-10-23 13:51:45 -07:00
mkorwel c9a3d28d99 refactor(ci): simplify sandbox build process
- Replaces the `build_sandbox.js` script with a direct `docker build`
  command in the `build-and-publish` workflow.
- Deletes the now-redundant `build_sandbox.js` and
  `sandbox_command.js` scripts.
- This makes the sandbox build process more transparent and removes
  unnecessary complexity.
2025-10-23 10:14:32 -07:00
mkorwel 6831c79c0a fix(ci): remove redundant npm install in sandbox build
Removes the unnecessary `npm install` step from the
`build-and-publish-sandbox` job. The Dockerfile is responsible
for installing the correct version of the package, so this step
was redundant.
2025-10-23 10:11:58 -07:00
mkorwel 14707b6d5e refactor(ci): consolidate sandbox build into publish workflow
- Moves the sandbox build and publish logic into the main
  `build-and-publish` workflow.
- The sandbox image is now built *after* the NPM package is published,
  and uses the published package.
- Removes the redundant `build-sandbox` and `release-sandbox` workflows.
- Updates the `orchestrator` workflow to reflect these changes.
2025-10-23 09:52:11 -07:00
mkorwel a4b05d8346 fix(ci): remove sandbox build from e2e workflow
Removes the sandbox image build step from the e2e workflow.
The e2e workflow will now consume a pre-built sandbox image,
separating the concerns of building and testing.
2025-10-23 09:48:19 -07:00
matt korwel 256ccd8d23 Merge branch 'main' into mk-bundling-no-npmrc 2025-10-23 09:38:54 -07:00
mkorwel dea79901a5 fix(release): update docker push action to use ghcr.io
Updates the release-sandbox workflow to use the push-docker action,
which is configured to push to ghcr.io.

Also updates the push-docker action to use `github.repository_owner`
as the username for ghcr.io login, which is the recommended practice.
2025-10-23 09:30:32 -07:00
shishu314 8ad72ec1ae fix(infra) - Remove context input for setting status (#11734)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-10-23 16:27:53 +00:00
Smetalo d3e4ff2cfc feat: Add lychee-action to check for broken links (#11781)
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-10-23 15:50:41 +00:00
christine betts 750c0e366f Add extension settings to be requested on install (#9802) 2025-10-23 15:47:08 +00:00
mkorwel 0d55843c4a incorporating docker into new orchestrator 2025-10-23 08:40:10 -07:00
cornmander bde5d61812 Re-enable test. (#11628) 2025-10-23 13:50:50 +00:00
Smetalo 5ae9fe6949 Fix broken links in documentation (#11789)
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-10-23 13:48:24 +00:00
jdgarrido1105 3f38f95b1d Adds executeCommand endpoint with support for /extensions list (#11515) 2025-10-23 13:05:43 +00:00
Smetalo 445ef4fbed Docs: Fix broken link in docs/cli/configuration.md (#11655) 2025-10-23 08:29:31 +00:00
Jainam M 5ebe40e919 refactor(cli): Parameterize tests in InputPrompt (#11776) 2025-10-23 06:24:44 +00:00
Keith Lyons 8e9f71b7a3 fix(ui): resolve race condition in double-escape handler (#8913)
Co-authored-by: Megha Bansal <megha.igit@gmail.com>
2025-10-23 04:40:29 +00:00
Tommaso Sciortino 1202dced73 Refactor KeypressContext (#11677) 2025-10-23 00:51:03 +00:00
Eric Rahm 047bc44032 refactor(core): Clean up exclude description (#11678)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-10-23 00:08:38 +00:00
Eric Rahm 92d412e542 refactor: simplify FilterReport and remove unused code (#11681)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-10-23 00:06:31 +00:00
mkorwel 7b83236ab2 fix(e2e): mock ClearcutLogger to fix test runner dependency 2025-10-22 16:17:23 -07:00
Sandy Tao d9f0b9c668 fix(cli): fix race condition and unskip tests in useGitBranchName (#11759) 2025-10-22 23:11:06 +00:00
JAYADITYA 8f8a689722 feat(preflight): Use venv for yamllint installation (#11694) 2025-10-22 22:58:04 +00:00
Sandy Tao a90b9fe977 fix(a2a-server): Fix and unskip GCS persistence test (#11755) 2025-10-22 22:57:34 +00:00
Jenna Inouye eee3452948 Docs: adds 2025-10-13 changelog. (#11751) 2025-10-22 22:02:55 +00:00
Sandy Tao 2ede47d5ee fix(ui): Fix and unskip InputPrompt tests (#11700) 2025-10-22 21:59:10 +00:00
shishu314 4f220e945a feat(infra) - Add logging for when user tries to exit multiple times (#11218)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-10-22 21:39:27 +00:00
mkorwel 30770bf362 refactor(ci): remove debug npmrc step from build-and-publish 2025-10-22 14:26:28 -07:00
mkorwel d83ecc4585 fix(ci): correct npm publish authentication in build-and-publish workflow 2025-10-22 14:20:36 -07:00
mkorwel 1da17999c7 linting 2025-10-22 14:01:32 -07:00
mkorwel 2797039239 fix: correct invalid workflow syntax in e2e 2025-10-22 13:39:29 -07:00
mkorwel e03dc0d603 fix: correct invalid workflow syntax in orchestrator 2025-10-22 13:36:32 -07:00
matt korwel 642adf350f Merge branch 'main' into mk-bundling-no-npmrc 2025-10-22 13:32:24 -07:00
mkorwel 6058c1be45 feat: address PR feedback
- Use reusable npmrc action in workflows
- Make package name dynamic in e2e tests
- Add rationale for configure-registry script
- Force orchestrator to run in dev environment
2025-10-22 13:31:07 -07:00
Tommaso Sciortino 30dd2f1dfe Document todo tool (#11695) 2025-10-22 20:27:10 +00:00
Abhi b40f67b76a extract console error to util func (#11675) 2025-10-22 20:09:10 +00:00
shishu314 a7faa2080f feat(infra) - Update status for chained e2e (#11651)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-10-22 20:01:02 +00:00
mkorwel f0541c35ac feat(ci): Parallelize linting and move to larger runner
This change parallelizes the linting tasks in package.json and moves the lint job to a larger runner for a significant performance improvement. It also fixes an infinite loop that was introduced during the refactoring.
2025-10-22 12:48:55 -07:00
mkorwel b255e904fd chore(ci): Optimize runner usage for lightweight jobs 2025-10-22 12:40:05 -07:00
mkorwel be08763cfa fix(ci): Pass GEMINI_API_KEY secret to E2E workflow 2025-10-22 12:34:19 -07:00
mkorwel dc2aa1ead7 fix: Centralize workflow concurrency in orchestrator 2025-10-22 12:27:39 -07:00
matt korwel ce0bed07c6 Merge branch 'main' into mk-bundling-no-npmrc 2025-10-22 12:19:52 -07:00
mkorwel b6887db096 fix: Safely restore .npmrc from backup 2025-10-22 12:19:23 -07:00
mkorwel a9834cc6c3 fixing url parsing 2025-10-22 12:16:45 -07:00