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
Refused comment composition dereferences a missing thread in threadAttention #4522
Push run 40591361816, at 345ac731f090811a17b77de502822f5f4d9e507a, fails both tests/browser/drafts/test_sending.py::test_a_refused_detached_comment_reopens_beside_its_words and test_a_refused_comment_takes_its_message_back_and_returns_the_words.
The console findings include the expected /api/event HTTP 400 and an unexpected TypeError: Cannot read properties of null (reading 'resolved') at threadAttention (runtime/bundle-data.js:4151), called by turnLead, hintLead, and field.render. This differs from #4422's null dereference in replyAvailable, repaired by #4438; the current diagnostic reaches another reader of the removed thread. Establish the shared ownership boundary rather than adding another isolated guard without tracing the retained composition route.
Both cases passed in preceding run 40584347201. This report session read CI diagnostics without local reproduction. Reproduce on current main, inspect the introducing changes and earlier run records, and preserve refusal's return of words and focus when choosing the repair.
#4525 merged the fix to the shared field reading: a retained reply field no longer describes a turn after refusal removes its temporary thread. The field's hint and turn lead both follow that reading, preserving the existing return of words, placement and focus.
Both reported tests reproduced the exception before the fix and pass afterward. Twelve refusal cases, four adjacent panel cases and all 684 runtime tests passed locally; all gating CI checks passed on 77a1dcd4ca90386e54b52a0b69654539c6498b1c. Tend merged the verified fix, closing this issue.
Activity
fix: stop reading a reply turn after its thread disappears (#4525)
leaf-agent commentedon Oct 27, 2026
#4525 merged the fix to the shared field reading: a retained reply field no longer describes a turn after refusal removes its temporary thread. The field's hint and turn lead both follow that reading, preserving the existing return of words, placement and focus.
Both reported tests reproduced the exception before the fix and pass afterward. Twelve refusal cases, four adjacent panel cases and all 684 runtime tests passed locally; all gating CI checks passed on
77a1dcd4ca90386e54b52a0b69654539c6498b1c. Tend merged the verified fix, closing this issue.