Add notification hook and run summary

This commit is contained in:
2026-05-31 02:33:09 +00:00
parent 5408f14195
commit 78f92154ab
8 changed files with 373 additions and 12 deletions

25
internal/notify/notify.go Normal file
View File

@@ -0,0 +1,25 @@
package notify
import "context"
type Event struct {
PipelineID string
DestinationID string
BundleID string
BundlePath string
Action string
Outputs []Output
}
type Output struct {
Path string
Kind string
SourcePath string
Transform string
SHA256 string
Size int64
}
type Notifier interface {
Notify(ctx context.Context, event Event) error
}