Auto Compaction and Manual Compaction Error

Resolved 💬 5 comments Opened Nov 19, 2025 by human-bee Closed Dec 11, 2025

What version of Codex is running?

0.59

What subscription do you have?

Pro

Which model were you using?

gpt-5.1-codex-max xhigh

What platform is your computer?

macOS 26

What issue are you seeing?

at 2% context window:

■ Error running remote compact task: invalid type: null, expected a string at line 212 column 4

• Ran cd /Users/bsteinher/PRESENT && fnm exec --using=22.18.0 npm run stack:stop -- --livekit --sync --web || true
  └
    > components@0.1.0 stack:stop
    … +5 lines
    [PortGuard] killing TCP listener 97096 on :7880
    All dev services stopped (or no pid files found).

■ Error running remote compact task: unexpected status 500 Internal Server Error: {
  "error": {
    "message": "The server had an error processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if you keep
seeing this error. (Please include the request ID 0078d846-c945-4f55-a55c-4f813e53a6ee in your email.)",
    "type": "server_error",
    "param": null,
    "code": null
  }
}

• Ran cd /Users/bsteinher/PRESENT && kill 97071 97169 97273 97371 97096 2>/dev/null || true
  └ (no output)

■ Error running remote compact task: unexpected status 500 Internal Server Error: {
  "error": {
    "message": "The server had an error processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if you keep
seeing this error. (Please include the request ID 439b41f7-5b45-456f-8507-174c19a3a164 in your email.)",
    "type": "server_error",
    "param": null,
    "code": null
  }
}

■ Error running remote compact task: invalid type: null, expected a string at line 212 column 4

• Ran cd /Users/bsteinher/PRESENT && jq '.shapes | length' docs/parity/poster-shadow-2025-11-19T20-40-19-3NZ-doc.json
  └ 0

■ Error running remote compact task: invalid type: null, expected a string at line 212 column 4

• Feedback uploaded. Please open an issue using the following URL:

  https://github.com/openai/codex/issues/new?template=2-bug-report.yml&steps=Uploaded%20thread:%20019a52b6-9479-7112-9168-cb822ad9b07c

  Or mention your thread ID 019a52b6-9479-7112-9168-cb822ad9b07c in an existing issue.

■ Turn aborted: replaced by a new task

■ Error running remote compact task: invalid type: null, expected a string at line 212 column 4


• Feedback uploaded. Please open an issue using the following URL:

  https://github.com/openai/codex/issues/new?template=2-bug-report.yml&steps=Uploaded%20thread:%20019a52b6-9479-7112-9168-cb822ad9b07c

  Or mention your thread ID 019a52b6-9479-7112-9168-cb822ad9b07c in an existing issue.

■ Error running remote compact task: invalid type: null, expected a string at line 212 column 4

What steps can reproduce the bug?

Uploaded thread: 019a52b6-9479-7112-9168-cb822ad9b07c

What is the expected behavior?

infinite context window

Additional information

:)

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗