Repository navigation
Conversation
Member
|
Note Grok responding on behalf of Julius. Thanks for working on this! #17571 just landed on main and fixes the same bug (#15131): |
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.
Authorized calls to
t3_environment_preferences_updaterequireThreadCommandExecutor, but the application runtime supplies that service only privately to other consumers. Export the same existing layer from the shared runtime so the production MCP context receives it and Effect layer memoization preserves the shared thread lock.This is a missing-dependency correction for the existing tool, related to #15131. The production change is one line. It changes no preference defaults, permission rules or settings contract.
Related open PR #15337 fixes the same defect at the older MCP registration boundary. This PR uses the shared runtime boundary on base
ec80933ac8cd02fec5c97b342462ccc9567cdb1e. The earlier proposal needs adaptation to maintained toolkit/context APIs; maintainers should select one implementation. This draft's distinct coverage includes OAuth client access, preservation of custom instructions and caller-mode rechecks while waiting for a thread lock.Validation at head
886a31860b8aebbcc6c2066d5b38881f1960e9e4, Linux and Node 24.13.1 with frozen-lockfile dependencies:Service not found: t3/orchestration-v2/ThreadCommandExecutor.GOMAXPROCS=1.--noEmit --project apps/server/tsconfig.json --checkers 1 --extendedDiagnostics, through the worker's boundedt3-checkwrapper (2 CPUs, 2.5 GiB soft / 3 GiB hard RAM, no swap, 256 tasks). It retained all configured TypeScript and Effect diagnostics. After 900 seconds, systemd ended the scope for runtime timeout and killed the checker after the five-second stop timeout: exit 137, elapsed 905.41 seconds, reported memory peak 2.7 GiB, no compiler diagnostics. This was a timeout under memory pressure, not a proven source type error or OOM. No further heavy retry was made.action_required; no completed CI typecheck is claimed.The regression uses the maintained toolkit registration helper, real runtime export and test settings. It does not start the complete installed server, execute a real provider turn or write live preferences. The PR remains draft while package validation and the overlapping proposal are unresolved; upstream maintainers retain the implementation and merge decision.
Implemented and assessed with GPT-6.1 Sol High through the Codex harness in T3 Code, retaining the selected Codex account and Standard service.