Fold-close the task card before merge
ci / svc-realcombo (pull_request) Successful in 2m58s
ci / test (pull_request) Successful in 9m28s
ci / test-pg (pull_request) Successful in 11m22s

Why: close the task card inside its own PR so landing it needs no post-merge backfill or separate close PR.
Evidence: .task/fix-svc-static-deploy-test-port-flake.md -> .task/archive/fix-svc-static-deploy-test-port-flake.md; status 已完成(合入前闭合); PR #668 https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Dev/pulls/668.
Impact: task metadata only; the card is archived within PR #668 and lands with its merge commit.
Refs: task.sh close --self
This commit is contained in:
2026-10-21 10:02:58 +00:00
parent e0a8773a85
commit ee54b3577a
@@ -1,6 +1,6 @@
# fix/svc-static-deploy-test-port-flake 任务卡
任务主记录:https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Dev/pulls/668 ;状态:blocked → 进行中 → 完成(合入前闭合);owner:weichen
任务主记录:PR #668 https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Dev/pulls/668;状态:已完成(合入前闭合);owner:weichen
- 权威仓:ssh://git@192.168.3.2:2222/weichen/Agent-System-Dev.git;目标分支:main;R0(initial_base_sha)= a9566a68505ac97dead15ed3b5672954f15cea1c
- 工作区:/home/weichen/projects/Agent-System-Dev-wt-fix-svc-static-deploy-test-port-flake(worktree);分支:fix/svc-static-deploy-test-port-flake
@@ -44,7 +44,7 @@
| 时间(UTC) | 命令 | 被测HEAD | exit | 来源 | sha256(16) |
|---|---|---|---|---|---|
## 结果与验证(完成后填写)
## 结果与验证
- 结果:`tests/test_svc.py:989` 的硬编码 `port = 18951` 换成 `socket.bind(("127.0.0.1", 0))` 内核分配空闲端口(3 增 1 删,单文件单 hunk)。用例的 8 条断言一条未删未弱化。
- 验证:
@@ -196,3 +196,9 @@
}
```
| 同步(记录前对象) | 2fd11effd9ccb0ae35ae5a47caccefccbbb05a8e | c766a81277112907333ac7f1810436aed51cff21 | 2026-10-21T09:48:46Z |
## 闭合记录(合入前折叠)
- 本卡在 PR #668(https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Dev/pulls/668)合入前闭合并归档,随该 PR 一同合入。
- 该 PR 的合并提交即本任务的落地记录。
- 合入后无需回填,也无需单独的闭合 PR。