Repository navigation
feat(config): map user environment variables, drop removed endpoints - #62
Merged
Merged
Conversation
Co-authored-by: tembo[bot] <208362400+tembo-io[bot]@users.noreply.github.com>
Contributor
Author
|
Requesting review from @cooper-gadd who has experience with the following files modified in this PR:
|
cooper-gadd
approved these changes
Oct 28, 2026
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.
Summary
Syncs the committed production OpenAPI snapshot (
openapi/openapi.json) for API release v0.2.881 and updates the endpoint mappings for the operations that were added and removed. This is the same spec as tembo/mcp#29. It completes the schema update for release PR #61 (release: 0.17.0).Endpoints
scalar.config.jsonchanges (shared by the TypeScript, Rust, and Python targets):GET /v1/users/{userId}/environment-variablesusers.environmentVariables.listPOST /v1/users/{userId}/environment-variablesusers.environmentVariables.create(body parambody)DELETE /v1/users/{userId}/environment-variables/{environmentVariableId}users.environmentVariables.deleteDELETE /v1/users/{userId}users.deletePOST /v1/users/{userId}/subscriptions/resetusers.subscriptions.resetPOST /v1/organizations/{organizationId}/subscriptions/resetorganizations.subscriptions.resettests/schema-contract.test.mjsadds a test that the newusers.environment_variablesmappings cover these routes and keep the create request body. The existing users and subscription mapping tests now drop the removed routes and assert the old methods are no longer mapped.Other generated type changes from the spec: projects gain
resourceSettings(create/update) andwarmPoolSchedule(update), withsizesnow optional. Sessions gainautomaticSizing(create) andmemoryMb(update). Billing usage items become asession|warm-poolunion. Artifacts list items addassetUrl. Project/snapshot/build responses dropincludeDeps/includeSkills. See tembo/mcp#29 for details.Scalar
npm run schema:fetchandnpm run schema:prepare.scalar document validatepasses. The snapshot is byte-identical to chore(openapi): refresh public API snapshot for v0.2.881 mcp#29.tembo/tembo-eight-pr-verificationas2.0.40595111176with--no-current. The registry's current version is still2.0.1792000868.0.5.10, and Scalar built it (oVyn1k00ZNOl5HtvCahlE) with the previous mappings. That build synced the field changes and dropped the three removed operations (e4d7412).tembo/tembo-sdk, creating SDK version0.5.11on API2.0.40595111176. All other hosted settings, including thetypescript,rust, andpythontargets, are unchanged. Before the edit, the hosted resources matched this repo's committed mappings exactly, and afterward they match this PR'sscalar.config.json.0.5.11(bhJ3d7hxEAbmoY8QsmiqX). Scalar generatede23c1cb(addsusers.environmentVariables.list/create/delete), synced it intoscalar-next(2e8b4ef), and refreshed release PR release: 0.17.0 #61. The same build synced tembo/tembo-rs (release PR release: 0.5.0 tembo-rs#6) and tembo/sdk-python (release PR release: 0.6.0 sdk-python#8).This branch includes the updated
scalar-next, so the snapshot, manifest, and mappings match. Release PR #61'scontractscheck currently fails only on this snapshot/manifest parity (the manifest has the new operations butscalar-nextstill has the old snapshot). It should pass once this PR is merged intoscalar-next.Verification
On this branch (generated
scalar-next+ refreshed snapshot + mappings), with Node 24:npm run typecheck: passesnpm test: 38 passed, 0 failed, 1 skipped (the dev live test, which needs credentials). Strict schema/manifest/mapping parity passes withoutALLOW_PENDING_SCALAR_MAPPINGS.node scripts/refresh-schema.mjs: public contract unchanged against productionnpm pack --dry-runandbiome format .: passThe release PR was not merged and the version was not promoted.