fix: improve compatibility with current ChatGPT MCP behavior#69
fix: improve compatibility with current ChatGPT MCP behavior#69uniplanck wants to merge 5 commits into
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Works now for some reason |
|
Thanks for the update. Since it started working again without applying this PR, the message-stream error was likely a temporary ChatGPT-side issue rather than the same DevSpace compatibility regression. This PR mainly addresses tool payload size, runtime reliability, and multi-step MCP execution behavior. It may help with some tool-call failures, but I cannot confirm that it fixes that specific message-stream error. |

Summary
This draft proposes a compatibility and runtime-reliability update for the practical MCP execution regression observed after the recent ChatGPT model rollout.
The issue was not limited to GPT-5.6. In the same environment, GPT-5.5 also became materially slower or stalled during multi-step DevSpace operations, despite working normally before the rollout. This PR does not make claims about undocumented OpenAI internals; it reduces eager payload size, repeated context expansion, unnecessary tool round trips, and environment-dependent command failures.
Related to #68.
Main changes
open_workspacepayloads with bounded instruction excerpts and explicit full reads.zshrc,.zprofile, or another login-shell fileRuntime commands
The diagnostic features do not add model-facing MCP Tools. They are intercepted through the existing Bash Tool:
devspace-runtime diagnose [--github] [command ...]devspace-runtime smokedevspace-runtime costsdevspace-runtime finder <path>Finder paths are validated against the active workspace root. GitHub authentication checks report only an authenticated/unauthenticated classification and do not return credentials.
Compatibility kit
The branch includes
compatibility-kit/openai-model-compatibility-2026-07with six ordered patches, an apply preflight, a verification script, architecture notes, and security/privacy documentation. Bundle version is2026.07.2.The updater performs no commit, push, publish, deploy, or user-configuration mutation.
Upstream-first basis
Waishnav/devspacemain6ccefbf6213c56056a98ff52d7bdb27c081d13b9Privacy and branding
The public branch contains no personal paths, private repositories, credentials, private endpoints, personal logs, or custom private branding. Generic test paths are used. The upstream package name and version remain unchanged.
Validation
npm ci: passed, 0 vulnerabilitiesnpm run typecheck: passednpm test: passednpm run build: passedgit apply --check --whitespace=error-allagainst the exact post-0003 source stategit diff --checkThe generated patch-container files encode added blank lines in diff form, so running
git diff --checkon the patch artifacts themselves reports the same container-level whitespace warnings already present in the earlier patch artifacts. The applied source passes whitespace checks, and patch preflight uses--whitespace=error-allsuccessfully.Dogfooding note
The investigation, sanitization, implementation, runtime testing, compatibility-kit update, validation, branch delivery, and PR maintenance were executed from ChatGPT instructions using DevSpace itself. This describes the workflow and is not an endorsement or security guarantee.
This remains a draft because the scope is broad. The runtime additions are included in this PR because they depend directly on the compatibility foundation already proposed here; creating a separate PR before this branch merges would duplicate most of the same source changes.