MCPcopy Create free account
hub / github.com/compozy/agh / idempotencyKey

Function idempotencyKey

internal/task/manager_test.go:9951–9959  ·  view source on GitHub ↗
(origin Origin, key string)

Source from the content-addressed store, hash-verified

9949}
9950
9951func idempotencyKey(origin Origin, key string) string {
9952 return string(
9953 origin.Kind.Normalize(),
9954 ) + "|" + strings.TrimSpace(
9955 origin.Ref,
9956 ) + "|" + strings.TrimSpace(
9957 key,
9958 )
9959}
9960
9961func triageKey(taskID string, actor ActorIdentity) string {
9962 return strings.TrimSpace(

Callers 3

ReserveQueuedRunMethod · 0.85

Calls 1

NormalizeMethod · 0.45

Tested by

no test coverage detected