Skip to content

Feat/175/cli filters - #175

Open
BSick7 wants to merge 3 commits into
masterfrom
feat/175/cli-filters
Open

Feat/175/cli filters#175
BSick7 wants to merge 3 commits into
masterfrom
feat/175/cli-filters

Conversation

@BSick7

@BSick7 BSick7 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor
  • Added Environment.Metadata and Environment.Tags.
  • Enhanced API inputs to accept these new fields.
  • Adding missing PreviewApps.Replace API endpoint.

BSick7 added 3 commits August 12, 2026 22:02
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
BSick7 force-pushed the feat/175/cli-filters branch from bc3274d to ed121b9 Compare August 13, 2026 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant