You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Creates a struct for the JSON/YAML output shape for `render ea kv update` (before we were returning the full data we got back from the API)
- Returns the updated KV under `data`.
- Returns a field-level `diff` for updateable fields so scripting users can inspect what changed.
- Refactor: Moves IP allow-list equality into `internal/ipallowlist` so text and KV update diffing can share the same comparison.
---
Make an _explicit_ contract for JSON output shape for kv. We take these contracts seriously after all!
Unlike `get` and `resume`, `update` has some useful operation-specific metadata: the before/after diff.
That diff is helpful for humans in text output and also useful for scripts, so this PR makes it part of the JSON contract instead of leaving it as text-only formatter logic.
GROW-2587: https://linear.app/render-com/issue/GROW-2587/slim-down-kv-json-output-to-resource-only
GitOrigin-RevId: e806c2345bdd8c90f0951466bfb36f7e84e88223
0 commit comments