feat: complete production workflow migration

This commit is contained in:
2026-08-06 14:29:57 +08:00
parent 7f215e79c4
commit 8df5266abb
448 changed files with 56937 additions and 14619 deletions
+5 -10
View File
@@ -29,41 +29,36 @@ def test_default_registry_contains_exactly_the_four_business_modules() -> None:
assert isinstance(registry.get("supply_chain"), SupplyChainModule)
def test_catalog_composition_registers_all_migrated_scheduled_and_manual_workflows() -> None:
def test_catalog_composition_registers_all_workflows() -> None:
catalog = WorkflowCatalog.load(Path(__file__).parents[1] / "config")
registry = create_default_registry(catalog=catalog)
assert len(registry.workflow_ids) == 28
assert len(registry.workflow_ids) == 23
assert set(registry.workflow_ids) == {
"shop.metrics.weekly",
"shop.competitor.weekly",
"shop.jd_self_operated.daily",
"shop.douyin_price_appeal",
"supply.purchase_confirmation.daily",
"supply.replenishment.weekly",
"supply.replenishment_alert.daily",
"supply.purchase_order_update",
"content.metrics.daily",
"content.marketing_report.daily",
"content.relogin.weekly",
"content.self_operated.weekly",
"content.creator_report.monthly",
"content.summary.monthly",
"content.cooperations.daily",
"content.comments.weekly",
"content.summary.weekly",
"content.mapping.refresh",
"content.retry_failed",
"content.metrics.backfill",
"product.persona.daily",
"product.daily",
"product.alert.daily",
"product.import.daily",
"product.style_analysis.interval",
"product.main_image.jd.weekly",
"product.main_image.weekly",
"product.backfill",
"product.sales_sheet.daily",
"product.market_rank",
"product.review_collection",
}