Skip to content

Add metadata field to instances#97

Merged
rgarcia merged 1 commit intomainfrom
feat/instance-metadata
Feb 13, 2026
Merged

Add metadata field to instances#97
rgarcia merged 1 commit intomainfrom
feat/instance-metadata

Conversation

@rgarcia
Copy link
Contributor

@rgarcia rgarcia commented Feb 13, 2026

Summary

  • Adds optional metadata (map of string key-value pairs) to instance creation and response
  • Metadata is stored in instance config alongside environment variables and persisted to disk
  • Returned in GET /instances and GET /instances/{id} responses
  • Changes span domain types, API layer, generated OAPI types, and OpenAPI spec

Test plan

  • Create instance without metadata — verify no regression
  • Create instance with metadata: {"team": "backend", "env": "staging"} — verify stored and returned
  • GET /instances — verify metadata is included in list response
  • GET /instances/{id} — verify metadata is included in detail response

🤖 Generated with Claude Code


Note

Low Risk
Additive API field and persistence wiring with minimal impact on existing flows; main risk is backwards/forwards compatibility with clients expecting strict schemas.

Overview
Adds optional metadata (string map) to instance creation requests and persists it alongside other instance config.

Plumbs metadata through the API -> domain CreateInstanceRequest -> stored instance metadata, and returns it in instance responses when present; updates generated OAPI types and openapi.yaml to document the new field.

Written by Cursor Bugbot for commit bdae368. This will update automatically on new commits. Configure here.

Adds optional `metadata` map[string]string to instances, allowing callers
to attach arbitrary key-value metadata at creation time. Stored alongside
env vars in instance config and returned in GET /instances responses.
Updated domain types, API layer, generated OAPI types, and OpenAPI spec.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link

github-actions bot commented Feb 13, 2026

✱ Stainless preview builds

This PR will update the hypeman SDKs with the following commit message.

feat: Add metadata field to instances
⚠️ hypeman-openapi studio · code

There was a regression in your SDK.
generate ⚠️

⚠️ hypeman-typescript studio · code

There was a regression in your SDK.
generate ❗build ✅lint ✅test ✅

npm install https://pkg.stainless.com/s/hypeman-typescript/705fa54813ccae1f18473ba4b30c27b0646519ca/dist.tar.gz
⚠️ hypeman-go studio · code

There was a regression in your SDK.
generate ⚠️lint ✅test ✅

go get github.com/stainless-sdks/hypeman-go@8ce40145c0f6db8e928efa9c2909521a6d452579

This comment is auto-generated by GitHub Actions and is automatically kept up to date as you push.
If you push custom code to the preview branch, re-run this workflow to update the comment.
Last updated: 2026-02-13 16:06:53 UTC

@rgarcia rgarcia merged commit 5bba7bb into main Feb 13, 2026
4 checks passed
@rgarcia rgarcia deleted the feat/instance-metadata branch February 13, 2026 16:05
@rgarcia rgarcia mentioned this pull request Feb 13, 2026
4 tasks
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.

2 participants