Repository navigation
Run WASI suites through the standard test runner - #9804
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Use the mounted checkout as the guest working directory and load source-backed tests through regrtest. Add seven suites and restore three passing snippets without changing CPython tests. Assisted-by: Codex:unreported
Head branch was pushed to by a user without write access
4e1c5d3 to
d2ebb19
Compare
Summary
-m testrunner through the same launcher used by snippets.PWDto the mounted checkout. RustPython already uses this variable for WASI startup; Wasmer's--cwddoes not change WASI preview 1's cwd.-X frozen_modules=offso traceback and source-sensitive tests read the checkout rather than frozen modules. Keep the standard resource policy explicit with-u none.test_unpack,test_unpack_ex,test_ntpath,test_calendar,test_math,test_hashlib, andtest_unicodedata. Re-enable the passingbuiltin_hash,builtin_open, andstdlib_typessnippets.No CPython test files or interpreter behavior are changed. CPU-heavy and other opt-in resource tests remain disabled.
test_sort, threading, mmap, and network expansion are outside this change.Validation
sys.executable, nonzero exit for a deliberately failing suite (2), and exact propagation ofSystemExit(17).bash -n,actionlint, pre-commit hooks, andgit diff --checkpass. Zizmor reports the same four pre-existing low-severityself-repositoryfindings as main, with no new findings.AI assistance: Codex assisted with implementation, validation, and this PR description. The runtime did not expose an exact model version.
Summary by CodeRabbit