Skip to content

fix: repair E2B runtime builds and stabilize preparation tests - #25

Merged
sam2tom merged 3 commits into
mainfrom
codex/fix-e2b-runtime-builder-20261011
Oct 11, 2026
Merged

sam2tom merged 3 commits into
mainfrom
codex/fix-e2b-runtime-builder-20261011

Conversation

@sam2tom

@sam2tom sam2tom commented Oct 11, 2026 •

Copy link
Copy Markdown

Summary

The E2B template workflow must invoke the current Codex runtime builder and provide the source package directory it expects. Export CODEX_CLI_DIR from the prepared inputs and use scripts/build-codex-runtime.sh alongside the Claude and MiniMax builders so template publication can build current main and beta sources.

Two preparation lifecycle tests used 60/80ms admission deadlines that could expire during workspace setup on loaded CI workers. Give both fixtures a 2s deadline and wait beyond the returned ExpiresAt in the transfer test. Preserve the expiry, stale-handle rejection, and transferred-session ownership assertions without changing production code.

Validation

  • make check-names and actionlint 1.7.12 passed.
  • Actual Codex source-builder runs completed against main and the beta release tree using the pinned Codex 0.153.4 Linux x64 package; Linux amd64 daemon and runtime build context were produced. This does not constitute a Docker image or E2B template build.
  • Both changed preparation cases passed go test -race ... -count=10 (41.746s).
  • git diff --check passed; fresh independent review of the complete diff found no P1/P2 issues.
  • Full CI passed on 9527854fc26788da852ac00e996eac14b6a1a621: https://github.com/sandbaseai/OpenAgentCore/actions/runs/38120381126 (25 successful jobs, including runtime and the aggregate check).

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 11, 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-11T07:10:42.909543Z 9527854 New commits
ℹ️ 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: 151651c8b5

ℹ️ 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 thread .github/workflows/e2b-template.yml Outdated
MCODE_HARNESS_BUILD_DIR="$(python3 -c 'import json,sys; print(json.load(open(sys.argv[1]))["mcode"])' "$inputs")"
CLAUDE_SDK_BUILD_DIR="$output_root/claude-sdk"
export AGENTS_RUNTIME_CODEX_PACKAGE MCODE_HARNESS_BUILD_DIR CLAUDE_SDK_BUILD_DIR
export AGENTS_RUNTIME_CODEX_PACKAGE CODEX_CLI_DIR MCODE_HARNESS_BUILD_DIR CLAUDE_SDK_BUILD_DIR

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 Export only the selected Codex package variable

For both main and beta builds, this exports the same Codex package path under the current and legacy process-setting names even though the selected builder consumes only one. Select the builder first and pass only CODEX_CLI_DIR or AGENTS_RUNTIME_CODEX_PACKAGE to that invocation; this preserves branch support without introducing a second environment-variable alias for the datum.

AGENTS.md reference: AGENTS.md:L53-L57

Useful? React with 👍 / 👎.

@sam2tom sam2tom changed the title Fix E2B template Codex builder and package inputs fix: repair E2B runtime builds and stabilize preparation tests Oct 11, 2026
@sam2tom
sam2tom merged commit 3a2f34b into main Oct 11, 2026
25 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