feat(core): implement app profile lifecycle dispatcher and wire cli commands

This commit is contained in:
ryan
2026-08-28 00:02:30 +08:00
parent a4c3f70f0b
commit b6bfa120fc
16 changed files with 1471 additions and 98 deletions
+1 -1
View File
@@ -210,7 +210,7 @@ func (p *Plugin) Apply(ctx *core.Context) error {
}
// 2. Register Background Tasks
ctx.Task().Register("admin:system_cleanup", func(c context.Context, t *asynq.Task) error {
ctx.Task().Register("admin:system_cleanup", func(_ context.Context, _ *asynq.Task) error {
return nil
}, extpoints.WithTaskRetry(1))