<#7737 feat: add LocalRunService for reporting loc...
# flyte-github
a
#7737 feat: add LocalRunService for reporting locally-orchestrated runs Pull request opened by EngHabu Overview Adds `flyteidl2.workflow.LocalRunService`: clients that orchestrate actions outside the platform (e.g. on a user's machine) register a run and report action state, while the platform only records and serves it — no queueing, no dataplane. Design highlights: • The read/watch surface (`GetRunDetails`/`WatchRunDetails`, `GetActionDetails`/`WatchActionDetails`, `ListRuns`/`WatchRuns`, `ListActions`/`WatchActions`) reuses RunService's request/response messages verbatim, so existing clients and UIs work against local runs with only a service swap. The two new shapes are
CreateLocalRunRequest
and
ReportLocalActionsRequest
(batch, idempotent on the event's
(attempt, version, phase)
). •
DataProxyService
gains the control-plane-direct data surface for local runs:
UploadMetadata
(signed PUT URLs for inputs.pb/outputs.pb/report.html),
GetLocalActionData
,
CreateLocalDownloadLink
, plus
ArtifactType
`INPUTS`/`OUTPUTS` values. •
RunSource.RUN_SOURCE_LOCAL
marks these runs. buf lint's message-reuse rules are ignored for the affected files (same precedent as cacheservice/project). Test Plan Codegen (
make buf-*
+ mockery) committed for go/ts/python/rust; consumed and exercised end-to-end by the union cloud implementation (service + integration harness driving create → report → watch streams → reads). Rollout Plan IDL + generated code only; no server behavior in this repo changes. Server implementation lands in the consuming repo. Rollback Plan Revert; no persisted state depends on this. 🤖 Generated with Claude Code flyteorg/flyte