<#7277 fix: populate App.Spec in Get/List/Watch re...
# flyte-github
a
#7277 fix: populate App.Spec in Get/List/Watch responses so UI can render about, replicas, and resources Pull request opened by AdilFayyaz Why are the changes needed? The UI's About, Replicas, Requests, and Limits sections were all showing as undefined because App.Spec was never included in Get, List, or Watch responses — only Metadata and Status were returned. What changes were proposed in this pull request? • Serialize the full App.Spec proto as a base64-encoded flyte.org/spec annotation on the KService at deploy time, so it survives the K8s round-trip • Add specFromAnnotation() to deserialize it on read; kserviceToApp now includes Spec in every returned App • Rename GetStatus → GetApp in AppK8sClientInterface, returning *flyteapp.App instead of *flyteapp.Status, so callers get the full object • Populate Status.CreatedAt from ksvc.CreationTimestamp in kserviceToStatus How was this patch tested? • go test ./app/... passes — all existing tests updated for the new GetApp signature • New TestGetApp_SpecRoundTrip verifies that Profile and Autoscaling.Replicas written via Deploy are correctly recovered via GetApp • Manual verification: deploy an app and confirm the UI's About (image, command, ports), Replicas (min/max), Requests, and Limits tabs populate correctly 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 Docs link •
main
• #6583 • *fix: populate App.Spec in Get/List/Watch responses so UI can render about, replicas, and resources * 👈 flyteorg/flyte