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
AI chat: a message sent while a linked conversation loads hangs forever when that load fails (bubble and thinking dots stay, nothing sent, no notice) #33685
bugSomething isn't workingdomain:uiDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p2Medium: important, M3
Filing gate: ① a user-visible defect with a named producer. The contract review of PR #33673 raised it (record 6889891363, ③), and the PR's developer measured it on head d32d4df0 through the rendered AiChatPage harness, with both a 503 and a network error on the GET. Reader: domain:ui (ui/packages/app-shell/src/hooks/useChatConversation.ts). Filed as finding for triage. This seat has not graded or claimed it, because the ui lane takes P1/P2 only since 2026-11-15T05:05Z.
Dedupe: is:issue is:open deep link conversation GET fails held finds nothing open. #33674 is the typed-but-unsent draft lost on the pane's remount, which is a different path. #33567 (a send before the GET answers is held and sent once) covers only a GET that succeeds.
What the user sees
The user opens an AI chat conversation by its link (/ai/build/conv-7) and sends a message while the conversation is still loading. If loading then fails (a 5xx, or no network), the message bubble and the thinking dots stay on screen indefinitely. Nothing is sent, no conversation is created, no notice appears, and the message box is empty. A second send joins the held message and hangs the same way. Measured after 3 s, with both a 503 and a network error.
Where (on main)
useChatConversation.ts: the resolve's catch (around line 1221 at d32d4df0) clears the id without settling the surface. pendingKeyRef therefore stays unset, and no create is allowed.
Its finally (around line 1231) drops the request that the held send recorded, and no error reaches the host. useDeferredFirstSend keeps holding the message.
Triage: first touch → domain:ui · p2 · 2026-11-15T06:49Z
⛔ Not a claim.
A message sent while a linked conversation loads hangs forever when that load fails: the bubble and thinking dots stay, nothing is sent, and there is no notice. The user's input is lost, so p2. It is a sibling of #33674 (same file family).
Claim: PM loop round 1 · 2026-11-15T07:08Z
Session: session_01FEkQ5peXUXXQ6HU4H89s6J (card thread, dev) · seat session_01FEkQ5oF8GgTHN2jBZoDwz8
Account: os-project-manager
Branch: claude/project-thread-ztpzpa
Worktree: objectstack-issue-33685
Domain: domain:ui
Seat: domain:ui#2
File surface: ui/packages/app-shell/src/console/ai/AiChatPage.tsx, ui/packages/app-shell/src/hooks/useChatConversation.ts, ui/packages/plugin-chatbot/src/ChatbotEnhanced.tsx (only if a prop is needed), their tests, root .changeset/. ⛔ No server, spec or cloud edit. ⛔ Serial: edits wait for seat 2's PR #33673 (same files) to merge; shares the #33674 card thread and branch.
Container & model: M, mode:thread, model: default tier, effort: default
Clause-②: no (fix inside the private @object-ui/app-shell expected); becomes yes (widening) if ChatbotEnhanced (@object-ui/plugin-chatbot) needs a new prop, then a contract record is owed
Metadata-protocol: none
Responsibility: a message sent while a linked conversation loads hangs forever when that load fails (bubble and thinking dots stay, nothing sent, no notice) | useChatConversation resolve catch clears the id without settling the surface; its finally drops the recorded request and no error reaches the host | a person who sends on a deep-linked AI conversation whose load fails
Thread-read: 6890607312
Premise: holds: measured by PR #33673's dev on d32d4df0 through the rendered AiChatPage harness (503 and network error); triage#1 graded p2
Serial constraints cleared: no other pm:dispatcheddomain:ui card claims a file in this surface (live label read; ui seat 1's live PRs #33671#33677#33679 are disjoint; ui seat 1 agreed this card is seat 2's); no other ui seat holds a Claim: on these files
domain:ui#2 · os-project-manager · session_01FEkQ5peXUXXQ6HU4H89s6J
os-dev-report
{
"issue": 33685,
"status": "done",
"branch": "claude/project-thread-ztpzpa",
"pr": "#33727",
"session": "session_01FEkQ5peXUXXQ6HU4H89s6J",
"premise_still_valid": true,
"gates": "dispatch-gates --commands --repo objectstack-ai/objectstack on 8500bab: 38 families (same list as at 8702038); 37 exit 0 in the loop, 'pnpm --dir ui exec vitest run scripts/' first exit 99 (lock queue budget ran out behind the suites, NOT MEASURED) and re-run alone under the lock with --maxWorkers=2: 171 files passed, 2 skipped, VERDICT command-exit 0. --ran: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN (record /mnt/project-files/pm-orders/ui/33674-33685-gates-ran.txt). Extra: pnpm --filter @object-ui/app-shell run type-check exit 0; eslint --no-inline-config on AiChatPage.tsx, useChatConversation.ts and the harness exit 0 (0 errors; +1 react-refresh/only-export-components warning vs base for the new exported hook); pnpm check:new-line-citations (from ui/) 0 new, exit 0. CI check-runs on PR #33727: in_progress at report time.",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "0 — no MCP GitHub calls (reads through gh api GET; writes through the relay)",
"api_writes": "3 — POST dispatches (relay pr_create, run 43693428126, read-back identical, PR #33727); this os-dev-report comment on #33674 and its twin on #33685, both via post-stamped. git push is not a REST write.",
"security_findings": "none",
"summary": "Measured first with #33673 on main (5604aeb), useChatConversation.ts at base, through the #33420 harness: on the full page (/ai/build/conv-7) and the dock (resuming cached conv-7), a send held while the conversation GET is pending hung when that GET failed (503 or network error): bubble stayed, nothing sent, no create, no notice, box empty; joined second send hung the same way. Fix, commit 8702038, useChatConversation.ts only: the resolve's catch now sets createError to a not-sent error (the GET's status when it had one) for a send recorded during that run, so the existing #33420/#33562 path gives the held text (joined parts included) back to the box with the notice; it also marks the key failed, and the next ensureConversation for it records the request, clears the old createError and re-runs the resolve (resolveAttempt in the effect deps), so a retry loads conv-7 again and sends once into it. fetchConversation's thrown error now carries status; its 404/403 null is unchanged. The 404 path keeps today's behaviour, measured and pinned: settles, creates a new conversation, sends the held message once into it, no notice. The same-conversation guard in the catch is untouched. Clause-② no; one PR with #33674 as the seat ruled.",
"tests": "AiChatPage.firstMessageDrawnAtOnce-33420.test.tsx (rendered; held GET can now also fail as a network error via Held.fail), page + dock: GET 503 and GET network error give the held message back (bubble gone, box holds it, chat-send-error shown, nothing sent, no create); two sends then a 503 give back 'first part\n\nsecond part'; retry after the 503 re-runs the GET, clears the notice and sends once into conv-7 with no create; CONTROL a GET that answers sends once; CONTROL a 404 creates a new conversation and sends once into it, no notice. Red first, useChatConversation.ts at 5604aeb with everything else at 0d69e25 and the 8702038 harness: 8 failed / 26 passed (503, network, joined, retry on both hosts); both CONTROLs green on base on both hosts. Ablations via scripts/ablation-replace.mjs, each restored blob == HEAD and git diff HEAD empty: B1 catch report skipped (early return after marking the key failed) 8 failed / 26 passed (all eight #33685 pins); a first attempt at B1 was refused by the tool before running (its replacement contained the anchor) and measured nothing, redone with a distinct replacement; B2 retry branch never true 2 failed (both retry pins). On 8500bab: harness 34/34; useChatConversation + console/ai + layout + studio-design + plugin-chatbot 627 files / 4848 tests passed.",
"open_questions": [],
"out_of_scope_findings": []
}
Seat review: PR #33727 ACCEPT on head 8500bab4 (2026-11-15T08:35Z), for #33674 and #33685 together. K = 8, CI green; ready + auto-merge set in the same stroke. Contract record not owed (Clause-② no).
MERGED as baf9f3b0 on main (closes this card via Fixes #33685)
State: pm:dispatched removed, assignee cleared; card closed by the merge. Shipped with #33674 in one PR (seat ACCEPT 6891760359). A 404 on the GET keeps today's create-and-send, pinned.
bugSomething isn't workingdomain:uiDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 15, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch →
domain:ui· p2 · 2026-11-15T06:49Z⛔ Not a claim.
A message sent while a linked conversation loads hangs forever when that load fails: the bubble and thinking dots stay, nothing is sent, and there is no notice. The user's input is lost, so p2. It is a sibling of #33674 (same file family).
objectstack-fleet commentedon Nov 15, 2026
domain:ui#2 · os-project-manager · session_01FEkQ5oF8GgTHN2jBZoDwz8
Claim: PM loop round 1 · 2026-11-15T07:08Z
Session:
session_01FEkQ5peXUXXQ6HU4H89s6J(card thread, dev) · seatsession_01FEkQ5oF8GgTHN2jBZoDwz8Account:
os-project-managerBranch:
claude/project-thread-ztpzpaWorktree:
objectstack-issue-33685Domain:
domain:uiSeat:
domain:ui#2File surface:
ui/packages/app-shell/src/console/ai/AiChatPage.tsx,ui/packages/app-shell/src/hooks/useChatConversation.ts,ui/packages/plugin-chatbot/src/ChatbotEnhanced.tsx(only if a prop is needed), their tests, root.changeset/. ⛔ No server, spec or cloud edit. ⛔ Serial: edits wait for seat 2's PR #33673 (same files) to merge; shares the #33674 card thread and branch.Container & model: M,
mode:thread,model: default tier,effort: defaultClause-②: no (fix inside the private
@object-ui/app-shellexpected); becomes yes (widening) ifChatbotEnhanced(@object-ui/plugin-chatbot) needs a new prop, then a contract record is owedMetadata-protocol: none
Responsibility: a message sent while a linked conversation loads hangs forever when that load fails (bubble and thinking dots stay, nothing sent, no notice) |
useChatConversationresolve catch clears the id without settling the surface; its finally drops the recorded request and no error reaches the host | a person who sends on a deep-linked AI conversation whose load failsThread-read: 6890607312
Premise: holds: measured by PR #33673's dev on
d32d4df0through the renderedAiChatPageharness (503 and network error); triage#1 graded p2Serial constraints cleared: no other
pm:dispatcheddomain:uicard claims a file in this surface (live label read; ui seat 1's live PRs #33671 #33677 #33679 are disjoint; ui seat 1 agreed this card is seat 2's); no other ui seat holds aClaim:on these filesScope: shared card thread with #33674 (one dev). p2. Addendum order:
/mnt/project-files/pm-orders/ui/order-33685.md. Order:/mnt/project-files/pm-orders/ui/order-33685.md. Summons: the maintainer's 「同意 给队列最深的 ui 和 spec 各再开一个座位」 (this project, 2026-11-14T22:46Z) and 「任务进展如何,后续只处理 p1 p2」 (2026-11-15T05:05Z).objectstack-fleet commentedon Nov 15, 2026
domain:ui#2 · os-project-manager · session_01FEkQ5peXUXXQ6HU4H89s6J
os-dev-report
{
"issue": 33685,
"status": "done",
"branch": "claude/project-thread-ztpzpa",
"pr": "#33727",
"session": "session_01FEkQ5peXUXXQ6HU4H89s6J",
"premise_still_valid": true,
"gates": "dispatch-gates --commands --repo objectstack-ai/objectstack on 8500bab: 38 families (same list as at 8702038); 37 exit 0 in the loop, 'pnpm --dir ui exec vitest run scripts/' first exit 99 (lock queue budget ran out behind the suites, NOT MEASURED) and re-run alone under the lock with --maxWorkers=2: 171 files passed, 2 skipped, VERDICT command-exit 0. --ran: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN (record /mnt/project-files/pm-orders/ui/33674-33685-gates-ran.txt). Extra: pnpm --filter @object-ui/app-shell run type-check exit 0; eslint --no-inline-config on AiChatPage.tsx, useChatConversation.ts and the harness exit 0 (0 errors; +1 react-refresh/only-export-components warning vs base for the new exported hook); pnpm check:new-line-citations (from ui/) 0 new, exit 0. CI check-runs on PR #33727: in_progress at report time.",
"dogfood_battery": "n/a — no
!in the PR title and no (narrowing) arm","mcp_calls": "0 — no MCP GitHub calls (reads through gh api GET; writes through the relay)",
"api_writes": "3 — POST dispatches (relay pr_create, run 43693428126, read-back identical, PR #33727); this os-dev-report comment on #33674 and its twin on #33685, both via post-stamped. git push is not a REST write.",
"security_findings": "none",
"summary": "Measured first with #33673 on main (5604aeb), useChatConversation.ts at base, through the #33420 harness: on the full page (/ai/build/conv-7) and the dock (resuming cached conv-7), a send held while the conversation GET is pending hung when that GET failed (503 or network error): bubble stayed, nothing sent, no create, no notice, box empty; joined second send hung the same way. Fix, commit 8702038, useChatConversation.ts only: the resolve's catch now sets createError to a not-sent error (the GET's status when it had one) for a send recorded during that run, so the existing #33420/#33562 path gives the held text (joined parts included) back to the box with the notice; it also marks the key failed, and the next ensureConversation for it records the request, clears the old createError and re-runs the resolve (resolveAttempt in the effect deps), so a retry loads conv-7 again and sends once into it. fetchConversation's thrown error now carries status; its 404/403 null is unchanged. The 404 path keeps today's behaviour, measured and pinned: settles, creates a new conversation, sends the held message once into it, no notice. The same-conversation guard in the catch is untouched. Clause-② no; one PR with #33674 as the seat ruled.",
"tests": "AiChatPage.firstMessageDrawnAtOnce-33420.test.tsx (rendered; held GET can now also fail as a network error via Held.fail), page + dock: GET 503 and GET network error give the held message back (bubble gone, box holds it, chat-send-error shown, nothing sent, no create); two sends then a 503 give back 'first part\n\nsecond part'; retry after the 503 re-runs the GET, clears the notice and sends once into conv-7 with no create; CONTROL a GET that answers sends once; CONTROL a 404 creates a new conversation and sends once into it, no notice. Red first, useChatConversation.ts at 5604aeb with everything else at 0d69e25 and the 8702038 harness: 8 failed / 26 passed (503, network, joined, retry on both hosts); both CONTROLs green on base on both hosts. Ablations via scripts/ablation-replace.mjs, each restored blob == HEAD and git diff HEAD empty: B1 catch report skipped (early return after marking the key failed) 8 failed / 26 passed (all eight #33685 pins); a first attempt at B1 was refused by the tool before running (its replacement contained the anchor) and measured nothing, redone with a distinct replacement; B2 retry branch never true 2 failed (both retry pins). On 8500bab: harness 34/34; useChatConversation + console/ai + layout + studio-design + plugin-chatbot 627 files / 4848 tests passed.",
"open_questions": [],
"out_of_scope_findings": []
}
Generated by Claude Code
objectstack-fleet commentedon Nov 15, 2026
domain:ui#2 · os-project-manager · session_01FEkQ5oF8GgTHN2jBZoDwz8
Seat review: PR #33727 ACCEPT on head
8500bab4(2026-11-15T08:35Z), for #33674 and #33685 together. K = 8, CI green; ready + auto-merge set in the same stroke. Contract record not owed (Clause-② no).objectstack-fleet commentedon Nov 15, 2026
domain:ui#2 · os-project-manager · session_01FEkQ5oF8GgTHN2jBZoDwz8
Landed · 2026-11-15T08:58Z
baf9f3b0onmain(closes this card viaFixes #33685)State:
pm:dispatchedremoved, assignee cleared; card closed by the merge. Shipped with #33674 in one PR (seat ACCEPT 6891760359). A 404 on the GET keeps today's create-and-send, pinned.fix(console): AI chat keeps a draft typed before the conversation is …