docs(plans): 短剧免费集数同步分集留痕

This commit is contained in:
Zhou Weidong committed 2026-10-21 22:34:21 +08:00
1 parent e92ec118fe
commit b8b3fd867b
1 file changed
+62
+62
View File
@@ -24571,3 +24571,65 @@ OK_EXIT=0
解读:拦截生效,干净 message 正常通过 commitlint。
---
## 2026-10-21 | 短剧保存免费集数同步分集免费状态
【Codex】根因:DramaService.update 只更新 drama,未同步 drama_episode.is_free/unlock_coin。
抽出 EpisodePriceSync.syncByDramaRule,DramaService.update 与 PriceService.save 共用;仅 freeEpisodes/unlockCoin 变化时同步。
### 门禁(原始输出摘录)
```bash
$ mvn -pl fruitshorts-module-content -am test -Dsurefire.failIfNoSpecifiedTests=false
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.fruitshorts.content.service.DramaServiceTest
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
WARNING: A Java agent has been loaded dynamically (/Users/jianghaifeng/.m2/repository/net/bytebuddy/byte-buddy-agent/1.14.13/byte-buddy-agent-1.14.13.jar)
WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning
WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information
WARNING: Dynamic loading of agents will be disallowed by default in a future release
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.126 s -- in com.fruitshorts.content.service.DramaServiceTest
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for fruitshorts 1.0.0-SNAPSHOT:
[INFO]
[INFO] fruitshorts ........................................ SUCCESS [ 0.001 s]
[INFO] fruitshorts-common ................................. SUCCESS [ 3.685 s]
[INFO] fruitshorts-framework .............................. SUCCESS [ 31.492 s]
[INFO] fruitshorts-module-system .......................... SUCCESS [ 0.051 s]
[INFO] fruitshorts-module-content ......................... SUCCESS [ 4.451 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 39.944 s
[INFO] Finished at: 2026-10-21T22:35:43+08:00
[INFO] ------------------------------------------------------------------------
```
解读:DramaServiceTest 4 条全过;module-content BUILD SUCCESS。
### 提交 / 合并 / push
```bash
$ git log -2 --format=%B
fix(content): 短剧保存免费集数时同步分集免费状态
test(content): 覆盖短剧免费集数同步分集价格
$ git log --oneline -4
e92ec11 merge: 短剧保存免费集数同步分集免费状态
4c4b53c fix(content): 短剧保存免费集数时同步分集免费状态
d7f2266 test(content): 覆盖短剧免费集数同步分集价格
979e6eb docs(plans): 登记 K100 提交 AI 痕迹已知偏差
$ git push origin feature/drama-free-episodes-sync
$ git push origin develop
# develop 979e6eb..e92ec11
```
解读:作者 Zhou Weidong;无 Co-authored-by / AI 痕迹;develop 与 feature 均已 push。未启动/重启 8080/8081。停住等验收。