Feat/175/cli filters - #175
Open
BSick7 wants to merge 3 commits into
Open
Conversation
Metadata is a closed, platform-defined struct (Description is its first member), mirroring WorkspaceMetadata. Tags is the open user keyspace and sits top-level rather than nested under Metadata, because tag writes are high-frequency per-key and would otherwise be read-modify-writes of the whole metadata blob. UpdateEnvironmentTagsInput applies a per-key patch: a value sets/updates, nil clears, an absent key is untouched. Setting a key to "" is distinct from clearing it. NUL-174
…ronment Create accepted a whole types.Environment, so callers were free to set orgName, stackId, contextKey, status and friends -- all of which the API either derives from the path or assigns itself, and all of which were silently dropped. The input struct carries only what create actually accepts, and adds metadata and tags. NUL-174
PreviewApps only implemented List, so there was no way to change an env's preview app set from a client. Replace has replace semantics, which the doc comment spells out -- callers must List, mutate, and send the full list back. NUL-175
BSick7
force-pushed
the
feat/175/cli-filters
branch
from
August 13, 2026 12:22
bc3274d to
ed121b9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Environment.MetadataandEnvironment.Tags.