Skip to content

feat(e2b): support verified template compute profiles - #55

Merged
sam2tom merged 1 commit into
mainfrom
feat/e2b-compute-build
Oct 24, 2026
Merged

sam2tom merged 1 commit into
mainfrom
feat/e2b-compute-build

Conversation

@sam2tom

@sam2tom sam2tom commented Oct 23, 2026

Copy link
Copy Markdown

The E2B template workflow can build a separate 2 vCPU / 8 GiB or 4 vCPU / 8 GiB template while keeping 2 vCPU / 2 GiB as its default. Fresh and resumed builds verify the exact immutable build's CPU and memory before upload and preserve the build receipt on validation failure. Default builds from historical source revisions still omit the new optional builder argument.

Validation: all 15 E2B Python unit tests pass on Python 3.14; seven workflow shell blocks and embedded Python compile; independent review found no remaining actionable findings. No live E2B build or deployment was performed. This does not change Core's deployed default resources; per-session selection is a separate change.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-23T09:30:01.638044Z 2952be0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@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: 2952be00df

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +203 to +205
case "$COMPUTE_PROFILE" in
2c2g) ;;
2c8g|4c8g) compute_args=(--compute-profile "$COMPUTE_PROFILE") ;;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Pass the selected compute profile explicitly

When 2c2g is selected, this branch deliberately omits the flag to preserve compatibility with historical source parsers. That makes the operator’s selection depend on the checked-out builder’s implicit default; if a selected beta or later source changes that default, the subsequent check still accepts it because it compares E2B’s allocation with that same builder’s kwargs rather than with COMPUTE_PROFILE. Require the selected revision to support the interface and pass --compute-profile 2c2g explicitly instead of retaining this compatibility fallback.

AGENTS.md reference: AGENTS.md:L59-L61

Useful? React with 👍 / 👎.

@sam2tom
sam2tom merged commit 374e414 into main Oct 24, 2026
26 checks passed
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.

1 participant