Move provider configuration behind typed adapter codecs - #265
Merged
Merged
Conversation
SaladDay
marked this pull request as ready for review
September 30, 2026 08:23
…ovider-config-boundary
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.
Core previously carried E2B configuration through shared selection types, storage columns, management DTOs, discovery routes and error mapping. Mandatory adapter codecs now own native configuration semantics and separate public selectors, safe observations and encrypted secret bytes. Docker and microsandbox explicitly reject unsupported operations; E2B retains credential rotation and immutable generation ownership inside its adapter. Missing configuration requirements return contract errors instead of silently disabling checks.
The management API and console use
configuration, write-onlycredential, safemetadataandPOST /core/v1/sandbox/providers/{provider}/discovery. Migration 91 preserves existing ciphertext and retained generations and rejects lossy downgrades. Management clients must upgrade with Core; the pinned public/v1API and Runtime protocol are unchanged.Validation:
Official-client and Linux, macOS and Windows checks passed on the identical task patch before the last unrelated main synchronization. The full gate was attempted but is not claimed as a complete pass; the final test-only correction received focused verification. Complete provider registration validation is a separate follow-up; no release or deployment is included.