Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更说明
相对上游
dou-jiang/codex-console,本 PR 主要补齐自动注册 / 自动补货相关能力,恢复首页可操作入口,并继续修复合并整理过程中发现的调度、取消、监控刷新、计划生成和前端恢复行为等问题,使整条链路更完整、更稳定。主要差异
新增
src/core/auto_registration.pyregistration_auto_*/registration/auto-monitortests/test_auto_registration_merge.pytests/test_settings_registration_auto_fields.py补充与修复
自动注册调度与补货执行
取消链路与状态一致性
failed而不是cancelled的问题completed/success/failed统计更新不正确的问题completed/progress的问题监控刷新与库存展示
0补货计划生成
build_auto_registration_plan()中cpa_service_id丢失导致的NameError前端页面恢复行为
sessionStorage残留导致页面加载后自动继续执行删除
tmp_app_core.jstmp_redirectToPage.js兼容性调整
lifespanConfig改为ConfigDictdatetime.utcnow()替换为兼容式 UTC 时间辅助函数测试与验证
已通过:
python -m pytest tests/test_auto_registration_merge.pypython -m pytest tests/test_settings_registration_auto_fields.py19 passedpython -m compileall src tests致谢
感谢
xbin-codex-console在自动注册 / 自动补货方向上的功能探索与实现积累。本次提交并不是简单搬运,而是基于其已有思路,对相对上游缺失的能力进行了重新梳理、合并修复与兼容整理,以便更接近上游协作和后续 PR 维护。AI 生成说明
本 PR 中的大部分代码合并与修复工作由 AI 辅助完成,包括差异分析、代码合并、缺失能力补齐、测试补充和说明文案整理。