huangzd1997
|
4030897d49
|
progress: task-13 done (completed=13, rounds=13)
|
2026-08-29 17:05:59 +08:00 |
|
huangzd1997
|
cbe0ec8bb2
|
task-12: mark done in progress
|
2026-08-29 16:46:38 +08:00 |
|
huangzd1997
|
59ee3c8154
|
progress: task-11 done (completed=11, rounds=11)
|
2026-08-29 16:17:27 +08:00 |
|
huangzd1997
|
d64ba3a827
|
progress: task-10 done (completed=10, rounds=10)
|
2026-08-29 16:07:49 +08:00 |
|
huangzd1997
|
17a3292c78
|
progress: task-9 done (completed=9, rounds=9)
|
2026-08-29 15:52:57 +08:00 |
|
huangzd1997
|
026aa4e0c3
|
task-4: 解析接口只返回固定数量预览行,完整行仅保存在后端任务载荷
parseAndCreateTask 响应 items/groups 改为 buildResponsePreviewRows/Groups 裁剪
到 PARSE_RESPONSE_PREVIEW_LIMIT(100) 行:大文件(5000行)响应体不再携带全量行,
前端/队列只依赖统计字段与 taskId,Python 通过 parsed-payload 接口拉全量。
groups 预览副本保留 itemCount 与行级字段,字段完整且顺序稳定。
8 个测试覆盖 150/5000/1/100/101 行、空文件、非法输入、存储失败恢复与临时文件清理。
|
2026-08-29 14:43:08 +08:00 |
|
huangzd1997
|
9f8bdecc9e
|
task-3: 统一解析载荷全量行恢复逻辑,新旧结构均可恢复
新增 SimilarAsinTaskService.resolveAllRows(payload):优先 items(新规范结构)、
其次 allItems(旧结构)、最后 groups 展开(最旧结构),并收敛 rowCount/
loadAllRowsByBaseId/hydrateParsedPayloadRows/两条 assemble 路径的重复 fallback 链。
旧 payload(含 allItems 或仅 groups)仍可恢复全量行,行数、顺序不丢失。
9 个测试覆盖默认/批量/幂等/空/单行/超限/新旧 JSON 反序列化/组展开顺序。
|
2026-08-29 14:36:15 +08:00 |
|
huangzd1997
|
8c84ff3394
|
task-2: 解析载荷改为单一规范行集合,消除 allItems 重复序列化
SimilarAsinParsedPayloadDto.allItems 标记 @JsonInclude(NON_EMPTY) 并仅作反序列化
兼容字段(新写入不再输出);buildParsedPayloadJson 只写 items 一份全量行,
消除每任务双倍行序列化的内存与 payload 体积。读取侧 getAllItems() 消费点保留
以兼容旧载荷(task-3 再统一收敛)。9 个测试覆盖默认/批量/幂等/空/单行/超限/
旧格式吸收/依赖失败恢复。
|
2026-08-29 14:32:11 +08:00 |
|
huangzd1997
|
2039acdfe6
|
task-1: 建立 Similar ASIN 性能基线夹具 (1000/5000行、图片开关、chunk与payload采样)
新增 SimilarAsinPerfFixture 确定性夹具:按 sourceFileKey+rowIndex 派生字段,
支持 0/1/1000/5000 行、图片开关两种模式、chunk 划分与 payload 字节采样;
空输入返回空、超限(>5000行/非法chunk/空key)抛 IllegalArgumentException。
含 10 个测试覆盖默认路径/批量/幂等/边界/非法输入/依赖失败恢复。
|
2026-08-29 14:22:07 +08:00 |
|