Closed
Conversation
This was referenced Feb 4, 2026
866343c to
c20105a
Compare
c20105a to
aa06c95
Compare
aa06c95 to
89bfad9
Compare
89bfad9 to
0da0b7e
Compare
0da0b7e to
292be86
Compare
292be86 to
a9522de
Compare
a9522de to
f4a2180
Compare
f4a2180 to
5f3c7b9
Compare
5f3c7b9 to
c495be5
Compare
8334f70 to
68c3b74
Compare
68c3b74 to
9282763
Compare
9282763 to
24b925c
Compare
24b925c to
675dd71
Compare
675dd71 to
41f74d3
Compare
This was referenced Feb 13, 2026
This was referenced Feb 20, 2026
Collaborator
|
@codex review |
Contributor
|
Codex Review: Didn't find any major issues. Keep it up! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
git-stack-id: fjord/js_repl_seq---4hn_deh_pjc2v_ git-stack-title: Add feature-gated js_repl polling flow
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Adds a feature-gated polling mode for
js_repl.With
js_repl_pollingenabled,js_replcan submit async JS executions and immediately return anexec_id/session_id, whilejs_repl_pollprovides incremental logs and final results for that execution.What Changed
Feature flag and tool exposure
js_repl_pollingjs_repljs_repl_pollto the tool spec only when polling is enabledjs_repl_pollcalls injs_repl_tools_onlymode when polling is enabledPolling API
js_replnow accepts polling-related first-line pragma args:poll=truesession_id=<id>js_repl_pollexec_idyield_time_msexec_id,session_id,status,logs,output, anderrorjs_repl_reset{"session_id":"..."}resets a single polling session{}resets alljs_replkernelsPolling runtime
JsReplManagerSemantics and robustness
timeout_ms; callers must usejs_repl_poll.yield_time_msexec_iduntilstatusbecomescompletedorerrorParsing / guidance
js_replparsing to support polling pragma argsdocs/js_repl.mdguidance for the polling flowgit stack
01Add feature-gated freeform js_repl core runtime #1067402Add js_repl host helpers and exec end events #1067203Add js_repl_tools_only model and routing restrictions #1067104Add js_repl kernel crash diagnostics #1166605Fix js_repl view_image test runtime panic #1179606Fix js_repl in-flight tool-call waiter race #1180007Stop filtering model tools in js_repl_tools_only mode #1206908Add optional js_repl isolation and vendored Node runtime #1067009js_repl: canonicalize paths for node_modules boundary checks #1217710js_repl: block wrapped payload prefixes in grammar #1230011js_repl: remove codex.state helper references #1227512ci(bazel): install Node from node-version.txt in remote image #1220513tests(js_repl): stabilize CI runtime test execution #1240714feat: update Docker image digest to reflect #12205 #1237215tests(js_repl): remove node-related skip paths from js_repl tests #1218516Add feature-gated js_repl polling flow #1067317Add multimodal outputs to js_repl polling #1308118refactor js_repl to reuse managed child process infra #13266