Notify Tentacles when pending Remote approval is revoked

This commit is contained in:
ak47 committed 2026-11-04 14:43:22 -05:00
1 parent 205cb27483
commit 9bc74dbb13
8 files changed
+61 -12

No files matched your search

+2 -2
View File
@@ -43,8 +43,8 @@ func (runtime *tentacleRuntime) interact(ctx context.Context, command tentacleCo
defer stopCommand()
stop := context.AfterFunc(command.session.OutputContext(), cancel)
defer stop()
// Policy cancellation can interrupt setup before a lease exists, when no
// remote.revoked event is emitted. Tell the original continuation to stop its
// Policy cancellation can interrupt setup before approval exists.
// Tell the original continuation to stop its
// inspection/setup workers before releasing the interaction slot. Never pass
// cancelled form values or reuse the cancelled interaction context.
cleanupNext := ""