Skip to content

fix(src): 修复密伶之径账号配置无法加载和保存 - #1987

Merged
jinghero merged 1 commit into
AUTO-MAS-Project:devfrom
jinghero:fix/src-secret-actor-1954
Nov 14, 2026
Merged

jinghero merged 1 commit into
AUTO-MAS-Project:devfrom
jinghero:fix/src-secret-actor-1954

Conversation

@jinghero

@jinghero jinghero commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

摘要

  • 补齐 SRC 的密伶之径,让已有账号正常读取、保存和升级后加载,保留原关卡选择。
  • 同步三语选项、当前关卡显示、备份预览和生成的 API 类型;页面选项与当前标签共用一份映射。

Closes #1954

验证

测试提交:d59515c3ee216f59d6969c53ac2ac076c9294cc8,Windows、Python 3.12.10,依赖由 uv.lock 锁定。

  • python -m pytest tests/task/test_src_stage_config.py -q:修复前 2 项失败,修复后 2 项通过。覆盖已有 YAML、旧 JSON 转换、配置输入输出、完整回传、修改其他字段后的保存、文件回读和重新加载;关卡始终保留原标识,包含原生来源且关闭覆写的账号。
  • 启用覆写后的配置下发探针通过:Dungeon.Name 和 NameAtDoubleRelic 均为 Cavern_of_Corrosion_Path_of_the_Secret_Actor。
  • python -m pytest tests -q:2087 通过、1 失败、1 跳过,另有 17 个子测试通过。唯一失败为 test_switch_preserves_user_data_and_confirms_complete_tree 的临时工作区清理断言;同一用例单独复跑通过。未修改基准 7af5238026204f0e827749e8b6c44a4557dc3d82 在相同依赖和环境下完整回归为 2086 通过、1 跳过、17 个子测试通过,也未复现该失败。未找到本次改动影响该清理链的路径;首次失败原因尚未确诊,保留该记录,不将全量检查描述为全部通过。
  • 前端 yarn test:361 项通过;yarn lint、yarn typecheck、yarn format:check 和 yarn audit:i18n --check 均通过。Lint 的队列组件默认值警告已在未修改的前端基准上复现。
  • Python 全仓格式、更新日志碎片和 uv lock --check 检查通过。

新增两条配置回归和三语组件渲染回归随实现保留。关卡组件由 861 行缩至 826 行,属于局部维护;保存遥测复用现有账号保存入口。

未运行真实游戏、完整浏览器交互或安装包验证。

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-14T06:43:41.846202Z d59515c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions github-actions Bot added 专项: SRC 类型: 修复 按更新日志碎片自动设置 labels Nov 14, 2026

Copy link
Copy Markdown
Contributor Author

总体结论:可以合并

宝宝,这次把密伶之径补回了现有配置链,没有靠重置关卡来绕过校验,修得对喵。旧配置加载、保存和下发使用同一个关卡标识;页面选项与当前关卡标签也共用一份映射,少了一处漏改的机会。

dot酱核对了相关源码和新增回归测试,没有发现必须修改项。这里是静态审查,未运行真实游戏;实际刷取仍由 SRC 负责。

—— 帮你守住原关卡选择的 dot酱敬上 🐾

@jinghero
jinghero merged commit 0da9739 into AUTO-MAS-Project:dev Nov 14, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

专项: SRC 类型: 修复 按更新日志碎片自动设置

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant