suzmii
|
cc6211fd41
|
修复 Backend 与 Native shell CI 回归并恢复完整测试门禁 (#209)
Project CI / Repository checks (push) Successful in 7m49s
Project CI / Backend tests (push) Successful in 9m56s
Project CI / Frontend tests (push) Successful in 8m24s
Project CI / Native shell tests (push) Successful in 19m18s
## 背景
这是一个独立的 CI 修复 PR,针对 Backend 与 Native shell 测试失败进行修复,不包含资源画布功能变更。
此前 CI 失败主要集中在:
- 后台精选素材契约测试初始化缺少来源素材字段。
- `spacetime-module` host 测试因缺少 SpacetimeDB WASM 宿主 ABI 符号而无法链接。
- Native shell 自主创作模式、runtime action、provider batch 和测试初始化之间存在状态机断言不一致。
- 部分失败测试曾被临时绕过,本 PR 恢复这些测试门禁。
## 变更内容
### Backend
- 补齐后台精选素材 payload 测试所需的来源素材字段。
- 增加 camelCase 序列化断言,防止 snake_case 字段泄漏。
- 调整 server-rs workspace 测试拆分:
- 普通 workspace host 测试继续排除 `spacetime-module`,避免其 `spacetime-types` feature 污染其他领域 crate 的 host 链接。
- 新增独立的 `spacetime-module` 单元测试步骤,不再跳过该模块自身测试。
- 为 host 测试构建提供仅测试期的 SpacetimeDB ABI 链接支持。
- 同步更新 CI workflow 断言、开发流程文档和运维验证文档。
### Native shell
- 恢复被临时跳过的 Native shell 失败测试门禁。
- 修复自主创作模式下的完成条件、runtime action 执行、provider batch 和 finalization 状态流转。
- 修正 Tauri/native 测试初始化、恢复流程及断言,使测试与实际运行时协议保持一致。
- 保持自主创作模式的宽松行为,不通过忽略测试规避失败。
## 验证
当前提交已完成以下本地验证:
- `cargo test --locked -p spacetime-module --no-fail-fast`
- 259 个测试
- 258 个通过
- 0 个失败
- 1 个已有的外部 fixture 测试 ignored
- `cargo check --locked -p spacetime-module --target wasm32-unknown-unknown`
- `cargo build --locked -p spacetime-module --target wasm32-unknown-unknown`
- `cargo check --locked -p api-server --all-targets`
- `npm run check:server-rs-ddd`
- `npm run check:spacetime-schema`
- `npm run check:encoding`
- `npm run test -- scripts/project-ci-workflow.test.ts`
- `cargo fmt --manifest-path server-rs/Cargo.toml --all -- --check`
- `git diff --check`
没有新增 `#[ignore]` 来规避失败。
## 测试边界说明
`spacetime-module` 的 host ABI 链接支持仅用于执行纯单元测试,不是 SpacetimeDB runtime 替身。Reducer、procedure 和真实数据库事务行为仍需要通过真实 SpacetimeDB runtime/integration harness 验证。
本机 Windows 上完整 workspace 测试中的 `wallet_refund_outbox` 测试仍有 11 项因 `os error 5(拒绝访问)`失败,表现为临时文件权限/锁定问题;该问题与本 PR 的 SpacetimeDB 模块测试改动无关,也没有通过忽略这些测试来掩盖。
Reviewed-on: http://192.168.35.82/git/GenarrativeAI/Genarrative/pulls/209
Co-authored-by: suzmii <suzmii@qq.com>
Co-committed-by: suzmii <suzmii@qq.com>
|
2026-08-31 10:53:30 +08:00 |
|
kdletters
|
c7442663f2
|
修复原生壳CI的Cargo依赖锁定
Project CI / Repository checks (push) Successful in 4m12s
Project CI / Native shell tests (push) Successful in 14m45s
Project CI / Frontend tests (push) Successful in 5m6s
Project CI / Backend tests (push) Successful in 6m6s
Native shell job 预取 server-rs、桌面壳和 AGC 壳依赖
AGC 的 platform-llm、shared-contracts 与壳测试统一使用 --locked
补充 workflow 回归断言及 CI 排障文档
|
2026-08-26 15:53:51 +08:00 |
|
kdletters
|
27de28a487
|
迁移 npm workspaces 统一依赖边界
根目录统一管理九个 workspace 与唯一 lockfile
迁移 CI、Jenkins 和容器的根目录单次 npm ci
补齐 hoist 兼容、版本校验与 workspace 门禁
同步依赖边界方案、运维文档和长期记忆
|
2026-08-22 13:17:26 +08:00 |
|
kdletters
|
46baebbc10
|
清理过期测试与门禁
Project CI / Repository checks (push) Successful in 3m8s
Project CI / Frontend tests (push) Successful in 3m26s
Project CI / Backend tests (push) Successful in 3m58s
Project CI / Native shell tests (push) Successful in 15m16s
删除退役内容校验、视觉小说墓碑脚本和旧玩法门禁文档
移除死别名与退役分支触发并同步当前文档入口
为Gitea和Jenkins补齐可信SpacetimeDB schema比较基线
补充workflow、schema和生产运维防回归测试
|
2026-08-21 12:20:43 +08:00 |
|
kdletters
|
0fc69c620a
|
修复Gitea仓库门禁依赖安装
Project CI / Repository checks (push) Successful in 2m21s
Project CI / Frontend tests (push) Successful in 3m6s
Project CI / Backend tests (push) Successful in 3m30s
Project CI / Native shell tests (push) Failing after 3h0m0s
- Repository checks 在运行 AGC AppSurface 前安装子包依赖
- 补充工作流依赖准备契约测试
|
2026-08-18 22:35:36 +08:00 |
|
kdletters
|
fd423770d8
|
根治Repository checks本地漏检
Project CI / Repository checks (push) Successful in 1m18s
Project CI / Frontend tests (push) Successful in 3m1s
Project CI / Backend tests (push) Successful in 4m17s
Project CI / Native shell tests (push) Failing after 12m32s
修复 Agent 失败展示变更中的 import 排序错误
统一 CI 与 master pre-push 的 Repository checks 入口
让 staged JS 和 TS 自动执行 ESLint 修复与 Prettier
补充部分暂存、忽略文件和待推 SHA 回归测试
同步分支保护与本地门禁流程文档
|
2026-08-12 22:06:35 +08:00 |
|
kdletters
|
9c2f02db25
|
增强 Gitea CI 网络稳定性
Project CI / Repository checks (push) Failing after 51s
Project CI / Native shell tests (push) Failing after 52s
Project CI / Frontend tests (push) Successful in 3m13s
Project CI / Backend tests (push) Successful in 3m46s
为所有 npm ci 增加整命令级有界重试。
补齐 AI 游戏创作 npm 与 Cargo 依赖缓存闭合验证。
更新可信 CI 镜像、缓存漂移告警和 Runner 运维文档。
记录 Actions Gateway CONNECT 断连崩溃的处理与验证边界。
|
2026-08-07 19:22:46 +08:00 |
|
menghao
|
62e0fe94ef
|
资源卡依赖关系及类型分类预览 (#129)
Project CI / Repository checks (push) Successful in 1m2s
Project CI / Frontend tests (push) Successful in 3m5s
Project CI / Backend tests (push) Successful in 3m41s
Project CI / Native shell tests (push) Successful in 13m7s
完成资源卡按类型和按依赖分类展现的功能
Reviewed-on: http://192.168.35.82/git/GenarrativeAI/Genarrative/pulls/129
Co-authored-by: menghao <mh18530625731@163.com>
Co-committed-by: menghao <mh18530625731@163.com>
|
2026-08-05 19:15:46 +08:00 |
|
AIGameCreator App
|
6bcd176bdf
|
合并 master 最新更新
Project CI / Frontend tests (push) Failing after 24s
Project CI / Repository checks (push) Failing after 43s
Project CI / Backend tests (push) Successful in 3m5s
Project CI / Native shell tests (push) Failing after 6m49s
合入 master 的 BgFilter、CI、运维与现役平台改造。
保留 AI 游戏创作 Runtime、独立锁文件与原生壳验证链路。
修复共享充值账单组件、LLM 网关与退役 Agent 兼容边界。
同步冲突文档、锁文件和开发脚本。
|
2026-07-27 18:28:26 +08:00 |
|
lhk229
|
a2ee879fc8
|
添加gfilter专用worker (#103)
Project CI / Repository checks (push) Successful in 1m3s
Project CI / Native shell tests (push) Successful in 2m26s
Project CI / Frontend tests (push) Successful in 2m0s
Project CI / Backend tests (push) Successful in 3m1s
Co-authored-by: kdletters <kdletters@qq.com>
Reviewed-on: https://git.genarrative.world/git/GenarrativeAI/Genarrative/pulls/103
Co-authored-by: Linghong <ink29535@proton.me>
Co-committed-by: Linghong <ink29535@proton.me>
|
2026-07-23 18:06:29 +08:00 |
|
kdletters
|
f92c1a6f43
|
稳定AI分支Cargo依赖准备
Project CI / Repository checks (push) Successful in 2m4s
Project CI / Frontend tests (push) Successful in 2m36s
Project CI / Backend tests (push) Successful in 4m23s
Project CI / Native shell tests (push) Failing after 8m52s
在后端测试前有界重试server-rs依赖fetch
在原生门禁前分别准备桌面壳和AI壳Rust依赖
保持测试与编译命令单次执行并继续暴露真实失败
|
2026-07-22 16:01:12 +08:00 |
|
kdletters
|
084543621b
|
优化AI游戏创作分支CI依赖准备
Project CI / Repository checks (push) Successful in 1m48s
Project CI / Frontend tests (push) Successful in 2m16s
Project CI / Backend tests (push) Failing after 47s
Project CI / Native shell tests (push) Failing after 10m15s
四个CI任务复用预构建工具链与下载缓存
直接从Gitea checkout并增加npm和Git网络重试
保留AI壳独立依赖安装测试与双Cargo锁门禁
|
2026-07-22 15:57:22 +08:00 |
|
kdletters
|
f4f7d8ac20
|
预热Gitea CI项目依赖缓存
Project CI / Repository checks (pull_request) Successful in 42s
Project CI / Frontend tests (pull_request) Successful in 1m6s
Project CI / Native shell tests (pull_request) Successful in 3m37s
Project CI / Backend tests (pull_request) Successful in 3m27s
将npm与Rust依赖下载缓存预热到固定CI镜像
改为直接从Gitea checkout并增加网络重试
收窄镜像构建上下文并补齐离线与运行时校验
同步Runner切换边界和运维文档
|
2026-07-22 15:44:40 +08:00 |
|
kdletters
|
2e02c28d0a
|
预构建Gitea CI工具链镜像
Project CI / Frontend tests (pull_request) Failing after 1m38s
Project CI / Repository checks (pull_request) Failing after 1m38s
Project CI / Native shell tests (pull_request) Failing after 13s
Project CI / Backend tests (pull_request) Failing after 3m23s
固定Node、Rust、Chrome与系统依赖并生成内容寻址镜像
四个CI任务改用genarrative-ci并保留独立npm ci
补充镜像构建装载导出和运行时沙箱校验脚本
同步开发运维文档与项目共享记忆
|
2026-07-22 14:58:05 +08:00 |
|
kdletters
|
017e956724
|
补齐AI原生CI浏览器依赖
Project CI / Frontend tests (push) Successful in 2m38s
Project CI / Repository checks (push) Successful in 2m56s
Project CI / Backend tests (push) Successful in 9m4s
Project CI / Native shell tests (push) Successful in 15m6s
通过 Google 官方签名 APT 源安装 headless Chrome
保持真实 DOM 与 Canvas smoke 不降级
同步 Gitea CI 运维要求和共享踩坑记录
|
2026-07-21 23:15:10 +08:00 |
|
kdletters
|
ae9502d9ed
|
稳定Gitea CI依赖安装
Project CI / Frontend tests (pull_request) Successful in 1m59s
Project CI / Repository checks (pull_request) Successful in 2m55s
Project CI / Native shell tests (pull_request) Successful in 6m38s
Project CI / Backend tests (pull_request) Successful in 7m37s
Project CI / Frontend tests (push) Successful in 1m44s
Project CI / Repository checks (push) Successful in 2m37s
Project CI / Native shell tests (push) Successful in 7m3s
Project CI / Backend tests (push) Successful in 8m5s
保留隔离 runner 的受控代理环境
为 Cargo 与 rustup 下载增加有界重试
记录 Runner systempaths 修补和真实 job 验收口径
|
2026-07-21 22:23:49 +08:00 |
|
kdletters
|
a273377b17
|
稳定AI原生壳全量测试
Project CI / Frontend tests (push) Successful in 2m47s
Project CI / Repository checks (push) Successful in 3m6s
Project CI / Backend tests (push) Successful in 10m25s
Project CI / Native shell tests (push) Failing after 15m34s
为 command.exec 沙箱测试安装受信任的 ripgrep
将共享后台锁的 Tauri suite 固定为单线程
同步 CI 调度与排障文档
|
2026-07-21 22:23:17 +08:00 |
|
kdletters
|
94ee363d84
|
补齐原生CI的merged-usr预检
Project CI / Frontend tests (push) Successful in 2m49s
Project CI / Repository checks (push) Successful in 3m24s
Project CI / Backend tests (push) Successful in 8m21s
Project CI / Native shell tests (push) Failing after 10m21s
按运行时代码动态复现 merged-usr 符号链接
避免 bubblewrap canary 因动态加载器路径误报失败
|
2026-07-21 22:03:01 +08:00 |
|
kdletters
|
5d045d532f
|
修复隔离CI的原生沙箱环境
Project CI / Native shell tests (push) Failing after 2m18s
Project CI / Frontend tests (push) Successful in 3m17s
Project CI / Repository checks (push) Successful in 3m56s
Project CI / Backend tests (push) Successful in 9m25s
为 rustup 引导和工具链安装增加有界重试
显式安装并预检 bubblewrap 沙箱能力
将 Node 与 Rust 工具暴露到受信任系统路径
记录 Runner systempaths 空切片修补与验收口径
|
2026-07-21 21:56:23 +08:00 |
|
kdletters
|
bf349a38a3
|
稳定隔离CI的Cargo依赖下载
Project CI / Frontend tests (push) Successful in 2m50s
Project CI / Backend tests (push) Failing after 3m1s
Project CI / Repository checks (push) Successful in 3m16s
Project CI / Native shell tests (push) Failing after 11m25s
关闭 Cargo HTTP multiplexing,降低代理链瞬时 TLS EOF 影响
将 Cargo 网络重试次数提高到 10 次
同步开发运维与共享工作流说明
|
2026-07-21 21:38:03 +08:00 |
|
kdletters
|
79b9404983
|
修正隔离CI的代理与提权流程
Project CI / Frontend tests (push) Successful in 3m2s
Project CI / Repository checks (push) Successful in 3m21s
Project CI / Backend tests (push) Failing after 3m36s
Project CI / Native shell tests (push) Failing after 11m16s
保留root任务的代理环境并为非root sudo透传受控代理
记录Gitea 1.26.4与rootless runner隔离部署
沉淀Docker socket和Compose路径排障经验
|
2026-07-21 21:28:14 +08:00 |
|
kdletters
|
5611b60d7f
|
修复原生CI命令路径
Project CI / Frontend tests (push) Failing after 3m0s
Project CI / Repository checks (push) Successful in 3m3s
Project CI / Backend tests (push) Successful in 7m22s
Project CI / Native shell tests (push) Failing after 10m18s
将setup-node的Node与npm映射到受信任系统目录
保持command.exec生产安全白名单不变
同步更新CI开发运维文档
|
2026-07-21 20:12:20 +08:00 |
|
kdletters
|
676c4beb60
|
补齐Gitea测试门禁
Project CI / Backend tests (push) Successful in 5m35s
Project CI / Native shell tests (push) Failing after 11m9s
Project CI / Repository checks (push) Successful in 2m23s
Project CI / Frontend tests (push) Successful in 2m16s
拆分前端、后端与原生壳测试任务
接入server-rs workspace正式全量测试
将AI游戏创作分支及独立依赖纳入CI
修复既有测试断言、格式与异步稳定性问题
稳定AI Tauri并发回执测试
更新开发运维和共享流程文档
|
2026-07-21 19:40:38 +08:00 |
|
kdletters
|
31a93c6842
|
补齐Gitea测试门禁
Project CI / Repository checks (push) Successful in 2m9s
Project CI / Frontend tests (push) Successful in 1m22s
Project CI / Backend tests (push) Successful in 7m25s
Project CI / Native shell tests (push) Successful in 5m56s
拆分前端后端与原生壳测试任务
接入server-rs正式workspace全量测试
修正过期Rust断言和Vitest遗漏路径
将AI游戏创作分支纳入CI触发范围
|
2026-07-21 18:12:43 +08:00 |
|
kdletters
|
7e58fd2195
|
接入Gitea项目检查门禁
Project CI / Repository checks (push) Successful in 3m56s
Project CI / Backend checks (push) Successful in 3m14s
Project CI / Native shell checks (push) Successful in 4m13s
新增 master 推送、PR 和手工触发的三路项目检查工作流
收紧 PR 基线、只读权限、action 固定版本与依赖锁漂移检查
补充 Gitea 版本、隔离 runner 和 required context 运维说明
|
2026-07-21 17:15:57 +08:00 |
|