Skip to content

chore: 未完成エントリポイントの棚卸し(main_cli.py以外) - #114

Merged
fukukei23 merged 1 commit into
mainfrom
feature/prune-dead-entrypoints
Jul 27, 2026
Merged

chore: 未完成エントリポイントの棚卸し(main_cli.py以外)#114
fukukei23 merged 1 commit into
mainfrom
feature/prune-dead-entrypoints

Conversation

@fukukei23

Copy link
Copy Markdown
Owner

Summary

  • app.py:73(nexus CLI)の戻り値契約ズレバグ修正(PR fix: nexus CLI run が OrchestratorContext を dict 扱いして必ず AttributeError で落ちる問題を修正 #106)を機に、main_cli.py以外の全エントリポイントを棚卸し(バックログ.md P2タスク)
  • 現役経路(nexus CLIの他コマンド・unified_gradio_ui.pyのDynamic Runタブ含む・bootstrap_apikey.py)は同種の戻り値契約ズレなしと確認
  • src/main_ui.py を削除 — 2025-01「4.5 UI統合」で unified_gradio_ui.py に統合された後の抜け殻。フォールバック先モジュール(app_ui.py等)は db0424d8 で no imports found 確認済みで既に削除済みのため到達不能
  • src/dev_tools/test_manager.py を削除 — 存在しないモジュール(code_generator等)をimportし確実にImportErrorで落ちる、どこからも参照なし
  • tests/ui/test_main_ui.py / test_main_ui_unit.py を削除 — main_ui.py専用のカバレッジ稼ぎ用テスト(実体テストなし)で道連れ削除

Test plan

  • tests/ui/, tests/tools/ — 90 passed, 0 failed
  • フルスイート tests/ — 4904 passed, 1 failed(既存・MiniMax-M2.7MiniMax-M3のモデル名不一致・本PRと無関係), 204 skipped

🤖 Generated with Claude Code

app.py:73(nexus CLI)の戻り値契約ズレバグ修正(PR #106)を機に、
他のエントリポイントに同種バグが眠っていないか全経路を監査。

- nexus CLIの他コマンド・unified_gradio_ui.py(Dynamic Runタブ含む)・
  bootstrap_apikey.pyは契約ズレなしと確認
- src/main_ui.py を削除: 2025-01「4.5 UI統合」でunified_gradio_ui.pyに
  統合された後の抜け殻。フォールバック先モジュールはdb0424d8で
  no imports found確認済みで既に削除済みのため到達不能
- src/dev_tools/test_manager.py を削除: 存在しないモジュールをimportし
  確実にImportErrorで落ちる・他から一切参照なし
- tests/ui/test_main_ui.py・test_main_ui_unit.py を削除:
  main_ui.py専用のカバレッジ稼ぎ用テスト(実体テストなし)

テスト: tests/ui,tests/tools 90 passed / フルスイート4904 passed,
1 failed(既存・MiniMaxモデル名の無関係な古いテスト)

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@github-actions

Copy link
Copy Markdown

STIT Pipeline Result ✅

Branch: feature/prune-dead-entrypoints

All STIT checks have completed. Check the workflow run for details.

@github-actions

Copy link
Copy Markdown

Phase3 Coverage (graph_builder / unified_analyzer / test_generator / tree_sitter_checker)

Module Stmts Miss Coverage
analyzer.unified_analyzer 128 8 93.8%
analyzer.graph_builder 46 4 91.3%
utils.test_generator 208 116 44.2%
utils.tree_sitter_checker 36 24 33.3%
TOTAL 418 152 63.6%

@fukukei23
fukukei23 merged commit 79038e6 into main Jul 27, 2026
14 checks passed
@github-actions

Copy link
Copy Markdown

STIT Pipeline Result ✅

Branch: feature/prune-dead-entrypoints

All STIT checks have completed. Check the workflow run for details.

@fukukei23
fukukei23 deleted the feature/prune-dead-entrypoints branch July 27, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant