Skip to content

Fix E2B builder sibling imports - #8

Merged
sam2tom merged 1 commit into
mainfrom
codex/e2b-builder-import-path
Oct 4, 2026
Merged

sam2tom merged 1 commit into
mainfrom
codex/e2b-builder-import-path

Conversation

@sam2tom

@sam2tom sam2tom commented Oct 4, 2026

Copy link
Copy Markdown

The chunk-upload wrapper executes the selected template builder with runpy, which does not add the script directory to Python's import path. The beta builder therefore fails before upload when importing helper_contract_generated.

Add the selected builder's directory to sys.path before execution, matching direct Python script execution. Validation: loading the actual main and beta builders through the extracted wrapper with --help, actionlint, shellcheck, diff checks, and the existing pinned-SDK chunk and recovery tests.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@sam2tom
sam2tom merged commit 63656a5 into main Oct 4, 2026
22 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