Repository navigation
[SSR Agent] Issue Fix (21911): Add composite flag to packages/cli tsconfig - #28813
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request addresses a build failure in the root typecheck process caused by missing composite configuration in the CLI package. By enabling the composite flag and adding a dedicated verification script, the changes ensure that TypeScript project references are correctly resolved and maintainable. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
|
📊 PR Size: size/XS
|
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
There was a problem hiding this comment.
Code Review
This pull request formats the references array in evals/tsconfig.json, adds a new typecheck:verify script to package.json to run typechecking on the evals configuration, and enables the composite compiler option in packages/cli/tsconfig.json. I have no feedback to provide.
Note: Security Review has been skipped due to the limited scope of the PR.
|
You already have 7 pull requests open. Please work on getting existing PRs merged before opening more. |
🛑 Action Required: Evaluation ApprovalSteering changes have been detected in this PR. To prevent regressions, a maintainer must approve the evaluation run before this PR can be merged. Maintainers:
Once approved, the evaluation results will be posted here automatically. |
adamfweidman
left a comment
There was a problem hiding this comment.
address comment otherwise LGTM
39afd30 to
19fc918
Compare
…onfig $fixes google-gemini#21911 Original Issue: google-gemini#21911 ### Context & Problem Running the root build or typecheck process failed because `evals/tsconfig.json` references `../packages/cli`. However, `packages/cli` did not have `"composite": true` configured in its `tsconfig.json`, violating TypeScript's project references requirement. ### Detailed Changes - **packages/cli/tsconfig.json**: Enabled `"composite": true` under compilerOptions so it can be referenced by other TypeScript projects. - **evals/tsconfig.json**: Formatted the references block for project references. ### Verification - Verified that all TSConfigs are clean and correctly resolve. - Ran `npm run typecheck` and `npm run build` to verify full compilation.
19fc918 to
b0345ec
Compare
fixes #21911
Original Issue: #21911
Context & Problem
Running the root build or typecheck process failed because
evals/tsconfig.jsonreferences../packages/cli. However,packages/clidid not have"composite": trueconfigured in itstsconfig.json, violating TypeScript's project references requirement.Detailed Changes
"composite": trueunder compilerOptions so it can be referenced by other TypeScript projects."typecheck:verify": "tsc -b evals/tsconfig.json"to easily verify TypeScript project referencing and compilation.Verification