Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

A pending browser sign-in cannot be cancelled with esc

Đang mở
#1,587 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
76/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
authentication, cli

Hướng nghiên cứu

Start in internal/tui3/connect.go:1015-1036 and internal/tui3/connectcaps.go:95-124, then trace how the Linear browser sign-in is started and how Esc is handled. Run the documented isolated-profile reproduction and inspect existing connect tests or e2e coverage. Done means Esc immediately ends the pending sign-in with one cancellation line and produces no later notice elsewhere.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area:chat bug sev:serious

Seen on: dev 837b2b0.

Behaviour

After enter on Linear in /connect, esc left ⠼ waiting in your browser… spinning. It resolved only much later as Linear connection didn't complete, in another conversation. esc should cancel the pending sign-in at once.

Replication

  1. Build dev 837b2b0 (git checkout 837b2b0 && make build, binary bin/codeaf), or install the dev build with curl -fsSL https://agentfield.ai/get/devaf | bash.
  2. Use an isolated profile: export HOME=$(mktemp -d), export OPENROUTER_API_KEY, and keep the default model (~deepseek/deepseek-v4-flash-latest, crew on auto).
  3. On a busy machine set task.max_load to 0 (/settings, Tasks) so the busy-machine gate does not hold tasks.
  4. codeaf, /connect, choose Linear, press enter (do not finish in the browser).
  5. Press esc.

Evidence

  • Screen after esc: ⠼ waiting in your browser… still spinning; later Linear connection didn't complete in another conversation.
  • internal/tui3/connect.go:1015-1036 and internal/tui3/connectcaps.go:95-124 draw the waiting row; no cancel path was found for esc.

Guessed cause

A guess from reading the code, not a confirmed diagnosis. The browser round trip is not tied to a cancellable context from the row, so esc leaves it running until its own timeout.

Acceptance

  • e2e: esc on a pending browser sign-in ends it at once with one line (Linear sign-in cancelled), and no later notice appears elsewhere.

Found while writing the public docs; manual text differences are in #1545.

🤖 Generated with Claude Code

Ngôn ngữ chính
Go
Star
115
Fork
14
Merge trung bình
9 giờ 37 phút
Pull request đã merge (30 ngày)
755

Chuẩn bị môi trường

Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Agent-Field/CodeAF

Tất cả issue của Agent-Field/CodeAF

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.