Commit Graph

226 Commits

Author SHA1 Message Date
mkorwel 03cfcfca0b fix(ci): restore non-bundle release path 2025-10-24 11:30:40 -07:00
mkorwel 48a04d2d2d chore: run preflight checks 2025-10-24 09:45:50 -07:00
mkorwel 7c81b1837e pr clean up 2025-10-24 09:02:32 -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
matt korwel 256ccd8d23 Merge branch 'main' into mk-bundling-no-npmrc 2025-10-23 09:38:54 -07:00
mkorwel 0d55843c4a incorporating docker into new orchestrator 2025-10-23 08:40:10 -07:00
JAYADITYA 8f8a689722 feat(preflight): Use venv for yamllint installation (#11694) 2025-10-22 22:58:04 +00: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
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
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
matt korwel 0542de95eb fix(release): Pass args to promoteNightlyVersion (#11666)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-22 09:45:42 -07:00
mkorwel 2513dd929d revert(ci): Remove incorrect .npmrc creation from prepare-github-release.js
Reverts the change that added .npmrc creation logic to 'scripts/prepare-github-release.js'.

This logic was incorrectly overwriting the .npmrc file that is correctly configured by the 'Configure npm for GitHub Packages' step in the 'build-and-publish.yml' workflow, leading to authentication failures during npm publish.

The workflow itself already handles the .npmrc creation correctly, and this revert ensures that the correct authentication token is preserved.
2025-10-22 00:46:39 -07:00
mkorwel 9856a67b4c fix(ci): Create .npmrc file for GitHub Packages publishing
Updates the 'prepare-github-release.js' script to create an '.npmrc' file in the root directory.

This ensures that the 'npm publish' command is properly authenticated with the GitHub Packages registry, preventing the 'ENEEDAUTH' error during the publish step.
2025-10-22 00:34:01 -07:00
mkorwel 46b1c59a47 feat(dev-experience): Automate npmrc configuration for dev vs prod
This PR introduces a new, automated workflow for developers to switch between the development (GitHub Packages) and production (npmjs.org) npm registries.

- A new script, , now automatically backs up and modifies the user's global  file.
-  has been updated with  and  scripts to run this new script.
-  has been updated to reflect this new, simplified, and automated process, removing all manual steps for the user.
2025-10-21 18:46:20 -07:00
mkorwel 5e58f5ea3c feat: Unify CLI bundling and publishing process
This commit unifies the bundling and publishing process for the CLI package across both npmjs.org and GitHub Packages.

- The  script has been updated to only rename packages for the GitHub registry, removing the bundle copying and package.json modification logic.
- The  has been modified to remove the  flag from the CLI publish step, ensuring the root package (which includes the bundled executable) is published.

This ensures a consistent, bundled artifact is published to both registries.
2025-10-21 18:46:20 -07:00
Sandy Tao cf16d1678d fix(scripts): add tsconfig linter to prevent adding files to the exclude list (#11602) 2025-10-21 20:08:33 +00:00
Richie Foreman 81772c4252 feat(release): Add dev support to patch2 workflow (#11460) 2025-10-21 03:09:27 +00:00
Richie Foreman 6786684962 fix(release): Update create-patch-pr.js to take a package name (#11400) 2025-10-17 19:02:44 +00:00
Richie Foreman 4a0fcd054b fix(scripts): Update get-release-version to use yargs parsing, handle a dynamically set package name (#11374) 2025-10-17 18:08:27 +00:00
Sandy Tao 991bd37362 fix(scripts): Improve deflake script isolation and unskip test (#11325) 2025-10-16 23:15:46 +00:00
DeWitt Clinton d2c9c5b35e Use Node.js built-ins in scripts/clean.js instead of glob. (#11286) 2025-10-16 18:24:30 +00:00
Richie Foreman 1fc3fc0a22 fix(ci): Fix a2a publishing (#11211)
Co-authored-by: mkorwel <matt.korwel@gmail.com>
2025-10-15 21:23:13 +00:00
Tommaso Sciortino f56a561f02 Fix and unskip flakey integration test in replace.test.ts (#11060) 2025-10-14 01:03:35 +00:00
Dongin Kim(Terry) 518caae62e chore: Extract '.gemini' to GEMINI_DIR constant (#10540)
Co-authored-by: Richie Foreman <richie.foreman@gmail.com>
2025-10-13 17:31:39 +00:00
shishu314 8d8a2ab64e Fix(doc) - Add section in docs for deflaking (#10750)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-10-08 21:21:02 +00:00
shishu314 603ec2b21b Add script to deflake integration tests (#10666)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-10-08 17:39:22 +00:00
Abhi 1a06282061 fix(lint): Fixes silent pass for formatting mistakes in gh ci (#10489) 2025-10-04 03:50:37 +00:00
shishu314 0c61653b34 fix(infra) - Add original PR number into hotfix branch (#10499)
Co-authored-by: Shi Shu <shii@google.com>
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-10-03 18:37:48 +00:00
Shreya Keshive 8149a4546e feat(lint): add sensitive keyword linter (#10488) 2025-10-03 17:25:28 +00:00
Shreya Keshive 667ca6d241 feat(ci): add ability to publish packages to private github registry for testing (#10348) 2025-10-03 15:41:32 +00:00
shishu314 f63561dce4 Update patch PRs with additional content (#10180)
Co-authored-by: Shi Shu <shii@google.com>
2025-10-02 20:21:37 +00:00
shishu314 0f465e88e8 fix(infra) - Add pr number to the release branch name for final step of release (#10364)
Co-authored-by: Shi Shu <shii@google.com>
2025-10-02 18:30:25 +00:00
Shreya Keshive f2aa9d283a fix(release): Fix promotion workflow (#10261) 2025-09-30 23:16:53 +00:00
shishu314 042288e72c fix(infra)- Add pr number to release branches (#9506)
Co-authored-by: Shi Shu <shii@google.com>
2025-09-29 17:14:53 +00:00
matt korwel 38dccf32c1 feat: Use PAT for gemini-cli-robot in release workflows (#9804)
Co-authored-by: Gal Zahavi <38544478+galz10@users.noreply.github.com>
2025-09-26 23:35:26 +00:00
matt korwel 9ba1640c07 Releasing: Version mgmt (#8964)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-09-25 04:02:00 +00:00
Keith Lyons 82625fc07a fix(pre-commit): improve monorepo handling and failure messaging (#9123)
Co-authored-by: matt korwel <matt.korwel@gmail.com>
2025-09-23 15:57:24 +00:00
Shreya Keshive 9abb165f7b refactor(vscode-ide-companion): Reduce VSIX size and improve build process (#9118) 2025-09-22 16:12:43 +00:00
Richie Foreman aba23feddd feat(CI): Add a github action to build the sandbox image and push to GHCR (#8670)
Co-authored-by: matt korwel <matt.korwel@gmail.com>
2025-09-20 14:19:03 +00:00
Tommaso Sciortino d0da1f5fc9 Rollback shrinkwrap (#8926) 2025-09-19 18:22:01 +00:00
joshualitt 7681c595b5 Revert "feat(third_party) Port get-ripgrep." (#8923) 2025-09-19 18:08:41 +00:00
joshualitt 6e4236bf76 feat(third_party) Port get-ripgrep. (#8514) 2025-09-19 15:13:28 +00:00
matt korwel 23467cdbdb Finalizing Patching End 2 End (#8906)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-09-19 05:39:38 -07:00
matt korwel 9f597ab7c0 robot input (#8901)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-09-19 04:07:26 -07:00
matt korwel c9b39c379b fix comment formatting (#8900)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-09-19 04:02:50 -07:00
matt korwel b08633daa3 Reset 2 (#8898)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-19 03:51:01 -07:00
matt korwel 5f5e07e6cc nailedit (#8896)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-09-19 03:27:47 -07:00
matt korwel 0fbc13aa4b hm (#8887)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-09-19 01:50:59 -07:00