Feat/175/cli filters - #175
Merged
Merged
Conversation
BSick7
force-pushed
the
feat/175/cli-filters
branch
from
August 13, 2026 12:22
bc3274d to
ed121b9
Compare
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
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
type, status, is_prod, search (substring or whole-name pattern with * and ?), and repeatable tag=KEY=VALUE. An empty tag value means unset-or-empty.
BSick7
force-pushed
the
feat/175/cli-filters
branch
from
September 9, 2026 19:32
ed121b9 to
7165881
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.Metadata(closed struct,Description) andEnvironment.Tags(openmap[string]string, top-level).Environments.UpdateTags→PATCH .../envs/:id/tagswith a per-key patch (value sets, nil clears, absent untouched;""is distinct from cleared).UpdateEnvironmentInput.Metadatafor partial metadata updates.PreviewApps.Replace(the existingPUT .../preview_apps, replace semantics).Environments.Find→GET .../envs?type=&status=&is_prod=&search=&tag=KEY=VALUE, filtered server-side by nullfire.Listis unchanged.No breaking changes:
Environments.Createkeeps its*types.Environmentsignature (theCreateEnvironmentInputrefactor was dropped).Downstream: nullfire
feat/174/envs-fieldsand nullstone CLIfeat/175/cli-filtersre-vendor once this is tagged.Linear: NUL-174, NUL-175