Bugbot is paused — on-demand spend limit reached
Bugbot uses usage-based billing for this team and has hit its on-demand spend limit.
A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue.
Part 9/16 of the shared-core and MCP stack. Based on #10558. Next: #10560.
Expose the existing PreviewManager list and explicit-tab close operations for the calling thread.
The existing preview capability and browser-access setting are required. Close uses the existing server/host lifecycle and does not claim renderer cleanup has finished. Broker race hardening is separate.
MCP-only rebuild of #8724, preserving attribution to Julius Marminge's original work. Original branches remain available for separate service follow-ups.
Validation: The composed stack passes 94 tests across 12 focused files, including shared core MCP and real MCP/V2 integration, attachment intake, project RPC/service contracts, and client model command selection. Server/contracts/shared/client-runtime typechecks and targeted format/lint/diff checks pass. New behavior coverage lives with the shared operation; no per-tool mock suite was added. Current-head CI is shown below.
Layer size: 7 files, +102/-1. No domain-service production implementation or documentation files change in this MCP layer.
Prepared with Codex in the OpenAI agent runtime.
Bugbot uses usage-based billing for this team and has hit its on-demand spend limit.
A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue.
Verdict: Not approved
Macroscope's review found this PR not approvable — This PR adds two production MCP capabilities for preview-tab discovery and closure, including a destructive close operation and a broader read-only Claude tool surface. The implementation is scoped and gated by existing preview permissions, but the new runtime behavior is not directly covered by tests, so human review is warranted.
No code changes detected at bcb7b21. Prior analysis still applies.
You can add or adjust custom eligibility rules. Learn more.
⚠️ The latest CI run did not produce a thread transfer result for bcb7b21.
This comment will update automatically after the next completed run.
| … | … | @@ -0,0 +1,41 @@ | |
| 28 | + | ...result, | |
| 29 | + | sessions: result.sessions.slice(start, end), | |
| 30 | + | nextCursor: end < result.sessions.length ? end : null, | |
| 31 | + | }; | |
These handlers add new backend behavior that nothing exercises: the enableAgentBrowserAccess gate (capability_denied) and the list pagination arithmetic (cursor ?? 0, limit ?? 20, nextCursor = end < sessions.length ? end : null). No test invokes t3_preview_list/t3_preview_close — core.test.ts only checks tool names and schemas.
Consider adding a focused toolkits/previewControls/handlers.test.ts that provides ServerSettings.layerTest({ enableAgentBrowserAccess: false }) plus a PreviewManager test layer and asserts the denial shape, one paged slice with a non-null nextCursor, and the final page returning null (test layers for the settings/manager boundary only, no mocking of the handler logic itself).
Posted via Macroscope — Effect Service Conventions
Following the maintainer-requested thin-MCP testing boundary, this uses the existing PreviewManager and browser-access setting, with no broker/lifecycle implementation change. The shared core suite checks registration/object schemas/capability/error handling, and the manager retains its own behavior tests. The offset slice is straightforward response shaping, not a new paging protocol. No concrete incorrect behavior was identified, so we are not adding a standalone preview-handler mock suite for forwarding and null/default arithmetic.
The manager tests do not exercise this handler’s response shaping, and the pagination branch remains untested. A focused handler-level test is still warranted for the cursor/limit/nextCursor contract.
Bugbot uses usage-based billing for this team and has hit its on-demand spend limit.
A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue.
Bugbot uses usage-based billing for this team and has hit its on-demand spend limit.
A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue.
Bugbot uses usage-based billing for this team and has hit its on-demand spend limit.
A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue.
Added 1 commit
Bugbot uses usage-based billing for this team and has hit its on-demand spend limit.
A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue.