Support CI.yml provisioning and updates with cli#14432
Open
skywing918 wants to merge 13 commits intomainfrom
Open
Support CI.yml provisioning and updates with cli#14432skywing918 wants to merge 13 commits intomainfrom
skywing918 wants to merge 13 commits intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new generate-ci-yaml CLI entry to js-sdk-release-tools to provision/update ci.yml (and related CI configuration) for JS packages, supporting the “brand-new SDK” workflow described in issue #13810.
Changes:
- Add a new Node CLI (
generate-ci-yaml) that infers version policy and invokes CI YAML creation/update. - Implement data-plane
ci.ymlcreate/update logic inciYamlUtils, including syncing exclusions fromci.mgmt.ymlwhen present. - Add a data-plane CI YAML template and expose the new CLI via
package.jsonbin.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 8 comments.
| File | Description |
|---|---|
| tools/js-sdk-release-tools/src/generateCiYamlCli.ts | New CLI wrapper to compute paths, detect version policy, and call CI YAML generator |
| tools/js-sdk-release-tools/src/common/ciYamlUtils.ts | Implements create/update for data-plane ci.yml and refactors CI YAML writing |
| tools/js-sdk-release-tools/src/common/ciYamlTemplates/ci.template.yml | New CI YAML template for data-plane ci.yml |
| tools/js-sdk-release-tools/package.json | Adds generate-ci-yaml to published bin commands |
… paths management
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…streamline path assignments
lirenhe
reviewed
Mar 19, 2026
lirenhe
reviewed
Mar 19, 2026
lirenhe
reviewed
Mar 19, 2026
lirenhe
reviewed
Mar 19, 2026
| import path from "path"; | ||
|
|
||
| const generateCiYamlCli = async ( | ||
| sdkRepoPath: string | undefined, |
Member
There was a problem hiding this comment.
will this CLI be used directly in inner loop? Need to confirm whether we had the agreement about the input/output of this too. Please check with Ray for more clarification.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#13810
generated ci.yml for ai agent.