合并 master 并对齐客户端插件集成
Project CI / Frontend tests (pull_request) Failing after 2m26s
Project CI / Repository checks (pull_request) Failing after 2m35s
Project CI / Native shell tests (pull_request) Failing after 5m3s
Project CI / Backend tests (pull_request) Successful in 7m4s

合入 origin/master 的最新修改
保留 design-agent 资源包与 Windows 插件资源检查
同时保留登录态刷新和 Cocos 插件上下文入口
更新 Cocos 导入测试以适配运行模式查询
This commit is contained in:
2026-09-13 12:35:07 +08:00
129 changed files with 12993 additions and 236 deletions
+22
View File
@@ -321,4 +321,26 @@ describe('project CI workflow', () => {
expect(nativeJob).toContain('server-rs/Cargo.toml');
expect(nativeJob).toContain('cargo fetch --locked');
});
it('prefetches the excluded standalone Rust crates before the native shell gates', () => {
const standaloneStep = stepSection(
'native-shell-tests',
'Prepare standalone Rust crate dependencies',
);
for (const manifest of [
'server-rs/crates/agent-runtime-core/Cargo.toml',
'server-rs/crates/agent-runtime-orchestration/Cargo.toml',
]) {
expect(standaloneStep).toContain(manifest);
}
// 这两个 crate 没有提交 Cargo.lock,只能用不带 --locked 的 fetch:
// 带 --locked 会因为缺少锁文件直接失败。
expect(standaloneStep).toContain('cargo fetch \\');
expect(standaloneStep).not.toContain('cargo fetch --locked');
const nativeJob = jobSection('native-shell-tests');
expect(
nativeJob.indexOf('Prepare standalone Rust crate dependencies'),
).toBeLessThan(nativeJob.indexOf('run: npm run check:native-shells'));
});
});