feat(product): 聚水潭销售主题分析按日采集工作流
collect_erp_sales_theme_daily.py 采集 bi.erp321.com「报表→销售主题分析→按日统计」, 异步导出 + OSS 直连兜底,固定品牌+店铺口径,写 erp_sales_theme_daily_metrics (db 层建表与 upsert 同步,每日一行幂等覆盖)。注册 product.erp_sales_theme_daily.collect 手动命令,复用 erp-account 登录绑定新增 CDP 22167;目录/集成计数 60→61, 新脚本纳入 CI 聚焦 lint 清单。
This commit is contained in:
1 parent
97a486e97d
commit
9a91ce80e4
9 files changed
+1229
-6
No files matched your search
@@ -83,7 +83,7 @@ def test_default_registry_covers_every_executable_workflow_entry() -> None:
|
||||
assert scheduled_workflows == 39
|
||||
assert manual_workflows == 0
|
||||
assert len(workflow_entries) == 55
|
||||
assert len(catalog.scripts) == 60
|
||||
assert len(catalog.scripts) == 61
|
||||
assert workflow_entries < set(catalog.script_ids)
|
||||
assert {
|
||||
"content.mapping.rebuild",
|
||||
@@ -280,7 +280,7 @@ def test_cli_lists_and_dry_runs_registered_commands(tmp_path: Path) -> None:
|
||||
|
||||
assert main(["scripts", "list", "--json"], settings=settings, stdout=output) == 0
|
||||
rows = json.loads(output.getvalue())
|
||||
assert len(rows) == 60
|
||||
assert len(rows) == 61
|
||||
assert {row["module"] for row in rows} == {
|
||||
"content_marketing",
|
||||
"product_commerce",
|
||||
|
||||
Reference in new issue
Block a user