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 骨架与生命周期`