Skip to content

Conversation

@fireairforce
Copy link

修复:

截屏2025-11-06 20 16 44

把这个当作 warning 抛出来而不是 error。

@gemini-code-assist
Copy link

Summary of Changes

Hello @fireairforce, 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!

此拉取请求旨在优化 Turbopack 处理 tsconfig 配置中 extends 字段解析失败的方式。之前,此类问题会导致构建中断并抛出错误。通过此更改,系统将改为发出警告,从而允许构建继续进行,同时仍能提醒开发者潜在的配置问题,提高了构建过程的容错性。

Highlights

  • tsconfig extends 错误处理: 将 tsconfigextends 字段解析失败时的严重性从错误 (Error) 级别降级为警告 (Warning) 级别。
Using Gemini Code Assist

The 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 /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize 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 .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. 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.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

这个 PR 将 tsconfig.jsonextends 字段无法解析时的问题级别从 Error 降级为 Warning。这是一个合理的改动,可以避免在某些情况下(例如,可选的配置文件不存在时)构建意外失败,从而提升了用户体验。代码变更简单明了,与 PR 的目标一致。

@fireairforce fireairforce merged commit 3c0fd0d into utoo Nov 6, 2025
13 of 26 checks passed
@xusd320 xusd320 deleted the fix-tsconfig-extends branch November 25, 2025 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants