codex icon indicating copy to clipboard operation
codex copied to clipboard

Issues with TUI at 147.000 (unified_diff "type": "response_item", "payload": { "type": "custom_tool_call_output",)

Open glook9001 opened this issue 2 weeks ago • 4 comments

image

Unsure if it was addressed already - but it happened in an older version

look at the @@ -427,11 +427,19 @@\n * creating Roblox's native

for openai - you have turn_id and call_id, to look at sentry ...

  • and where the ' in "roblox ' s" causes the slop to break
{
  "timestamp": "2026-08-11T20:26:31.382Z",
  "type": "event_msg",
  "payload": {
    "type": "patch_apply_end",
    "call_id": "exec-8bbcb355-a4e6-44b6-a404-fbe7abe8823c",
    "turn_id": "019ff27f-fac7-7eb2-bef3-8bcdb6432c9f",
    "stdout": "Success. Updated the following files:\nM /home/pepe/Documents/sober/nuah/src/native_runtime.cpp\n",
    "stderr": "",
    "success": true,
    "changes": {
      "/home/pepe/Documents/sober/nuah/src/native_runtime.cpp": {
        "type": "update",
        "unified_diff": "@@ -427,11 +427,19 @@\n    * creating Roblox's native cookie store and is unsafe on this APK.  Keep\n-   * the old diagnostic escape hatch scoped to that call only: the second\n-   * call, immediately before StartGameWithParam, is the authenticated launch\n-   * handoff and must still run or a fresh profile can sit forever at UGCGame\n-   * without ever reaching the renderer. */\n+   * this call disabled by default.  The second call, immediately before\n+   * StartGameWithParam, is the authenticated launch handoff and must still\n+   * run or a fresh profile can sit forever at UGCGame without ever reaching\n+   * the renderer.  Set NUAH_EARLY_COOKIE_PRIME=1 only for an old-runtime\n+   * comparison; NUAH_SKIP_COOKIE_PRIME remains a compatible spelling. */\n   if (early_bootstrap) {\n-    if (const char* skip = ::getenv(\"NUAH_SKIP_COOKIE_PRIME\"); skip && *skip) {\n-    if (const char* trace = ::getenv(\"NUAH_BOOTSTRAP_TRACE\"); trace && *trace)\n-      std::fprintf(stderr, \"nuah cookie: skipping early native-store prime\\n\");\n-    return;\n+    const char* force = ::getenv(\"NUAH_EARLY_COOKIE_PRIME\");\n+    const bool force_enabled =\n+        force && *force && std::strcmp(force, \"0\") != 0;\n+    const char* skip = ::getenv(\"NUAH_SKIP_COOKIE_PRIME\");\n+    const bool skip_enabled = skip && *skip && std::strcmp(skip, \"0\") != 0;\n+    if (!force_enabled || skip_enabled) {\n+      if (const char* trace = ::getenv(\"NUAH_BOOTSTRAP_TRACE\");\n+          trace && *trace)\n+        std::fprintf(stderr,\n+                     \"nuah cookie: skipping early native-store prime\\n\");\n+      return;\n     }\n",
        "move_path": null
      }
    },
    "status": "completed"
  }
}

glook9001 avatar Nov 17 '26 10:11 glook9001

its a continuum of https://github.com/openai/codex/issues/38071#event-36174961093 "call_id": "exec-8bbcb355-a4e6-44b6-a404-fbe7abe8823c", "turn_id": "019ff27f-fac7-7eb2-bef3-8bcdb6432c9f",

glook9001 avatar Nov 17 '26 10:11 glook9001

according to chatgpt @etraut-openai I thikn this might be still a bug - unless diffy was updated

i tried to lok up the https://github.com/bmwill/diffy/commits/master/ but no commits related to '

but i am closing it for now i will try to repoduse it on diffy

image image image image

glook9001 avatar Nov 17 '26 10:11 glook9001

the issue is diffy https://github.com/openai/codex/blob/main/codex-rs/tui/src/diff_render.rs#L35

glook9001 avatar Nov 17 '26 10:11 glook9001

nevermind looks like it was fixed and that its inside https://github.com/openai/codex/commits/main/codex-rs/tui/src/render/highlight.rs

commits/main/codex-rs/tui/src/render/highlight.rs

glook9001 avatar Nov 17 '26 11:11 glook9001