tests(js_repl): remove node-related skip paths from js_repl tests#12185
Merged
tests(js_repl): remove node-related skip paths from js_repl tests#12185
Conversation
8e322f1 to
a6b16fb
Compare
870e89d to
3947cd5
Compare
3947cd5 to
b32da8d
Compare
b32da8d to
83af341
Compare
83af341 to
7d559bb
Compare
7d559bb to
e81a6a2
Compare
e81a6a2 to
0faafc1
Compare
9334c31 to
475a978
Compare
fjord-oai
added a commit
that referenced
this pull request
Feb 20, 2026
## Summary Install Node in the Bazel remote execution image using the version pinned in `codex-rs/node-version.txt`. ## Why `js_repl` tests run under Bazel remote execution and require a modern Node runtime. Runner-level `setup-node` does not guarantee Node is available (or recent enough) inside the remote worker container. ## What changed - Updated `.github/workflows/Dockerfile.bazel` to install Node from official tarballs at image build time. - Added `xz-utils` for extracting `.tar.xz` archives. - Copied `codex-rs/node-version.txt` into the image build context and used it as the single source of truth for Node version. - Added architecture mapping for multi-arch builds: - `amd64 -> x64` - `arm64 -> arm64` - Verified install during image build with: - `node --version` - `npm --version` ## Impact - Bazel remote workers should now have the required Node version available for `js_repl` tests. - Keeps Node version synchronized with repo policy via `codex-rs/node-version.txt`. ## Testing - Verified Dockerfile changes and build steps locally (build-time commands are deterministic and fail fast on unsupported arch/version fetch issues). ## Follow-up - Rebuild and publish the Bazel runner image for both `linux/amd64` and `linux/arm64`. - Update image digests in `rbe.bzl` to roll out this runtime update in CI. #### [git stack](https://github.com/magus/git-stack-cli) - ✅ `1` #12300 - ✅ `2` #12275 - 👉 `3` #12205 - ⏳ `4` #12185 - ⏳ `5` #10673
475a978 to
cbd26e0
Compare
cbd26e0 to
1ee5e2f
Compare
1ee5e2f to
54f479a
Compare
54f479a to
418dd8c
Compare
418dd8c to
2e36025
Compare
2e36025 to
cfd6b97
Compare
cfd6b97 to
ba92351
Compare
git-stack-id: fjord/js_repl_seq---4hsqonw5k_q_2b git-stack-title: tests(js_repl): remove node-related skip paths from js_repl tests
bolinfest
approved these changes
Feb 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Remove js_repl/node test-skip paths and make Node setup explicit in CI so js_repl tests always run instead of silently skipping.
Why
We had multiple “expediency” skip paths that let js_repl tests pass without actually exercising Node-backed behavior. This reduced CI signal and hid runtime/environment regressions.
What changed
CI
codex-rs/node-version.txtin:.github/workflows/rust-ci.yml.github/workflows/bazel.ymljs_repl test harness
codex-rs/core/src/tools/js_repl/mod.rscodex-rs/core/src/tools/handlers/js_repl.rsRemoved skip behavior
can_run_js_repl_runtime_testsand related per-test short-circuits).skip_if_no_network!(Ok(()))Impact
Testing
cargo test -p codex-core(locally) to validate js_repl unit/integration behavior with skips removed.git stack
1js_repl: block wrapped payload prefixes in grammar #123002js_repl: remove codex.state helper references #122753ci(bazel): install Node from node-version.txt in remote image #122054tests(js_repl): stabilize CI runtime test execution #124075feat: update Docker image digest to reflect #12205 #123726tests(js_repl): remove node-related skip paths from js_repl tests #121857Add feature-gated js_repl polling flow #10673