Commit Graph

283 Commits

Author SHA1 Message Date
mkorwel b4f6191704 ci: Set fail-fast to false for all matrix jobs
Updates the 'test_linux', 'test_mac', and 'test_windows' jobs in 'ci.yml' to explicitly set 'strategy.fail-fast' to 'false'.

This ensures that all matrix variations for each job will run to completion, even if one of the variations fails. This provides a more complete picture of test status across all supported Node.js versions.
2025-10-21 23:36:07 -07:00
mkorwel 2dde05deb0 refactor(ci): Move bundle size check to build workflow
Moves the bundle size check from a separate job in 'ci.yml' to a step within the 'publish-bundle' job in 'build-and-publish.yml'.

This is a more logical location for the check and completely resolves the race condition where the '.npmrc' file created by the bundle size job could interfere with parallel unit test jobs.
2025-10-21 23:28:22 -07:00
mkorwel 5b2ad83372 refactor(build): Remove redundant lint job and dependency
Removes the redundant 'lint' job from 'build-and-publish.yml'.

This job was duplicating the linting efforts now handled by the dedicated 'lint.yml' workflow. The 'publish-bundle' job no longer declares an internal dependency on 'lint', as the orchestrator workflow ensures linting is completed before calling 'build-and-publish'.
2025-10-21 22:44:53 -07:00
mkorwel 5e2d2ecf76 fix(lint): Set fetch-depth to 0 to ensure full git history
Updates the checkout step in the 'lint.yml' workflow to use 'fetch-depth: 0'.

This is necessary to prevent intermittent failures in the sensitive keyword linter, which requires a full git history to reliably compare the current branch against 'origin/main'.
2025-10-21 22:41:06 -07:00
mkorwel 5fa0e5520f fix(lint): Explicitly set fetch-depth to 1
Explicitly sets 'fetch-depth: 1' in the checkout step of the 'lint.yml' workflow.

This makes the default behavior of fetching only the most recent commit explicit for clarity and consistency with other jobs that perform shallow clones.
2025-10-21 22:37:35 -07:00
mkorwel 1a5742efec refactor(ci): Create reusable lint workflow and define dependencies
Creates a new reusable workflow, 'lint.yml', to handle all linting operations.

The main 'orchestrator.yml' is updated to use this new workflow. The dependency chain is now explicitly defined: 'lint' runs first, followed by 'build-and-publish' and 'ci' in parallel. The 'e2e' job remains dependent on 'build-and-publish'.

This change also removes the now-unused 'version' input from 'ci.yml' and corrects the 'bundle_size' job to use 'npm ci'.
2025-10-21 22:29:22 -07:00
mkorwel 56f1ffe14f refactor(ci): Use npm ci and remove published package install
Replaces the explicit GitHub Packages configuration and published package installation with 'npm ci' in the 'test_linux', 'test_mac', and 'test_windows' jobs within 'ci.yml'.

This streamlines the unit testing process by focusing on the source code dependencies and avoids misleadingly installing the published package in the unit test phase. The 'bundle_size' job retains its specific install as it requires the published artifact.
2025-10-21 22:23:36 -07:00
mkorwel e03570f99e fix(workflows): namespace concurrency groups
Prefixes the concurrency group names in 'ci.yml' and 'e2e.yml' with 'ci-' and 'e2e-' respectively.

This prevents the workflows from canceling each other out when they are triggered by the same orchestrator workflow, as the 'github.workflow' context variable was resolving to the same value for both.
2025-10-21 22:00:49 -07:00
mkorwel 33fc71b22e refactor(ci): centralize workflow permissions
Consolidates all job-level permissions into a single workflow-level block in 'ci.yml'.

This simplifies the workflow configuration and makes it easier to manage permissions. The workflow-level permissions now include all necessary permissions for the 'test_linux', 'test_mac', 'codeql', and 'bundle_size' jobs.
2025-10-21 21:54:38 -07:00
mkorwel f6727cc14f fix(workflows): Add packages:read permission and rename orchestrator
Adds 'packages: read' permission to the 'ci.yml' and 'e2e.yml' workflows. This is necessary to allow the jobs to download packages from the GitHub Packages registry, fixing the 403 Forbidden error during 'npm install'.

Also renames the 'orchestrator.yml' workflow from 'PR Checks' to 'Checks' for brevity.
2025-10-21 21:48:31 -07:00
mkorwel 2e0bf57e63 linting 2025-10-21 21:40:43 -07:00
mkorwel 27fceb9679 remove merge check 2025-10-21 21:29:37 -07:00
mkorwel a6c9eaabf6 Feat: Implement dynamic versioning and PR-based tagging for CI builds 2025-10-21 21:08:37 -07:00
mkorwel dc3072c597 Fix: Remove concurrency from orchestrator.yml to resolve deadlock 2025-10-21 20:54:49 -07:00
mkorwel f0ccf3e52d include githuboutput 2025-10-21 20:45:43 -07:00
mkorwel cc5ce59dca waht hwat 2025-10-21 20:40:27 -07:00
mkorwel 1eba9123de what 2025-10-21 20:38:19 -07:00
mkorwel 7226817a6b fix(ci): correct syntax in orchestrator permissions 2025-10-21 20:37:07 -07:00
mkorwel 111c598ed9 fix(ci): correct syntax in orchestrator permissions 2025-10-21 20:26:51 -07:00
mkorwel d66884a38b fix(ci): restore full explicit permissions to orchestrator 2025-10-21 20:25:47 -07:00
mkorwel 4155f7404b fix(ci): simplify orchestrator permissions to read-all 2025-10-21 20:23:56 -07:00
mkorwel 6038f48241 fix(ci): add all required read permissions to orchestrator 2025-10-21 20:20:02 -07:00
mkorwel af5b5d5ccc fix(ci): add actions:read permission to orchestrator 2025-10-21 20:18:51 -07:00
mkorwel 2530610a59 fix(ci): grant check and status write permissions to orchestrator 2025-10-21 20:17:20 -07:00
mkorwel 69f9bfb67b fix(ci): add permissions to orchestrator workflow 2025-10-21 20:13:05 -07:00
mkorwel 4955b470db orchestrator 2025-10-21 20:07:37 -07:00
mkorwel ff3398f297 feat(ci): Implement orchestrator workflow for unified build and test 2025-10-21 19:21:59 -07:00
mkorwel a28ff41a75 fix(ci): Add npmrc configuration to E2E workflow
This commit adds a step to the E2E workflow to create an .npmrc file and configure it with the necessary credentials for the GitHub Packages registry. This resolves the '401 Unauthorized' error that was occurring during the 'npm ci' step.
2025-10-21 18:46:31 -07:00
mkorwel 989352f557 feat: Add NOTICES.txt validation to CI workflow
fix: Update NOTICES.txt to reflect current dependencies
2025-10-21 16:35:56 -07:00
shishu314 f5e07d94bd fix(infra) - Fix how we download and upload repo names (#11613)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-10-21 20:33:54 +00:00
shishu314 3443946087 fix(infra) - Fix issues with downloading repo artifact (#11606)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-10-21 19:33:00 +00:00
Richie Foreman af833c5eff feat(release): Add dev env support to release-3-patch (#11458) 2025-10-21 19:04:21 +00:00
Richie Foreman 74a7771943 fix(ci): Default all GHA env variables to 'prod' set (#11572)
Co-authored-by: Shreya Keshive <shreyakeshive@google.com>
2025-10-21 19:02:48 +00:00
Shreya Keshive 193b4bba91 bump nightly test an hour (#11603) 2025-10-21 19:01:05 +00:00
shishu314 cb8f93bad7 Feat(infra) - Make chained e2e workflow run e2e tests (#11521)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-10-21 18:23:34 +00:00
cornmander 9d0177e0ce Use env variables in workflows (#11585) 2025-10-21 18:14:27 +00:00
Shreya Keshive f0eed9b221 Temporarily update nightly release schedule (#11573) 2025-10-21 14:12:39 -04:00
cornmander 0ed4f98087 Pin auth action in eval workflow (#11584) 2025-10-21 17:45:03 +00:00
matt korwel 14867c7c14 fix(workflow): Add missing comma in release-patch-0-from-comment.yml (#11588) 2025-10-21 10:38:30 -07:00
Richie Foreman 81772c4252 feat(release): Add dev support to patch2 workflow (#11460) 2025-10-21 03:09:27 +00:00
Shreya Keshive 30d9a336bc Update nightly workflow to create issues for scheduled run failures (#11531) 2025-10-20 20:12:13 +00:00
shishu314 085e5b1f4d feat(infra) - Add base files for deflake workflow (#11397)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-10-20 19:27:21 +00:00
shishu314 d52ec522f1 fix(infra) - Create an empty file to test trigger workflow for e2e (#11022)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-10-20 15:28:29 +00:00
Richie Foreman aa46eb4fd7 feat(release): Support dev/prod for release patch 1 (#11404) 2025-10-18 20:18:12 +00:00
Sandy Tao ff31a2224e fix(ci): use standard integration test command on windows (#11437) 2025-10-18 15:20:14 +00:00
shishu314 0b20f88fc0 fix(infra) - Make file system interactive test check only tool call (#11055)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-10-17 21:25:31 +00:00
matt korwel 6b866d1282 remove (#11310) 2025-10-16 13:14:52 -07:00
matt korwel de3632afc3 fork regulation testing (#11304) 2025-10-16 12:36:40 -07:00
shishu314 bec2bfcadb Revert "fix(infra) - Remove e2e maintainer label from e2e workflow" (#11292) 2025-10-16 12:14:09 -07:00
shishu314-alt 39cc07de30 fix(infra) - Remove e2e maintainer label from e2e workflow (#11028)
Co-authored-by: shishu314 <shishu_1998@yahoo.com>
2025-10-16 18:33:41 +00:00