martha#142: a member waiting on the owner reads needs-you on martha ls, not offline #146
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "pluto/142-needs-you-when-waiting"
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?
Purpose (fix):
martha lstells the owner a member is waiting on them, so an owner watching a crew sees a question to answer rather than a member that looks dead.What happens. On the pilot (main
5a2b91b9), an engine member that had asked the owner for a tool call and was waiting on the answer readoffline31 s after the ask, whilemartha answerstill listed it and its row still held the dialog:A dialog is not a beat, so the row of a member waiting on the owner goes quiet like a dead one, and
lssaid the quiet word.What changes. The crew's row now carries
asks: whether it holds a dialog nobody has answered.martha lssaysneeds-youfor a member that holds one, and only while the kernel still names that member's own launch, so a question left on the row of a member that died readsstopped. An answered question closes the dialog and the line reads exactly as before it, its own state oroffline.Proof.
stop_and_restart_a_member.node-test.ts18/18 with the new test: the same quiet row readsofflinewith no question andneeds-youwith one, andstoppedwhen the pid names another process. Its mutant, theasksbranch dropped fromstateOf, fails that test by name. The row's consumers are unchanged:see_the_crew12/12,draw_the_crew_strip6/6,see_who_is_free12/12,title_a_members_tab5/5,a_week_of_the_ledger13/13,nudge_an_idle_crew7/7. Typecheck and eslint clean;check:restated-values,check:no-import-cycle,check:marthas-namesandcheck:privateclean.Refs macula-io/martha#102, #141.