Repository navigation
chore(AIAgents): update collaboration guidance #1418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,38 +2,30 @@ | |
|
|
||
| ## 项目与命令 | ||
|
|
||
| - 解决方案为 [BootstrapBlazor.Extensions.slnx](BootstrapBlazor.Extensions.slnx)。`src/components/` 按包组织 Razor 组件和服务,`src/extensions/` 包含数据访问、OPC、SignalR 等扩展,`src/middleware/` 包含服务端中间件。`test/` 按项目组织测试,例如 `UnitTestEditor`、`UnitTestHoliday` 和 `UnitTestSvgIcon`。 | ||
| - 从仓库根目录运行命令。CI 通过 `actions/setup-dotnet` 读取 `global.json`,按该文件选择 .NET 11 SDK。源码项目默认面向 `net6.0` 至 `net11.0`,测试和工具使用 `net11.0`。查看具体项目的引用及条件编译时,以项目文件和导入的配置为准。[SDK 配置](global.json) · [源码框架](src/Frameworks.props) · [测试配置](test/Directory.Build.props) · [单目标框架](Framework.props) · [工具配置](tools/Directory.Build.props) | ||
| - 本地构建整个解决方案用 `dotnet build BootstrapBlazor.Extensions.slnx`。按改动范围构建单个项目,例如 `dotnet build src/components/BootstrapBlazor.DriverJs`,需要聚焦某个框架时可加 `-f net11.0`。 | ||
| - 推送到 `master`、`main` 或 `dev` 时,`Build` 步骤当前没有命令,`Test` 步骤执行下列两条命令。以这三个分支为目标的 PR 工作流另执行 `dotnet test test/UnitTestEditor`。[推送工作流](.github/workflows/build.yml) · [PR 工作流](.github/workflows/auto-pull-request-checks.yml) | ||
| - 解决方案为 `BootstrapBlazor.Extensions.slnx`。组件、扩展和中间件分别位于 `src/components/`、`src/extensions/` 和 `src/middleware/`,测试项目位于 `test/`。 | ||
| - 按改动运行相关测试项目。CI 命令见[推送工作流](.github/workflows/build.yml)和[PR 工作流](.github/workflows/auto-pull-request-checks.yml)。 | ||
|
|
||
| ```text | ||
| dotnet test ./test/UnitTestEditor --collect:"XPlat Code Coverage" | ||
| dotnet test ./test/UnitTestHoliday --collect:"XPlat Code Coverage" | ||
| ``` | ||
| ## 术语 | ||
|
|
||
| ## 编码规范 | ||
|
|
||
| - **术语**。BootstrapBlazor 组件库简称 BB,BootstrapBlazor 组件简称 BB 组件,BootstrapBlazor.Extensions 简称 BB.Extensions。 | ||
| - **C#**。遵循 `.editorconfig` 和相邻文件的风格,优先使用文件范围命名空间,添加源文件时沿用文件头。源码启用可空引用类型和隐式 `using`。处理无效输入或已释放状态时可用早期返回,新增异步方法优先用 `Async` 后缀,保留已有公开签名和接口约定。[编辑器配置](.editorconfig) · [共享构建属性](Directory.Build.props) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ⚪ Low · Component abbreviation guidance is lost the updated glossary retains the Restore the From BootstrapBlazor 组件简称 BB 组件 |
||
| - **Razor**。沿用同一组件的 `.razor` 和 `.razor.cs` 分工,保留现有的参数、回调和生命周期约定。内联 `@code` 的组件将其放在标记之后。浏览器交互沿用组件已有的异步 JSInterop 入口,核对静态资源加载路径和初始化、释放时机。[组件自检](docs/agents/component-checklist.md) | ||
| - BootstrapBlazor 简称 BB | ||
| - BootstrapBlazor.Extensions 简称 BB.Extensions | ||
|
|
||
| ## AI 约束 | ||
|
|
||
| - 修改前阅读目标项目、相关源码和相近实现,复用现有能力,保留用户的已有改动和公开 API 行为。 | ||
| - 涉及参数、事件、服务注册或依赖时,以实际引用的版本、源码和生成的 API 文档为准。证据缺失时说明缺口,按任务范围处理。[依赖说明](docs/agents/dependencies.md) · [仓库技能](docs/agents/skills.md) | ||
| - 提交、推送以及操作 Issue / PR 时遵循用户授权与仓库流程。合并 PR 需要用户明确要求。[提交与 PR 指南](docs/agents/pr-guide.md) | ||
| - 协作说明使用简体中文,命令、标识符与技术术语保留原写法。报告实际执行的验证及结果,并说明未执行的适用检查。 | ||
| - 不使用 bootstrapblazor skill | ||
| - 改前先读相关源码和相近实现,沿用现有模式,只做任务所需的改动并保持公开 API 兼容。 | ||
| - 不主动引入 NuGet 包 | ||
| - 不修改 `Directory.Packages.props`(除非说明理由) | ||
|
|
||
| ## 测试约定 | ||
| ## 编码与测试 | ||
|
|
||
| - 按改动所对应的测试项目运行 `dotnet test <项目路径>`。公共测试配置使用 xUnit 和 `coverlet.collector`,`UnitTestEditor` 和 `UnitTestRegion` 的组件测试使用 bUnit。行为变更优先覆盖对外契约、边界和具体回归。[测试配置](test/Directory.Build.props) · [Editor 测试项目](test/UnitTestEditor/UnitTestEditor.csproj) · [Region 测试项目](test/UnitTestRegion/UnitTestRegion.csproj) | ||
| - `UnitTestSvgIcon` 包含解包及生成 Razor、SVG 文件的用例,运行前核对输出位置和任务范围。当前 CI 的测试步骤运行 .NET 测试,CodeEditor 的 npm 脚本用于构建 Monaco 静态资源。涉及 JavaScript 时,按改动核对模块加载和相关交互,必要时使用适用的 Blazor 宿主或最小复现。[图标测试源码](test/UnitTestSvgIcon/UnitTest.cs) · [CodeEditor 脚本配置](src/components/BootstrapBlazor.CodeEditor/package.json) · [复现指南](docs/repro.md) | ||
| - 遵循 `.editorconfig` 和相邻代码风格;C# 保持现有可空、命名空间及异步方法约定。Razor 沿用组件已有的代码分工、参数、回调和生命周期模式。 | ||
| - 不得为 JavaScript 脚本逻辑新增、修改或运行测试,也不得在 GitHub Actions 增加 JavaScript 测试;涉及 JavaScript 时可按需验证相关 C# 组件逻辑。 | ||
|
|
||
| ## 参考文档(按需读取) | ||
|
|
||
| - 排查依赖来源或版本约定时读 [依赖说明](docs/agents/dependencies.md),按已登记组件更新依赖时读 [bb-update](.agents/skills/bb-update/SKILL.md)。 | ||
| - 准备提交或 PR 时读 [提交与 PR 指南](docs/agents/pr-guide.md) 和 [提交信息模板](docs/agents/commit_msg_template.md)。创建、复用或更新 GitHub Issue / PR 时读 [bb-pr](.agents/skills/bb-pr/SKILL.md)。 | ||
| - 用户提示去除首尾空白后恰为 `review`、`代码审查` 或 `审查代码` 时,按 [快捷代码审查流程](.agents/skills/bb-review/SKILL.md) 执行。 | ||
| - 修改组件、服务、静态资源或打包行为时读 [组件自检](docs/agents/component-checklist.md)。 | ||
| - 接入仓库技能或查询发布包的 API 参考时读 [仓库技能](docs/agents/skills.md)。编写协作任务时可参考 [AI 协作提示词](.github/AI-TEAM-PROMPTS.md)。 | ||
| - 依赖来源与版本:[依赖说明](docs/agents/dependencies.md);更新已登记组件依赖:[bb-update](.agents/skills/bb-update/SKILL.md)。 | ||
| - 修改组件、服务、静态资源或打包行为:[组件自检](docs/agents/component-checklist.md)。 | ||
| - 提交与 PR:[提交与 PR 指南](docs/agents/pr-guide.md)、[提交信息模板](docs/agents/commit_msg_template.md)、[bb-pr](.agents/skills/bb-pr/SKILL.md)。 | ||
| - 提示去除首尾空白后恰为 `review`、`代码审查` 或 `审查代码` 时,按[快捷代码审查流程](.agents/skills/bb-review/SKILL.md)执行。 | ||
| - 接入仓库技能或查询发布包 API:[仓库技能](docs/agents/skills.md);AI 协作提示词见[团队提示词](.github/AI-TEAM-PROMPTS.md)。 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,19 @@ | ||
| # 提交信息模板 | ||
| # Git Commit Message Template | ||
|
|
||
| 常见标题为 `<type>(<scope>): <subject>`,其中 scope 用实际组件、工具或改动范围的名称。仓库也有省略 scope 的提交,改动集中在单个组件时优先写明组件名。 | ||
| ## 格式: | ||
|
|
||
| - `feat` 用于新增功能或按仓库惯例更新组件依赖。 | ||
| - `fix` 用于修复缺陷。 | ||
| - `doc` 用于文档改动,`test` 用于测试改动。 | ||
| - `refactor` 用于不改变对外行为的重构,`chore` 用于其他维护改动。 | ||
| `<type>(<scope>): <subject>` | ||
|
|
||
| ```text | ||
| feat(Dom2Image): update SnapDOM to v3.8.3 | ||
| fix(LLMsDocsGenerator): recognize BootstrapBlazor core repository | ||
| doc(Region): update documentation | ||
| ``` | ||
| ## 提交类型 (type) 说明 | ||
|
|
||
| 标题写明可核对的结果。依赖更新用上游库的版本号,组件自身的发布版本放在对应项目配置中。需要说明原因、兼容性或验证时可补写正文,只添加适用的 trailer。[依赖更新技能](../../.agents/skills/bb-update/SKILL.md) · [提交与 PR 指南](pr-guide.md) | ||
| - feat: 新增功能 | ||
| - fix: 修复缺陷 | ||
| - docs: 仅修改文档 | ||
| - style: 代码格式调整(不影响代码逻辑,如空格、分号) | ||
| - refactor: 代码重构(非新增功能也非修复缺陷) | ||
| - perf: 性能优化 | ||
| - test: 增加或修改测试 | ||
| - build: 影响构建系统或外部依赖(如 gulp、webpack、npm) | ||
| - ci: 修改 CI 配置文件或脚本(如 Jenkins、GitHub Actions) | ||
| - chore: 其他不修改 src 或 test 文件的变更 | ||
| - revert: 回滚上一次提交 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,43 @@ | ||
| # 组件、服务与资源自检 | ||
| # 组件规范与自检 | ||
|
|
||
| ## 公开契约 | ||
| 修改组件、参数及相关代码、样式、本地化或示例前必须读取本文件,并遵守根 `AGENTS.md`。 | ||
|
|
||
| - 核对项目边界。Razor 组件检查 `[Parameter]`、默认值、回调及生命周期,服务包检查公开接口、DI 注册方法和生命周期,中间件检查注册入口和请求行为。保留已有调用方式和所支持框架的行为。[DriverJs 组件](../../src/components/BootstrapBlazor.DriverJs/Components/DriverJs.razor.cs) · [Dom2Image 注册](../../src/components/BootstrapBlazor.Dom2Image/Extensions/ServiceCollectionExtensions.cs) · [中间件入口](../../src/middleware/BootstrapBlazor.Middleware/BootstrapBlazorApplicationBuilderExtensions.cs) | ||
| - XML 注释遵循 [BB 组件规范](https://github.com/dotnetcore/BootstrapBlazor/blob/main/docs/agents/component-checklist.md#参数与-api)。新增 API 时标记其所属扩展包计划发布的正式版本;修改已有 API 时保留其引入版本。 | ||
| ## 编码规范 | ||
|
|
||
| ## 浏览器资源与本地化 | ||
| ### C# | ||
|
|
||
| - 核对 `_content/<包名>/` 路径、Razor 模块入口、JS 导出和 CSS 加载。涉及互操作时检查初始化、更新和释放,在适用宿主上验证相关交互。[DriverJs Razor](../../src/components/BootstrapBlazor.DriverJs/Components/DriverJs.razor) · [DriverJs 模块](../../src/components/BootstrapBlazor.DriverJs/Components/DriverJs.razor.js) | ||
| - 已使用 `IStringLocalizer` 的组件沿用本地化机制,同步相应 `Locales` 资源并核对项目文件中的嵌入设置。样式修改核对组件使用的主题和第三方资源。[DriverJs 资源](../../src/components/BootstrapBlazor.DriverJs/Locales/) · [DriverJs 项目](../../src/components/BootstrapBlazor.DriverJs/BootstrapBlazor.DriverJs.csproj) | ||
| - 异步方法加 `Async` 后缀 | ||
| - 优先早期返回 | ||
| - 不提交 `Console.WriteLine` 到生产代码 | ||
|
|
||
| ## 文档、打包与验证 | ||
| ### Razor | ||
|
|
||
| - 使用方式变化时更新适用的包内 skill、文档或示例。新增项目时核对它在解决方案中的归属。涉及发布时检查项目元数据、静态资源和适用的打包配置。[解决方案](../../BootstrapBlazor.Extensions.slnx) · [包内技能打包目标](../../src/PackageSkills.targets) · [发布工作流](../../.github/workflows/release.yml) | ||
| - 构建改动涉及的项目,检查相关目标框架。已有测试可覆盖行为或回归时,选用对应测试项目。需要验证可见行为时提供适用的示例宿主或最小复现,并记录实际结果。[仓库命令](../../AGENTS.md) · [复现指南](../repro.md) | ||
| - `@code` 放末尾 | ||
| - 业务逻辑不写 UI 层 | ||
| - WASM 中的 JSInterop 使用异步 API | ||
|
|
||
| ### JavaScript 与 DOM | ||
|
|
||
| - 不直接操作 DOM(用 JSInterop) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 Medium · DOM 操作被错误禁止 When 贡献者为组件编写需要访问或操作 DOM 的 JavaScript 模块, 组件的 明确规则是 C# 组件不得直接操作 DOM,应通过 JSInterop 调用 JavaScript 模块;模块内可按需使用 DOM API。 |
||
| - 不提交 `console.log` 到生产代码 | ||
|
|
||
| ## 参数与 API | ||
|
|
||
| - 修改前阅读相关组件源码,遵循现有设计,避免破坏现有 API。 | ||
| - 新增公开类型和成员的 XML 注释使用中英文双语。`[Parameter]` 的注释也按此格式编写,分别用 `<para lang="zh">中文</para>` 和 `<para lang="en">English</para>`。 | ||
| - 在每个新增公开声明的 XML `<summary>` 中添加 `<para><version>正式版版本号</version></para>`。使用计划发布的正式版版本号,`<version>` 须为 `<para>` 的直接子元素。 | ||
| - XML 注释必须完整,以支持文档生成。 | ||
|
|
||
| ## 样式与本地化 | ||
|
|
||
| - 样式基于 Bootstrap 5,优先使用 CSS Variables,兼容现有主题。 | ||
| - 所有用户可见文本必须使用 `IStringLocalizer`,禁止硬编码中文/英文 UI 文本。 | ||
| - 增删资源键时同步检查 `src/BootstrapBlazor/Locales/` 和 `localization/`,保留其他组件仍使用的资源。 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 Medium · Component translations stay unsynchronized When a contributor adds, removes, or changes a localized resource key in a component package, the checklist points contributors to Direct contributors to synchronize the component-local |
||
|
|
||
| ## 修改后自检 | ||
|
|
||
| - [ ] 新增公开 API 的双语注释和版本标记完整。 | ||
| - [ ] 不引入新依赖;必要的依赖变更已说明原因。 | ||
| - [ ] 样式兼容主题,无硬编码 UI 字符串,本地化资源已同步。 | ||
| - [ ] 文档、示例已更新或确认无需更新。 | ||
| - [ ] 按根 [AGENTS.md 的测试约定](../../AGENTS.md#测试约定) 完成适用验证,准确记录未执行的检查。 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 Medium · Testing links do not navigate When a reader follows a testing-guidance link, the Update the links to use the current Also at |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,22 @@ | ||
| # 依赖布局与版本约定 | ||
| # 依赖说明 | ||
|
|
||
| ## .NET 项目 | ||
| 排查依赖源码、添加或更新依赖前必须读取本文件,并遵守根 `AGENTS.md`。 | ||
|
|
||
| - 包源在 `NuGet.Config`,当前配置包含 `nuget.org`。`src/Directory.Build.props` 导入框架列表,并定义默认组件包版本和 `BBVersion`。项目通常通过 `<PackageReference Include="BootstrapBlazor" Version="$(BBVersion)" />` 引用 BB。[NuGet 配置](../../NuGet.Config) · [源码共享属性](../../src/Directory.Build.props) · [DriverJs 项目](../../src/components/BootstrapBlazor.DriverJs/BootstrapBlazor.DriverJs.csproj) | ||
| - 第三方依赖查所属项目的 `PackageReference` 和条件 `ItemGroup`。TableExport 和 Html2Pdf 在各自项目中使用共享版本属性,同时为部分旧框架指定固定版本。评估变更时检查相关框架实际采用的引用,并区分依赖版本与组件发布包的 `<Version>`。[TableExport 项目](../../src/components/BootstrapBlazor.TableExport/BootstrapBlazor.TableExport.csproj) · [Html2Pdf 项目](../../src/components/BootstrapBlazor.Html2Pdf/BootstrapBlazor.Html2Pdf.csproj) | ||
| - 测试 SDK、xUnit 和覆盖率收集器由测试目录共享配置。bUnit 等测试专用引用按项目声明。[测试共享属性](../../test/Directory.Build.props) · [Editor 测试项目](../../test/UnitTestEditor/UnitTestEditor.csproj) | ||
| ## 依赖源码 | ||
|
|
||
| ## 前端资源 | ||
| 以下列出部分工程的主要依赖源码: | ||
|
|
||
| - Razor 类库将浏览器资源放在项目的 `wwwroot/` 或组件相邻的 `.razor.js` 等文件中。第三方发布产物与本仓库维护的 JSInterop 封装职责不同,改动前通过模块导入和组件加载路径确认影响范围。[DriverJs 模块](../../src/components/BootstrapBlazor.DriverJs/Components/DriverJs.razor.js) · [Dom2Image 模块](../../src/components/BootstrapBlazor.Dom2Image/wwwroot/dom2image.js) | ||
| - CodeEditor 有独立的 `package.json`、`package-lock.json` 和 Monaco 构建脚本。依赖声明、锁文件和静态产物的位置按该项目配置核对。[包配置](../../src/components/BootstrapBlazor.CodeEditor/package.json) · [锁文件](../../src/components/BootstrapBlazor.CodeEditor/package-lock.json) · [构建脚本](../../src/components/BootstrapBlazor.CodeEditor/scripts/build-monaco.mjs) | ||
| - `BootstrapBlazor.DriverJs`:[driver.js](https://github.com/nilbuild/driver.js) | ||
| - `BootstrapBlazor.Dom2Image`:[SnapDOM](https://github.com/zumerlab/snapdom) | ||
| - `BootstrapBlazor.TableExport`:[MiniExcel](https://github.com/mini-software/MiniExcel) | ||
| - `BootstrapBlazor.Html2Pdf`:[PuppeteerSharp](https://github.com/hardkoded/puppeteer-sharp) | ||
| - `BootstrapBlazor.EmbedPDF`:[EmbedPDF](https://github.com/embedpdf/embed-pdf-viewer) | ||
| - `BootstrapBlazor.CodeEditor`:[Monaco Editor](https://github.com/microsoft/monaco-editor) | ||
|
|
||
| 已登记组件的版本查询、发布产物提取、替换、验证和 PR 流程见对应技能。选择版本或新增依赖时,说明使用范围、目标框架兼容性和打包影响。[bb-update](../../.agents/skills/bb-update/SKILL.md) | ||
| 排查依赖问题时先确认所属项目,再查阅对应源码,不要仅根据调用方式猜测 API。具体版本及发布产物来源以项目配置和 [bb-update](../../.agents/skills/bb-update/SKILL.md) 为准。 | ||
|
|
||
| ## 依赖变更约束 | ||
|
|
||
| - 不主动引入新 NuGet 包,优先使用项目已有能力。 | ||
| - 不修改 `Directory.Packages.props`,除非说明原因。 | ||
| - 必要的依赖变更应说明用途、兼容性及对组件工程、示例工程的影响。 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,20 @@ | ||
| # 提交与 PR 指南 | ||
|
|
||
| ## 准备改动 | ||
| 创建分支、提交、推送、创建或更新 Issue / PR 前必须读取本文件,并遵守根 `AGENTS.md`。 | ||
|
|
||
| - 用 `git status --short --branch`、`git diff` 和 `git diff --cached` 核对分支及变更。提交范围以当前任务为准,保留已有工作区和暂存区内容。[提交信息模板](commit_msg_template.md) | ||
| - 用 `git remote -v` 核对仓库。GitHub 目标通常为 `BootstrapBlazor/BootstrapBlazor.Extensions`,base 以目标仓库的默认分支或用户指定的分支为准。分支准备、提交、推送和远端核验按仓库技能执行。[GitHub Issue 和 PR](../../.agents/skills/bb-pr/SKILL.md) | ||
| ## 分支与提交 | ||
|
|
||
| - 分支命名:`feature/xxx`、`fix/xxx`、`docs/xxx`。 | ||
| - 提交格式:`docs/agents/commit_msg_template.md` | ||
| - 提交前检查差异,仅包含当前任务相关改动,保留用户已有改动。 | ||
|
|
||
| ## Issue 与 PR | ||
|
|
||
| - 按任务选择仓库的 Issue 表单,先检查已有条目。缺陷应写明受影响组件、框架、复现步骤和预期行为,按需要附最小复现。[Issue 表单](../../.github/ISSUE_TEMPLATE/) · [复现指南](../repro.md) | ||
| - PR 正文保留 `Link issues`、`Summary By Copilot`、回归、风险、验证、打包与自检章节。是否关联或关闭 Issue 由任务意图决定,无对应 Issue 时按技能填 `N/A`。[PR 模板](../../.github/pull_request_template.md) · [Issue 与 PR 关联流程](../../.agents/skills/bb-pr/SKILL.md) | ||
| - 按实际差异说明修改内容、适用验证及其结果。手工验证未执行时保留相应复选框为空。涉及打包、文档或使用示例时核对模板中的相应条目。[组件自检](component-checklist.md) | ||
| - 准备合并时核对目标分支上适用的检查和审查结果。PR 工作流当前运行 `UnitTestEditor`,其他验证按改动范围补充。AI 合并 PR 需要用户明确要求。[PR 工作流](../../.github/workflows/auto-pull-request-checks.yml) | ||
| - 创建或更新 GitHub Issue / PR 时,优先遵循 `.agents/skills/bb-pr/SKILL.md`;该 skill 是当前仓库的唯一来源,各工具接入方式见 `skills.md`。 | ||
| - 先检查仓库近期提交、Issue、PR 惯例及 `.github/ISSUE_TEMPLATE/`,避免重复创建。 | ||
| - 创建或更新 PR 正文前,必须读取 `.github/pull_request_template.md`;若存在 `.github/PULL_REQUEST_TEMPLATE/`,也应检查适用模板。 | ||
| - 保留模板的标题、注释、清单和顺序,按实际改动填写。 | ||
| - PR 必须关联 Issue、描述修改点;UI 变更提供截图。 | ||
| - 记录实际执行的验证命令及结果;未运行的检查明确说明,不勾选尚未完成的项目。 | ||
| - AI 在本地编写和执行单元测试时,遵守根 [AGENTS.md 的测试约定](../../AGENTS.md#测试约定)。 | ||
| - PR 合并前须通过适用的 CI 检查。 |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Critical · GitHub workflows fail before running
When the push, PR, or release workflow runs after
global.jsonis deleted,actions/setup-dotnetstill receivesglobal.jsonasglobal-json-file, so SDK setup fails before the workflows can build, test, or publish.Provide a replacement SDK selection or update the affected workflows so
actions/setup-dotnetdoes not read the deleted file.From #1417: