From 9937f768567afba434062231f9ca7b096caf39ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=85=E5=BF=B5?= Date: Wed, 21 Oct 2026 14:19:51 +0800 Subject: [PATCH] =?UTF-8?q?docs(plan):=20Plan=203=20=E5=AE=9A=E7=A8=BF?= =?UTF-8?q?=E2=80=94=E2=80=94Task=201=20=E8=A1=A5=20adapter=20=E6=89=A9?= =?UTF-8?q?=E5=B1=95=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Code --- .../plans/2026-10-21-slice-import-pipeline-phase3.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/superpowers/plans/2026-10-21-slice-import-pipeline-phase3.md b/docs/superpowers/plans/2026-10-21-slice-import-pipeline-phase3.md index 7ba754e..f74fd39 100644 --- a/docs/superpowers/plans/2026-10-21-slice-import-pipeline-phase3.md +++ b/docs/superpowers/plans/2026-10-21-slice-import-pipeline-phase3.md @@ -57,6 +57,8 @@ tests/integration/import-*.test.ts **Files:** `apps/api/src/modules/import/{import.service.ts,import.module.ts}`;sf.ts + `import`;Test `tests/integration/import-job.test.ts` +(本任务含前置事实 12 的 adapter 事件加法扩展:unsupported/error 事件补 `postId?: string`) + - [ ] 失败测试:`sf import --site --snapshot `(或按 connection+kind 选最新快照)→ import_jobs 行 created→running→succeeded(或 succeeded_with_issues/failed);idempotency_key 唯一(重复提交同 key 复用既有 job 不重跑);job 记录 mapping/adapter/sanitizer 版本块(来自 versions.ts) - [ ] 实现:job 状态机 + 报告落 artifacts/import//;空流(无 snapshot)→ 明确报错 - [ ] 绿 → commit `feat(import): job 骨架与生命周期`