feat(environments): add the List value type (ER-5355) - #486
Merged
serge-sedelnikov merged 4 commits intoSep 11, 2026
Merged
Conversation
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Co-authored-by: Claude <noreply@anthropic.com>
…t-type-for-links-and-faq-style-records-1
Regenerated from the environments-api contract. A List may now hold any value type except Map, so ListItemType gains String and SecretString and the ListOf* union gains ListOfString and ListOfSecretString. Because a List<SecretString>'s value is withheld on read, the element type can no longer be read out of the value -- EnvironmentVariable and EnvironmentVariableListItem gain a derived, read-only item_type that is returned even when value is absent. Generated from the LOCAL spec so the portal can build against it while environments-api is still in review. Plan 4 regenerates from the PROD spec before this merges. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
serge-sedelnikov
marked this pull request as ready for review
September 11, 2026 07:06
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.
🚧 Draft until
environments-apiis deployed to production.Regenerates
@epilot/environments-client(and the vendored copy in@epilot/sdk) for theListenvironment variable value type.What changed
A
Listholds an ordered collection of one declared element type. It may hold any value type exceptMap:String,SecretString,Text,Number,Boolean,JSON,Link. Adds theLinkFieldsschema thatLinkitems carry.Two properties are worth knowing, because they are why the contract looks the way it does:
List<SecretString>is encrypted per item and its value is never returned; aList<String>orList<SecretString>is never served to browser-facing consumers.EnvironmentVariableandEnvironmentVariableListItemtherefore gain a derived, read-onlyitem_type, returned even whenvalueis absent. It is derived at read time and never stored.Scope note
This PR was opened for the five-element-type version of
List. Scope was widened on 2026-09-09 —StringandSecretStringjoined, along withitem_type— and folded into this same branch rather than stacked as a second chain. Commit5a0e323ccarries that widening.Before merging
environments-apiMR !41 merged and deployed to productionnpm run openapiwith no path argument) — this branch was generated from the local spec so the portal could build against an alpha in the meantime@epilot/sdk@2.20.13-alpha.0is published on thealphadist-tag for the portal;latestis untouched at2.20.12. No version bump is committed on this branch —auto-releasecomputes the real version frommain.🤖 Generated with Claude Code