acoustic-carpenter-78188
07/24/2026, 4:10 AMActionMetadata.funtion_name has a typo in its field name (missing "c"). This PR fixes the spelling to function_name across the proto definition and the one backend Go file that references it.
This covers Parts 1-3 of #7558 (proto rename, backend Go usages) as scoped by the issue itself, which calls this out as a complete, standalone contribution. Part 4 (bumping the flyteidl2 dependency in flyteorg/flyte-sdk) is a separate repo and is currently blocked on a new package release, so it's left as a follow-up for a separate PR/contributor.
What changes were proposed in this pull request?
• Renamed the proto field ActionMetadata.funtion_name to function_name in flyteidl2/workflow/run_definition.proto (field number 13 unchanged, so this is wire-compatible).
• Updated the two call sites in runs/service/run_service.go (actionMetadataFromModel and convertNodeUpdateToEnrichedProto) to use the corrected FunctionName field name.
• Generated stubs under gen/ are intentionally not hand-edited in this PR — commenting /regen on this PR will trigger CI to regenerate them.
How was this patch tested?
• go build ./runs/... (will fail until /regen runs, since the generated struct still has the old field name — expected).
• grep -rn "funtion" . | grep -v "/gen/" returns nothing.
Labels
changed
Setup process
Screenshots
Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
Related PRs
Stack
Docs link
flyteorg/flyteacoustic-carpenter-78188
07/24/2026, 4:10 AMacoustic-carpenter-78188
07/24/2026, 8:25 PM