acoustic-carpenter-78188
06/10/2026, 10:31 PMDataProxyService.GetActionData materialises action inputs/outputs by fetching `inputs.pb`/`outputs.pb` via the URIs returned by RunService.GetActionDataURIs. For condition actions (ACTION_TYPE_CONDITION) the literals don't live in object storage at all — the signal payload lives inline on the action row (RunInfo.Output). The run service signals this case by returning both URIs empty.
Today the dataproxy hits that empty-URIs case, skips both S3 fetches, and returns its zero-value skeleton {Inputs: {}, Outputs: {}} — losing the literal even though the run service has it ready to hand back inline.
This PR adds a small fallback: when both URIs come back empty, call RunService.GetActionData once and pass its inline `Inputs`/`Outputs` straight through. Tasks/traces are unaffected — they always have a non-empty inputs URI from RecordAction time.
Why not unconditionally?
We don't want to lose the dataplane-fetch optimisation for tasks/traces (they hold large literals in S3 and the dataproxy is co-located with the bucket). The fallback only triggers when urisResp.inputs_uri == "" && urisResp.outputs_uri == "" — which today only happens for condition actions.
Changes
• flyteidl2/dataproxy/service/dataproxy_service.go — new condition fallback branch in Service.GetActionData, gated on both URIs empty. Logs at debug level so the call site is easy to spot in traces.
• The RunService.GetActionData call is marked deprecated (in favour of DataProxyService.GetActionData), but calling ourselves would loop, so a //nolint:staticcheck directive explains the intentional reach-into.
Test plan
• make test (flyte2 unit tests).
• Manually verified on dogfood-cloud-staging: a signaled BOOLEAN condition that previously returned {"inputs":{}, "outputs":{}} now returns {"outputs":{"literals":[{"name":"<condition_name>","value":{"scalar":{"primitive":{"boolean":true}}}}]}}.
Upstream context
This is part of a larger end-to-end fix in unionai/cloud (PR #16408) that plumbs condition signal payloads inline through:
1. actions-service Update.output proto field (closed-source)
2. RedisStream replicator + workflow consumer carrying the literal
3. workflow service merging the literal into RunInfo.Output
4. dataproxy fallback (this PR) to surface the inline literal to the UI
flyteorg/flyteacoustic-carpenter-78188
06/11/2026, 3:20 AM