You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A pending browser sign-in cannot be cancelled with esc #1587
area:chatThe v3 surface a person sits in front of (internal/tui3)bugSomething the code does that it should notsev:seriousWrong or missing behaviour a person meets in ordinary use
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
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.
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).
On a busy machine set task.max_load to 0 (/settings, Tasks) so the busy-machine gate does not hold tasks.
codeaf, /connect, choose Linear, press enter (do not finish in the browser).
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.
area:chatThe v3 surface a person sits in front of (internal/tui3)bugSomething the code does that it should notsev:seriousWrong or missing behaviour a person meets in ordinary use
Activity
chat and media audit on current dev, and saved memory that works on a…
chat: esc cancels a pending browser sign-in