From b9f877f3f337fc164dbcc5be0d9584a95d4cfd7b Mon Sep 17 00:00:00 2001 From: "Somhairle H. Marisol" Date: Tue, 22 Sep 2026 10:30:03 +0800 Subject: Supervisor log: 3d-31 hang aborted, B4a FK fix in new session --- docs/overnight-progress.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/overnight-progress.md b/docs/overnight-progress.md index 7ad3cfb..5ea66d8 100644 --- a/docs/overnight-progress.md +++ b/docs/overnight-progress.md @@ -983,3 +983,11 @@ Real AKShare retrieval and dates; PostgreSQL integration/restart/idempotency; co - Independent real AKShare probe (disposable pg + Debug API on 5096, PYTHONPATH=/tmp/opencode/fund-lab-akshare-site): stock-quote 600519 -> 贵州茅台 1252.15 sh adjust=none suspended=false HTTP 200; stock-daily 600519 3 qfq bars 09-17/18/21 closes 1266.98/1257.12/1252.57 HTTP 200. Collector needs FUND_LAB_AKSHARE_PYTHON + PYTHONPATH, else collector exit 1 -> 503 MARKET_DATA_UNAVAILABLE. Live publish :8096 lacks stock routes (stale build), not used for acceptance. - Misuse gate: quote for non-stock code returns 503 timeout error, no fabricated data. - Next: dispatch 3d-31 (股票 B4+). + +## 2026-09-22 10:3x CST supervisor tick — 3d-31 hang 处置 + B4a FK 缺陷 + +- 目录限定 /session/status 为空但目录列表(base)含旧会话;先迁移到新会话并明确单 writer,避免在 hang 里的旧会话重复执行。 +- 3d-31 会话 ses_f3a10244 bash 工具 09:45 CST 起 status=running 32 分钟,build 输出已返回但后续 dotnet test 无对应 testhost 进程存活, 最新服务 log 无该会话新 stream;line 4082 CreateSipPlan 插入 sip_plans 触发新 FK `sip_plans_instrument_code_fkey` (23503)。4/4 StockSipTests 失败。 +- 处置: abort 旧会话(DELETE 200), 新会话 ses_f3914ac0fffed2tK59aU6DUUOi (go-b/deepseek-v4.1-flash) 派发 3d-32 连续任务: 修 FK + 完成 B4b/B4c, 验收命令和 push+ls-remote 回读写死。 +- leader 实测复现: dotnet test --filter StockSipTests → 失败 4 / 通过 0, 错误为 Npgsql 23503 sip_plans_instrument_code_fkey。矛头: sip_plans.instrument_code 外键指向 instruments(code), 股票代码没有对应 instruments 行, writer 已在新会话内最小修复。 +- 新会话成功起步: 已 grep+read 定位 FK 定义, 文字结论 root cause 符合 leader 复现, 编辑已发生, 截至 10:29 CST 第 4/4 StockSipTests 通过后已 commit 2677ea0 `Fix stock sip plan instrument FK (3d-31 B4a)`; writer 正在继续 B4b/B4c。4096 /session/status 需要目录限定参数,裸请求会得到空对象;fund-lab 目录 scoped 内后续要复核。 -- cgit v1.2.3