Skip to content

Preserve callable SWB run entry point across import orders - #8

Merged
yuyi13 merged 1 commit into
mainfrom
codex/swb-run-import-order-20261017
Oct 17, 2026
Merged

yuyi13 merged 1 commit into
mainfrom
codex/swb-run-import-order-20261017

Conversation

@yuyi13

@yuyi13 yuyi13 commented Oct 17, 2026

Copy link
Copy Markdown
Owner

Importing pysweb.swb.run before calling pysweb.swb.run(...) could replace the package entry point with a non-callable module and stop a composed workflow after calibration. Make the run module callable, following the preprocessing and calibration entry points, and retain the public API's missing-input validation and dispatch. Remove import-time attempts to overwrite the parent attribute.

Regression coverage includes submodule-first, API-first and package-first imports in fresh interpreters, module aliases, dispatch, validation and module CLI execution. Gadi job 181498178 passed all 405 tests, source/wheel builds, the offline paired workflow and installed-wheel demo/API checks in the preserved project runtime. The tested tree is 8b0be2c70c100bd5f892fe0b9e27ddcc255d9acb; solver and scientific calculations are unchanged.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 17, 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-17T21:43:49.794338Z e2533a8 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.

@yuyi13
yuyi13 merged commit b4e63fd into main Oct 17, 2026
6 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