Skip to content

Promote js_repl to experimental with Node requirement#12712

Merged
fjord-oai merged 1 commit intomainfrom
fjord/js_repl_experimental
Feb 25, 2026
Merged

Promote js_repl to experimental with Node requirement#12712
fjord-oai merged 1 commit intomainfrom
fjord/js_repl_experimental

Conversation

@fjord-oai
Copy link
Contributor

@fjord-oai fjord-oai commented Feb 24, 2026

Summary

  • Promote js_repl to an experimental feature that users can enable from /experimental.
  • Add js_repl experimental metadata, including the Node prerequisite and activation guidance.
  • Add regression coverage for the feature metadata and the /experimental popup.

What Changed

  • Changed Feature::JsRepl from Stage::UnderDevelopment to Stage::Experimental.
  • Added experimental metadata for js_repl in core/src/features.rs:
    • name: JavaScript REPL
    • description: calls out interactive website debugging, inline JavaScript execution, and the required Node version (>= v24.13.1)
    • announcement: tells users to enable it, then start a new chat or restart Codex
  • Added a core unit test that verifies:
    • js_repl is experimental
    • js_repl is disabled by default
    • the hardcoded Node version in the description matches node-version.txt
  • Added a TUI test that opens the /experimental popup and verifies the rendered js_repl entry includes the Node requirement text.

Testing

  • just fmt
  • cargo test -p codex-tui
  • cargo test -p codex-core (unit-test phase passed; stopped during the long tests/all.rs integration suite)

@Szpadel
Copy link

Szpadel commented Feb 24, 2026

Is 24.13.1 minimal version is really required?
Maybe dropping it a little would greatly improve compatibility
Most Linux distributions do not ship this version yet

@fjord-oai fjord-oai force-pushed the fjord/js_repl_experimental branch 6 times, most recently from 36e1ad0 to 7805734 Compare February 25, 2026 05:09
@fjord-oai fjord-oai force-pushed the fjord/js_repl_experimental branch 2 times, most recently from ea9c71a to 485e2fe Compare February 25, 2026 16:54
@fjord-oai fjord-oai force-pushed the fjord/js_repl_experimental branch from 485e2fe to 5f735ce Compare February 25, 2026 17:09
@fjord-oai fjord-oai merged commit 0543d0a into main Feb 25, 2026
37 of 39 checks passed
@fjord-oai fjord-oai deleted the fjord/js_repl_experimental branch February 25, 2026 17:44
@github-actions github-actions bot locked and limited conversation to collaborators Feb 25, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants