Skip to content

chore: sync infra OpenAPI specs#485

Open
e2b-generated-code-auto-fixer[bot] wants to merge 2 commits into
mainfrom
chore/sync-infra-specs
Open

chore: sync infra OpenAPI specs#485
e2b-generated-code-auto-fixer[bot] wants to merge 2 commits into
mainfrom
chore/sync-infra-specs

Conversation

@e2b-generated-code-auto-fixer

Copy link
Copy Markdown
Contributor

This PR syncs OpenAPI specs from e2b-dev/infra:

  • spec/openapi.infra.yaml
  • spec/openapi.dashboard-api.yaml

It also regenerates dependent TypeScript API types and applies formatting/lint autofixes.


This PR was automatically created by the sync-infra-specs workflow.

@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
web Ready Ready Preview, Comment Jun 30, 2026 4:12pm

Request Review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d77cb56d48

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@@ -4,1656 +4,1654 @@
*/

export interface paths {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Format the regenerated contract files

The regenerated contracts are committed in openapi-typescript's default formatting here (4-space indentation, double quotes, semicolons), but biome.json enforces 2-space indentation, single quotes, and semicolons-as-needed, and these contract files are not ignored. In the inspected repo this will make bun run check/format:check report formatting changes for the regenerated contract files, so the sync should run the generated output through Biome before committing.

Useful? React with 👍 / 👎.

memoryMB: components["schemas"]["MemoryMB"];
diskSizeMB: components["schemas"]["DiskSizeMB"];
/** @description Whether the sandbox ended more than the retention window ago, so its monitoring, events, and logs data is no longer available */
retentionExpired: boolean;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Thread retentionExpired through the sandbox model

This new required response field says whether monitoring, events, and logs are no longer available, but it is not propagated by mapApiSandboxRecordToModel, so the sandbox UI still infers retention from startedAt in the logs/monitoring flows. For a killed sandbox that ran longer than the retention window but ended recently, the API can return retentionExpired: false while the dashboard still treats empty log results as expired and may request an over-retention monitoring range; please expose this field on SandboxDetailsModel and use it instead of the startedAt heuristic.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant