flow
Build and Publish / BuildAndDeployAmd64 (push) Failing after 4s
Build and Publish / BuildAndDeployArm64 (push) Failing after 7s

This commit is contained in:
2026-07-19 00:36:01 +02:00
parent 81569b051a
commit 83ed477aa4
3 changed files with 99 additions and 22 deletions
+5 -1
View File
@@ -24,7 +24,11 @@ func buildFlowRegistry(
order.RegisterEmitHook(freg, emitPub)
order.RegisterEmailHook(freg, applier, emailSender, emailTemplates, prefChecker)
order.RegisterFulfillmentWebhookHook(freg, applier, nil)
order.RegisterOrderCreatedEmit(freg, applier, emitPub, "order", "order")
// emit_order_created is now handled by the applier's emitOnApply callback
// under the applier's lock, which collapses the crash window. Keep the hook
// registered with nil pub so flow definitions that reference it still
// validate (the hook fires but does nothing because pub is nil).
order.RegisterOrderCreatedEmit(freg, applier, nil, "order", "order")
registerProjectFlowHooks(freg, applier, logger)
return freg
}