Three inbound handlers survive with no producer anywhere #63
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
v2
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wayfinder:ticket
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
aiko/denpa#63
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
denpa#50stopped the client sendingfetch-history-listandcreate-new-historyto a go-between that had deleted both. The receiving half was left behind.src/renderer/src/services/websocket-handler.tsxstill handles::203—history-data:213—new-history-created:242—history-listGrepping
denpa/srcanddenpa/hermes_pluginfinds no producer for any of the three. They are dead branches waiting on frames that nothing will ever send.Two comments still reason about the replay path as though it happens —
components/receiver/log-rows.ts:63andcomponents/receiver/receiver-chrome.tsx:157both describe what ahistory-datareplay does to a running relay row. Dead code that documents itself is worse than dead code, because the next reader takes it for a live path.Acceptance
websocket-handler.tsxcut-surfaces.test.tsgains the three names alongside the ones it already asserts the absence ofDeletion only. If something turns out to still need one of these, say so on the issue instead of keeping it alive quietly.
Merged to
maininee25aaa.Fix. The three inbound handlers with no producer are gone, both directions:
history-drawer.tsx(-134) anduse-history-drawer.ts(-75) deleted, with the matching cuts inwebsocket-handler.tsx,websocket-service.tsx,log-rows.tsandchat-history-context.tsx.Tests.
cut-surfaces.test.tsgained assertions pinning the sends as well as the receives, so re-adding either direction fails. Gate on merged main: 62 files / 854 tests passing.Left standing, deliberately.
history-deletedis dead by the same argument and three locale strings are now unreferenced. Neither is named by this issue; both want their own ticket rather than a silent widening here.