chore: delete some dead code#2414
Conversation
4202e7b to
dc8a8cf
Compare
Greptile SummaryThis PR removes 27 Python files that appear to be unused throughout the codebase — covering web servers, stream processing utilities, navigation helpers, manipulation specs, testing helpers, and exception classes.
Confidence Score: 5/5Safe to merge — all 27 deleted files are confirmed unreferenced across the entire codebase. Every deleted module was checked for imports, init.py re-exports, and symbol references. Nothing in the remaining codebase depends on any of the removed files. The legacy FastAPIServer and FlaskServer in the deleted dimos/web/ files are distinct from the active FastAPIServer in dimos/web/dimos_interface/api/server.py, which continues to be used correctly. No files require special attention — all deletions are clean. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
subgraph DELETED["Deleted (dead code)"]
direction TB
A[dimos/web/fastapi_server.py\nFastAPIServer legacy]
B[dimos/web/flask_server.py\nFlaskServer legacy]
C[dimos/stream/video_operators.py\nVideoOperators / Operators]
D[dimos/stream/frame_processor.py\nFrameProcessor]
E[dimos/stream/rtsp_video_provider.py\nRtspVideoProvider]
F[dimos/stream/data_provider.py\nAbstractDataProvider etc.]
G[dimos/exceptions/agent_memory_exceptions.py]
H[dimos/utils/metrics.py\ntimed / log_timing_to_rerun]
I[dimos/robot/catalog/panda.py]
end
subgraph ACTIVE["Still Active"]
Q[dimos/web/dimos_interface/api/server.py\nFastAPIServer - current]
R[dimos/web/robot_web_interface.py]
end
R -->|imports FastAPIServer| Q
Reviews (1): Last reviewed commit: "chore: delete dead code" | Re-trigger Greptile |
❌ 1 Tests Failed:
View the top 1 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
Problem
We still have lots of dead code.
Solution
This deletes some of it.