<#7508 feat: carry enacted_by identity on Abort/Si...
# flyte-github
a
#7508 feat: carry enacted_by identity on Abort/Signal and add SignalInfo result Pull request opened by SVilgelm Tracking issue Related to unionai/ENG26-653. Why are the changes needed? Today there is no way to record which user or application initiated a signal or abort on a condition / task action. The cloud Run Service has the caller identity in context, but the proto surface of
flyteidl2.actions.ActionsService
and
flyteidl2.workflow.ActionDetails
does not carry it through, so
WatchActionDetails
cannot tell the UI "signalled by @alice" / "aborted by @bob". What changes were proposed in this pull request? •
flyteidl2/actions/actions_service.proto
• Add optional
common.EnrichedIdentity aborted_by = 3
to
AbortRequest
• Add optional
common.EnrichedIdentity signalled_by = 4
to
SignalRequest
Both fields are populated by the Run Service with a stripped EnrichedIdentity (subject only) so the cloud actions service can persist + replicate them downstream without leaking PII. •
flyteidl2/workflow/run_definition.proto
• Add
SignalInfo { common.EnrichedIdentity signalled_by, core.Literal output }
and a new
signal_info = 10
branch on
ActionDetails.result
for surfacing the signaller identity and the resolved signal value on terminal condition actions.
AbortInfo.aborted_by
already existed but had no producer. Generated Go + validate + mocks are included in the same commit. How was this patch tested? Generated code rebuilds cleanly via
make buf-go
and
make mocks
. The downstream cloud2 PR (which depends on this PR via the submodule pointer) exercises both fields end-to-end in unit tests covering the helper, the actions state/DB persistence, the replicator, the workflow consumer, and the Run Service surface. Labels added Check all the applicable boxes • I updated the documentation accordingly. (proto-only — comments updated) • All new and existing tests passed. • All commits are signed-off. flyteorg/flyte