Repository navigation
T-1269 Cry Bot:InstaBox 改接口后启动报 400,建机字段和保持唤醒租约按新接口改 - #76
Merged
Merged
Conversation
…and activity leases Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
台账任务
台账任务:T-1269
改了什么
改了什么:
建机改为顶层 vcpus: 4、memMiB: 8192;租约由客户端生成 ID,创建与续期共用 PUT 和 ttlSeconds: 7200,释放使用同一 ID 的 DELETE。夹具严格校验新字段;回归覆盖空响应、共用租约、释放与拒绝后重试。
为什么:修复建机旧字段导致的 HTTP 400,以及旧租约路由失效导致的保活失败。全仓搜索已核对,旧格式只留在历史任务文档;wiring-backends-fixture 只模拟 Boat/VPS,无需修改。
测试命令与结果摘要:
验证说明文件 docs/verification/README.md 在当前仓库缺失;实际使用现有隔离 HTTP、服务端和浏览器 fixture。测试临时目录通过 os.tmpdir() 新建,设置 TMPDIR=/tmp 以符合模拟远端路径限制。未提交 git。
验收证据
审核、安全审查和测试结论见本 PR 检查状态及评论。
风险与回退
待补充风险;合并后可通过 revert 压缩提交回退。
🤖 Generated with Claude Code