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 rendering dereferences a null thread in replyAvailable #4422
The refusal paths record TypeError: Cannot read properties of null (reading 'resolved') at replyAvailable (runtime/bundle-data.js:5386:44), called by fieldInput, sayable, fieldReading, saying, hint, and the composition field's render. Tests that consume the expected /api/event HTTP 400 also receive this unexpected exception. The panel refusal test fails its focus check with Playwright's KeyError: ... 'attempt'; its teardown records the same null dereference. The application-boundary case times out at round_trip and records that exception too. This groups the shared exception, without asserting that every primary timeout has the same cause.
This report session read the deciding CI diagnostic; it did not reproduce locally or establish the introducing change. Reproduce on current main and inspect prior run results and the introducing change before choosing a repair. Preserve the change's intent and the user behavior, distinguishing an obsolete assertion from a product defect.
Fixed and merged in #4438. A refused send removed its optimistic thread while the panel still held its route; the retained composer then read reply availability from that missing thread. The panel now checks the current thread before reading it, preserving the existing return of words and focus after refusal.
All seven reported cases pass within a 24-case browser selection, and all 682 runtime tests pass. The detached-comment case reproduced the exception before the fix. CI and independent review passed on the pushed fix commit before landing.
Activity
cifailing onmain(push) #3985leaf-agent commentedon Oct 27, 2026
Fixed and merged in #4438. A refused send removed its optimistic thread while the panel still held its route; the retained composer then read reply availability from that missing thread. The panel now checks the current thread before reading it, preserving the existing return of words and focus after refusal.
All seven reported cases pass within a 24-case browser selection, and all 682 runtime tests pass. The detached-comment case reproduced the exception before the fix. CI and independent review passed on the pushed fix commit before landing.