Skip to content

锁定部署信号回滚测试的探测阶段与143退出(Refs #237) - #238

Merged
zj1123581321 merged 4 commits into
mainfrom
card/vta-261012-deploy-signal-test
Oct 12, 2026
Merged

zj1123581321 merged 4 commits into
mainfrom
card/vta-261012-deploy-signal-test

Conversation

@zj1123581321

Copy link
Copy Markdown
Collaborator

范围

只改 tests/deployment/test_pull_and_deploy.py 的 test_signal_after_candidate_start_rolls_back,不改部署脚本、fixture 或其他测试。

改动

  • 覆盖已有 HEALTH_ATTEMPTS=30 / HEALTH_INTERVAL_SECONDS=1,候选阶段保持 starting。
  • 等 fake-docker 在候选 up -d 之后写出真实 State.Health.Status 探测,再发 TERM。
  • 见到含旧摘要的第二条 up -d 之后才把健康文件改为 healthy,让回滚健康确认通过。
  • 断言 rc == 143,stderr 不含候选健康超时或回滚健康失败;两条 up、第二含旧摘要、两条之间至少一次真实探测,.deploy-image 仍为旧值。
  • 有界等待超时按原模式 kill + AssertionError。删除 TERM 必须在回滚等待处变红,不能走健康超时假绿。

Refs #237

zj1123581321 and others added 4 commits October 12, 2026 22:35
候选健康保持 starting,直到真实旧摘要回滚 up;TERM 发在候选健康探测之后。
断言 rc=143,删除 TERM 不能再靠健康超时假绿。

Refs #237

Agent-Executor: grok-pi
Agent-Model: grok-4.6
Agent-Effort: high
Dispatch-Id: dlg-20261012-140826-5e353e
Task-Id: VideoTranscriptAPI-20261012-09
第一条 up 与 TERM 前探测必须命中 fixture 候选摘要,旧镜像冒充候选不能假绿。

Refs #237

Agent-Executor: grok-pi
Agent-Model: grok-4.6
Agent-Effort: high
Dispatch-Id: dlg-20261012-153358-afd6ab
Task-Id: VideoTranscriptAPI-20261012-09
Agent-Executor: codex
Agent-Model: gpt-6-luna
Agent-Effort: xhigh
Dispatch-Id: dlg-20261012-150309-6f7e6f
Task-Id: VideoTranscriptAPI-20261012-11
Agent-Executor: codex
Agent-Model: gpt-6-luna
Agent-Effort: xhigh
Dispatch-Id: dlg-20261012-160142-cb0ae6
Task-Id: VideoTranscriptAPI-20261013-01
@zj1123581321
zj1123581321 marked this pull request as ready for review October 12, 2026 16:37
@github-actions

github-actions Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Required Gate v2 — 状态面板

当前状态:pass · 可合并

当前裁决:code_pass / primary_pass

PR 累计主审轮(影子):1/5 · collecting

Gate 历史(v1;来源为持久化 gate_terminal 制品)

Run Attempt Head 状态 PR 累计主审轮(影子) 收件人动作
38264179334 1 3953154 skipped — 无需动作(主审未跑,绿≠过审)
38271802941 1 75d5f4d skipped — 无需动作(主审未跑,绿≠过审)
38278532446 1 d52bd95 fail — 要修代码
38278729107 1 d52bd95 pass — 可合并
38278729107 2 d52bd95 pass 1/5 · collecting 可合并

历史行按 run_id + run_attempt 去重并只增不删;删除本评论后可由 gate_terminal 制品重建。

@zj1123581321
zj1123581321 merged commit 1030776 into main Oct 12, 2026
29 of 35 checks passed
@zj1123581321
zj1123581321 deleted the card/vta-261012-deploy-signal-test branch October 12, 2026 18:24
zj1123581321 added a commit that referenced this pull request Oct 15, 2026
锁定部署信号回滚测试的探测阶段与143退出(Refs #237)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant