Skip to content

Commit f8b321f

Browse files
authored
fix(cli): use a valid trigger when trace push resets the attestation (#3472)
1 parent b28c4b9 commit f8b321f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎app/cli/pkg/action/trace_hook_handler.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ func RunTracePush(ctx context.Context, log zerolog.Logger, opts RunTracePushOpts
663663

664664
if len(attestedSessions) == 0 {
665665
log.Debug().Msg("no evidence successfully added, resetting attestation")
666-
_ = executor.Reset(ctx, "trace-push", "no CHAINLOOP_AI_CODING_SESSION evidence added")
666+
_ = executor.Reset(ctx, AttestationResetTriggerCancelled, "no CHAINLOOP_AI_CODING_SESSION evidence added")
667667

668668
return nil
669669
}

0 commit comments

Comments
 (0)