已关闭
[issue] `resume --run <ID>` 缺省按 standard 重算 plan,对 minimal 事务报误导性错误 #38
cezarbbb创建于  9月16日关闭于  9月17日
cezarbbb
9月16日 创建
name about title labels
BotForge 问题单 报告 BotForge 中可复现的问题 [Issue] resume --run <ID> 缺省按 standard 重算 plan,对 minimal 事务报误导性 "configuration or plan changed" bug

问题概述

resume --run <ID> 缺省按 standard profile 重算 plan,对 minimal 事务报误导性 "configuration or plan changed"。首次出现:本版(botforge-win 1.0.3 升级测试)新发现。受影响安装场景:minimal 事务中断后的恢复操作。实际影响:按直觉用法恢复失败且错误信息误导;正确用法是 resume <profile> --run <ID>(显式指定原 profile)。注意与 Linux 侧 OBS-3(journal 累积)为不同问题,仅编号相同。

影响范围

项目 内容
执行模式 □ plan □ install □ status □ doctor(resume 子命令,不在上述模式内)
受影响的工具、资源或目标版本 minimal 事务的 resume 恢复路径(缺省 profile 推断)
安装后端 ☑ 其他(resume 恢复路径) □ cargo □ archive □ apt-mirror □ 托管 Cargo
影响程度 ☑ 一般
临时规避办法 显式指定原 profile:resume minimal --run <ID>

复现步骤

  1. minimal 安装中断后执行 resume --run <ID> → "configuration or plan changed"(误导)
  2. resume minimal --run <ID> → 正常恢复

预期结果

resume --run <ID> 按原事务 profile 恢复,或错误信息明确指出需指定 profile。

实际结果

缺省按 standard 重算 plan,报误导性 "configuration or plan changed";显式 resume minimal --run <ID> 正常恢复。证据:T5.02/T5.02b。实测输出:

== [b] resume --run 16588(无 profile)==
exit=1
ERROR run 48c40a022430-16588-1789090701702863100 configuration or plan changed;
      expected plan=48c40a022430253da3deb7ac7936aeadb443dc3543a3c033a26434e807765b52 config=c124887703e0dc31…
 HINT Run bot-forge doctor for environment diagnostics.
== resume minimal --run 32844(显式 profile)== → 真实重试重编译(语义正确)

各平台确认:黄区 Windows x64 复现(单区独有记录)。

运行环境与供应信息

项目 内容
BotForge 版本或提交号 botforge-win 1.0.3(--version 自报 1.0.1)
操作系统与架构 Windows x64
Shell PowerShell
配置来源 minimal 事务(中断后恢复)
软件仓库 / 镜像 不涉及
校验和清单 不涉及
相关工具及版本 不涉及

安全、性能与恢复证据

  • ☐ 已提供校验和、签名或来源验证结果
  • ☐ 已提供冷缓存/热缓存、执行次数和基线
  • ☐ 已提供总耗时、并发度、处理器、内存、磁盘或网络数据
  • ☑ 已提供取消、事务日志、失败恢复、回滚或幂等性表现(正确用法可正常恢复 minimal 事务)
  • ☐ 已说明失败后的残留文件、进程或系统状态

附件与提交确认

  • ☑ 已检索现有问题单,确认不是重复问题(与 Linux 侧 OBS-3 为不同问题,仅编号相同)
  • ☑ 已提供最小复现步骤、预期结果和实际结果
  • ☑ 已提供可核对的安装、校验或恢复证据(如适用)
  • ☑ 已完成日志、配置和附件脱敏
likedislike
Ccezarbbb
9月16日 修改了issue 的描述
KKarliosQu成员
9月17日 关联了pull request:修复 #38:恢复事务沿用并校验原 profile
VVaynNecol成员
9月17日 关闭了 issue