bug: agentop uninstall leaves Codex routed to the stopped proxy
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 78/100
Hướng nghiên cứu
Đọc cmd/agentop/cmd_uninstall.go quanh planUninstall và luồng vô hiệu hóa Codex trong cmd/agentop/cmd_codex.go; kiểm tra cách các bước unroute hiện có xử lý needsCortexDir và việc khởi động lại daemon. Cập nhật văn bản hướng dẫn sử dụng uninstall và docs/laptop-service.md như mô tả. Hoàn tất khi uninstall xóa các cài đặt proxy Codex, khởi động lại daemon của nó ở chế độ vô hiệu hóa và cả hai tài liệu đều nhắc đến Codex.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
agentop uninstall does not remove the Cortex settings from Codex. After uninstall, Codex still sends every request to localhost:47600, and each request fails with "connection refused".
Reproduction (main at 676557d35, by reading the code)
agentop configure codex enable. This writesHTTP_PROXY,HTTPS_PROXY,http_proxy,https_proxyandSSL_CERT_FILEto~/.codex/.env(codexWanted,cmd/agentop/cmd_codex.go:219-241).agentop uninstall --yes.~/.codex/.envstill has all five keys.
With --purge, uninstall also deletes ~/.cortex, which includes the CA file that SSL_CERT_FILE names. cortexDirNeededBy does not see the Codex keys.
Cause
planUninstall (cmd/agentop/cmd_uninstall.go:359-366) has steps for Claude Code, OpenCode, Bob, the Bob and Pi shells, the Pi extension and the service. It has no Codex step. No line in cmd_uninstall.go names Codex. The usage text (cmd_uninstall.go:27) and docs/laptop-service.md:1142 also do not name Codex.
docs/agents/codex.md:100 says that Codex stops working when Cortex stops while Codex is still routed.
Fix
Add a planUnrouteCodex step that calls the existing planCodexDisable and applyCodexDisable, then restarts the Codex daemon as disable does. Make it set needsCortexDir as the other unroute steps do. Add Codex to the usage text and to docs/laptop-service.md.
Impact if not fixed
Codex stops working after every uninstall, until the user edits ~/.codex/.env by hand.
- Ngôn ngữ chính
- Go
- Star
- 26
- Fork
- 46
- Merge trung bình
- 9 giờ 55 phút
- Pull request đã merge (30 ngày)
- 257
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của rossoctl/cortex
-
bug laptop
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
feat: Do not count a removed session's cost again when an import brings it backCó thể đã có người làm @huang195 đã nhận hôm nay. Đang mởenhancement
rossoctl/cortex#1885 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug: The JWT bypass matches a cleaned path but forwards the raw path, so /mcp/../healthz skips validationCó thể đã có người làm @evaline-ju đã nhận hôm nay. Đang mởbug
rossoctl/cortex#1884 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug: One-hour Anthropic cache writes are priced at the 5-minute rate, so spend is 37.5% too lowĐang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug laptop
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của rossoctl/cortex
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Containerpak/cpak#93 ·
-
bug triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
router-for-me/CLIProxyAPI#7607 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement ui/ux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
myNameArnav/lex#52 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100