Repository navigation
Description
Idle IDE chat repeatedly remounts and interrupts IME composition when account-query errors change
What version of the IDE extension are you using?
openai.chatgpt, stable version 26.928.31416.
The behavior also occurred before switching from a preview installation to stable. Switching to stable did not by itself resolve it.
What subscription do you have?
ChatGPT sign-in. The subscription tier has not been recorded for this report.
Which IDE are you using?
VS Code 1.135.0 on macOS, using Remote SSH to a Linux server.
What platform is your computer?
Local: Darwin 25.1.0 arm64 arm (uname -mprs). Remote extension host: Linux x86_64.
What issue are you seeing?
An authenticated local chat visibly flickered approximately every 3–4 seconds, including while idle. Its transcript briefly disappeared and returned. The composer DOM node was repeatedly replaced, interrupting Chinese IME composition: after a few characters, the composition could become unconverted pinyin.
The extension host also logged repeated account-query fetch failures. I do not claim that all network failures cause this issue, or that every error/retry transition was individually timestamp-correlated.
What steps can reproduce the bug?
Observed reproduction conditions (not yet a minimal deterministic reproduction):
- Use VS Code on macOS with a Linux Remote SSH extension host and the extension version above.
- Sign in with ChatGPT and open an existing local conversation in the Codex IDE webview.
- In the affected environment, account-query requests repeatedly fail/retry. Leave the conversation idle and observe its transcript and composer for at least 20 seconds.
- Try composing a sentence with a Chinese IME. During the flicker, the composer can be recreated and composition is interrupted.
What is the expected behavior?
Account-metadata fetch errors and retries should not unmount the active conversation or replace its composer DOM node. The transcript should remain visible and IME composition should continue uninterrupted, while existing permission and account-deactivation behavior remains intact.
Additional information
Runtime evidence
- Before the workaround, a 20-second observation recorded repeated transcript disappearance, including ten content-state transitions.
- A bounded DOM diagnostic confirmed repeated replacement of the
contenteditableelement. - React Fiber inspection identified
MJnas the highest recreated component; its parentvfiretained its instance. The account-root key and the local-thread layout wrapper branch remained stable.
Candidate root cause
In webview/assets/app-initial-9cbfb5c07b41.js, vfi receives an account-query error as c and alternates between a wrapper and its bare children:
H = c == null ? jsx(S4e, { children: V }) : V;S4e resolves to MJn (nZ) from app-initial-4bd9e54bcd58.js. This component always returns its children; it only reads the router location and uses memoization. Adding/removing it changes the React tree shape and recreates the descendant conversation and composer.
Targeted local workaround
Keep that component mounted:
H = jsx(S4e, { children: V });The existing m permission/account-deactivation checks and dfi branch remain unchanged. No authentication, proxy, or backend configuration was changed by this workaround.
Validation and limitations
The patched JavaScript passes syntax checking. An independent source review confirmed that the wrapper has no access-control behavior. After loading the patch, 65 read-only accessibility snapshots over 16 seconds showed persistent conversation content and composer, with no empty samples. Before the patch, the same symptom recurred within this observation duration.
This is a short observation, not a guarantee about all scenarios. Sustained use and real IME composition still need user verification. Temporary instrumentation was removed. Updating or reinstalling the extension may replace the local workaround.
Suggested regression coverage
Render the authenticated local conversation while the account-query error transitions between absent and present/retrying. Verify that the conversation subtree and the composer DOM node retain identity and that IME composition is not interrupted. Preserve the existing account-deactivation and permission behavior.
Activity
github-actions commentedon Oct 1, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
DoraemonXia commentedon Oct 1, 2026
Thanks for flagging these related reports. I reviewed both:
/meand/accounts/optimized/check, HTTP 403). Those observations may also be consistent with a remounting UI subtree, although that report explicitly does not establish causality.These could be manifestations of a shared frontend defect. The platform/product difference (Windows desktop versus macOS VS Code with a Linux Remote SSH extension host) does not rule out a duplicate.
This report adds a candidate code-level explanation in the IDE build:
vficonditionally inserts/removes theS4e/MJnwrapper depending on the account-query error. React Fiber and DOM inspection identified the remount boundary and replacement of the composer. Keeping that wrapper mounted was followed by a short observation without transcript disappearance or a missing composer. This remains limited validation, not a guarantee of a complete fix.I have not inspected the affected Windows desktop bundles or confirmed that they contain the same conditional wrapper and error transitions. For now, I am keeping this issue open as related diagnostic evidence, rather than asserting that it is a distinct bug or a confirmed duplicate. If the shared root cause is confirmed, this report can be consolidated with the appropriate existing issue and closed as a duplicate, preserving the code-level findings and regression-test suggestion.
DoraemonXia commentedon Oct 1, 2026
Additional observation from the same environment: queued message steering can silently do nothing
This may be a separate defect. I have not established a shared root cause with the remounting issue above.
Environment: VS Code on macOS with a Linux Remote SSH extension host, openai.chatgpt stable 26.928.31416, using an npm CLI 0.159.3 app-server. The narrow wrapper workaround described above was installed when this occurred; no queue/admission logic was patched. This is not yet a clean-build or deterministic reproduction, and a relationship to the workaround has not been ruled out.
Observed behavior:
Static inspection of this installed build places that error in the queue adapter's pre-dispatch checks, before the steering RPC. The same generic error can result from a disposed adapter, queue eligibility failure, admission/control-ownership failure, or a mismatch between the current and captured queued item. It is checked around asynchronous preparation. The error text alone does not show which condition failed or prove that the user edited a message.
The UI handler catches this error, logs the warning, and returns without a user-visible error. That explains the silent failure, but not the underlying state transition. The running CLI is above this build's threadQueue minimum (0.148.0-alpha.14); stale UI version/state information has not been excluded.
Recovery observation:
Suggested diagnostics/regression coverage: distinguish the failed pre-dispatch condition internally; surface a recoverable explanation when a queued steer cannot be dispatched; test queue snapshot and control ownership transitions across async preparation, long-running turns, multiple views, and webview disposal/recreation. Do not bypass the consistency or ownership checks.
No raw session transcripts, queued prompt contents, account identifiers, private server names, or server addresses are included. If this observation should be tracked separately, please advise and I can open a focused issue.
coder-12138 commentedon Oct 3, 2026
Additional user report on 2026-10-03: similar panel flickering and prompt-input interruption persists in Codex VS Code extension version
26.930.31(version exactly as reported).Observed behavior:
Expected behavior: keep the active conversation and prompt composer stable, preserve ongoing input, and allow GPT-6.1 Sol to be used without these interruptions.
This is a user-observed regression report. The account-query/React remount explanation in the original issue has not been independently verified for version 26.930.31. Local OS, VS Code version, subscription tier, Remote SSH status, and diagnostic logs have not yet been provided.
Please investigate whether the existing fix/diagnosis also applies to 26.930.31 and provide a fix or a workaround that retains GPT-6.1 Sol availability.
vovastoock commentedon Oct 5, 2026
I can confirm this issue on Windows as well.
The exact symptoms are:
I tested multiple versions.
26.5917.62051 works normally, but GPT-6.1 Sol is not available there.
26.5928.31416 introduced the flickering and focus reset.
I also tested the newer 26.5930.51102, and unfortunately the problem is still exactly the same.
Rolling back to 26.5917.62051 immediately fixes the flickering, cursor reset, and model picker behavior.
So this does not appear to be related to my VS Code installation, proxy configuration, or Windows setup. It is reproducible specifically on the newer Codex extension builds.
The issue makes the extension practically unusable for normal work. Please keep this issue open until the remount/flicker problem itself is fixed, not only the disappearing or queued messages.
vovastoock commentedon Oct 6, 2026
Update: I tested the newly released VS Code extension version 26.5930.61225 on Windows.
Unfortunately, the issue is still fully reproducible.
Symptoms are unchanged:
I have now reproduced the same regression on:
26.5928.31416
26.5930.51102
26.5930.61225
Rolling back to 26.5917.62051 immediately restores normal UI behavior, although GPT-6.1 Sol is unavailable there.
So the latest release still does not appear to contain a fix for the remount/flicker issue described in this ticket.
EvanZhu0721 commentedon Oct 6, 2026
Additional evidence from the Windows Codex desktop app: the installed desktop bundle contains the same conditional-wrapper pattern described in this issue. This addresses the earlier question about whether the Windows desktop symptoms share that code path.
Environment and observed reproduction
26.928.2636.0and, after an automatic update,26.930.7945.0. The detailed bundle/runtime inspection below is for26.930.7945.0.Runtime and bundle evidence
Bounded DOM, input-event, and React Fiber diagnostics found:
compositionstart, followed about 47 ms later by afocus()call from a ResizeObserver callback, thencompositionendand blur of the old editor. This documents the input disruption; it does not establish ResizeObserver as the initiating cause.pftcomponent belowI$.net::ERR_CONNECTION_RESET.In
app://-/assets/app-primary-c45f4947797f.js,I$reads{data:s,error:c}=jx(). After its existing account-deactivation/access-control branch, its final render selection is:The wrapper is:
It reads the route and returns its children. Adding/removing this component changes the React tree shape even though the returned visual content is identical. This matches the mechanism identified in the original IDE report.
Narrow workaround and validation limits
For this one desktop session, a reversible runtime patch made JSX creation return
props.childrenonly when the component type was exactly thispftwrapper. This keeps the success/error branches structurally consistent. All other JSX calls, the existing account-deactivation/access-control branch, and network configuration were left unchanged. The installed MSIX/ASAR files were not edited.After one final transition out of the cached old wrapper, no further whole-layout removal was recorded for approximately 2 minutes 50 seconds, although error events continued. The user also reported that the visible redraw had stopped during this observation. This is short-term evidence supporting the diagnosis, not proof of a permanent or comprehensive fix. Normal local editor changes were counted separately from whole-layout removal.
Suggested upstream fix / regression coverage
Keep the component hierarchy stable when the account-metadata query transitions between success, error, and retry states, while preserving the existing account-deactivation and permission behavior. Assert that the conversation subtree and composer DOM node retain identity, including during active IME composition and while idle.
This may help consolidate the related Windows desktop reports, including #50364; their individual network failures have not been proven identical. No raw transcripts, typed text, account identifiers, credentials, or local filesystem paths are included here.
AuricTW commentedon Oct 30, 2026
I also experience intermittent interruption of Chinese IME composition in the Codex desktop app on Windows.
OpenAI.Codex 26.1027.3384.0Sometimes a terminal window pops up while Codex is in use, and the Chinese text I am composing is interrupted before I press Enter to confirm the candidate. In some cases I have to retype the affected text.
The interrupted IME composition resembles the reports in this issue. I have not established whether the terminal popup and the UI remount described here share a root cause, and I have not captured a process trace or a reliable reproduction yet.
JayhZz commentedon Nov 4, 2026
Additional confirmation: Windows VS Code + Remote SSH to Ubuntu (Chinese IME interruption)
I encountered the same behavior while using the Codex VS Code extension on Windows, connected to Ubuntu via Remote SSH.
Observed behavior
26.930.51102(as displayed; I have not independently verified the build ID).Confirmed workaround
26.917.62051, both the periodic flickering and Chinese IME composition interruptions disappeared in my environment.Suggestion for maintainers
This looks like a version-dependent regression in the Codex chat UI in a Remote SSH setup, although I have not captured logs or confirmed the precise cause. Please investigate whether the account-query error/retry-related component remount described in the issue also occurs in affected newer builds. A regression test could retain the identity of the chat composer across account-query loading/error/retry transitions and verify uninterrupted
compositionstart→compositionendhandling with a Chinese IME.The rollback is a temporary user-level workaround, not a source-level fix. Thanks!
JackieYangon commentedon Nov 4, 2026
Additional confirmation: Windows VS Code + Remote SSH to Ubuntu (Chinese IME interruption)
I encountered the same behavior while using the Codex VS Code extension on Windows, connected to Ubuntu via Remote SSH.
Observed behavior
26.930.51102(as displayed; I have not independently verified the build ID).Confirmed workaround
26.917.62051, both the periodic flickering and Chinese IME composition interruptions disappeared in my environment.Suggestion for maintainers
This looks like a version-dependent regression in the Codex chat UI in a Remote SSH setup, although I have not captured logs or confirmed the precise cause. Please investigate whether the account-query error/retry-related component remount described in the issue also occurs in affected newer builds. A regression test could retain the identity of the chat composer across account-query loading/error/retry transitions and verify uninterrupted
compositionstart→compositionendhandling with a Chinese IME.The rollback is a temporary user-level workaround, not a source-level fix. Thanks!