GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||
GeezerVison is showing github.com — fix(mcpx): handle missing FunctionName in Bun CallSite and match console strings to runtime by dezren39 · Pull Request #7145 · developing-today/code Conversation
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 48 minutes. View limit details
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. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: 4abef90e23
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| patch(name, (...args: unknown[]) => emitRecord(level, { console: name }, render(args), [])); | ||
| if (isBun) { | ||
| patch(name, (...args: unknown[]) => { | ||
| original[name]?.apply(c, args); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Keep Bun diagnostics on the structured stderr path
When Bun is selected, invoking the original methods sends console.info, console.debug, console.dir, and console.table directly to stdout rather than the diagnostic record stream (verified with Bun 1.2.14). The runner forwards runtime stdout directly to the result output, so a script that logs progress and returns JSON now contaminates its result with diagnostic text, breaking consumers that parse stdout. Native output also bypasses log-level filtering, while the subsequent file-only record suppresses structured terminal formatting. Keep these methods routed through the structured stderr writer instead of invoking their native stdout implementations.
AGENTS.md reference: pkgs/mcpx/AGENTS.md:L53-L54
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Disposition (task 14681, lane code-p): agreed — this finding is valid and it is one of the reasons PR #7145 is being closed rather than merged.
The Bun branch of the console patch calls the original console methods for info/debug/dir/table, which writes diagnostics to stdout — the script's result stream — instead of keeping them on the structured record path. Combined with the branch being 6499 commits behind current main and the PR's test changes weakening the captureFrames assertion to accept an empty function name under Bun, this approach is not being carried forward. The underlying Bun fidelity gap (CallSite FunctionName + console formatting, with stdout purity as a hard constraint) is filed as a fresh issue against current main so the lead is not lost.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Agent note — state: done (closed, not merged) · task 14681, lane code-p Closing PR #7145 without merging, per the shepherd decision on task 14681 (batch triage task 12908 routing, batch owner issue #7297):
Nothing in this PR is unique relative to that follow-on: the emit.go changes are exactly the approach rejected above, and the test changes are the weakened assertions. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.