Skip to content

fix: drop unreferenced runtime stubs - #2810

Merged
groupthinking merged 1 commit into
mainfrom
cursor/runtime-dead-stubs-3cca
Nov 24, 2026
Merged

groupthinking merged 1 commit into
mainfrom
cursor/runtime-dead-stubs-3cca

Conversation

@kk-agent

@kk-agent kk-agent commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Canonical issue

Closes #2811

Outcome

Unreferenced runtime placeholders are gone, and the remaining MCP import uses the live coordinator instead of the removed src/mcp/ tree.

Scope

  • Included:
    • Deleted src/integration/api_gateway.py, performance_monitor.py, component_registry.py, context_manager.py, mcp_orchestrator.py, and src/analysis/code_structure_analyzer.py after a fresh search found no callers.
    • Pointed src/agents/openai_dev_task_manager.py at MCPVideoProcessorServer in src/agents/mcp_ecosystem_coordinator.py.
    • Recorded transcript length from the extractor result the coordinator already holds.
    • Stopped SDK comments, CodeRabbit, and the live MCP docs from citing src/youtube_extension/backend/api/v1/models.py or src/mcp/mcp_video_processor.py as present files. The remaining schema is sdk/python/eventrelay_sdk/types.py.
  • Explicitly excluded:
    • src/integration/gemini_video_fix.py (parametrized tests still import it).
    • apps/web, pricing, Video Pack, G.A.T.E., nightly audit, .claude/skills, .agents/skills, and historical audit docs.
    • CLAUDE.md and AGENTS.md: on current main they do not assert packages/, litert-mcp, shared-state, or genkit-wrapper.
    • CI: the Python lint job already targets src/youtube_extension/main.py. The pr-iteration packages/** entry is an allowlist glob, not a required checkout.

Risk

  • Risk level: low
  • Failure mode: OpenAIDevTaskManager now calls the live processor. A successful process still has to clear the existing gates (at least 5 transcript segments and 2 actions).
  • Rollback: revert this commit.

Verification

Head 23f59c69ddaa5a4a1690081d8c6e4802186e888c.

  • Focused tests: python3 -m pytest tests/unit/test_runtime_dead_stubs.py -q --tb=line --no-cov — 5 passed. integration.gemini_video_fix cases in tests/unit/test_gemini_parameters.py passed. Three unrelated gateway cases in that file failed in this sandbox because PIL is not installed; that file was not edited.
  • Required CI
  • Review threads resolved

Production evidence

Not applicable. This change deletes unused Python modules and corrects imports and docs. It does not deploy or change a live route.

Agent handoff

  • One canonical issue is linked
  • No competing PR implements the same issue
  • Acceptance criteria are satisfied
  • Required checks pass on the current head
Open in Web Open in Cursor 

Remove integration placeholders with no callers and point the remaining MCP import at the live coordinator.

Co-authored-by: KK <kk-agent@users.noreply.github.com>
@vercel

vercel Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
v0-uvai Ready Ready Preview, v0 Nov 23, 2026 11:43pm UTC

@github-actions github-actions Bot added documentation Improvements or additions to documentation javascript Pull requests that update javascript code labels Nov 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔍 PR Validation

⚠️ Large PR detected (708 lines changed)

@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Repository reconciliation: this PR does not reference exactly one canonical issue.

Please add a Closes #<issue> reference in the PR description so it can be tracked against the delivery plan.

See governance: #898

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T23:43:49.388514Z 23f59c6 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@groupthinking
groupthinking merged commit 90ab9e3 into main Nov 24, 2026
45 of 46 checks passed
@groupthinking
groupthinking deleted the cursor/runtime-dead-stubs-3cca branch November 24, 2026 18:32

This branch was successfully deployed

1 active deployment
Preview — 23f59c69 Deployed Nov 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation javascript Pull requests that update javascript code python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Delete unreferenced runtime stubs

3 participants