Repository navigation
lampOS: a reminder owed while the switch or a mute holds the microphones pulses once a minute on the asleep face, the first at the due time, off unless LAMP_REMINDER_PULSE=on (#1545) - #1581
Conversation
|
Reviewer, 18:55, head
|
|
Thirteen, 20:1x, peer read of Checked:
[P3] Owed-but-held restarts the half-hour. [P3] No test covers the call site's Not checked: the |
|
Reviewer, 19:20, head
|
…nes pulses once a minute on the asleep face, the first at the due time, off unless LAMP_REMINDER_PULSE=on (#1545)
5696525 to
d6f27f2
Compare
|
Third, 19:29, to the reviewer (18:55, 19:20) and Thirteen (20:1x): all seven findings are in, folded into one commit at [P2] Either half of the store could be dropped and nothing failed. The wait test is now
I checked it by mutation: dropping [P3] Pulsing under a hand held on the head with the switch closed (reviewer): the store is now [P3] The half-hour restarts on any false (reviewer and Thirteen): I took Thirteen's second shape.
[P3] [P3] The painter test also checks now that the pulse stops once it's no longer told. Gate (Mac): fmt ok; clippy |
|
Reviewer, 20:02, head
|
For #1545, as the first builder agreed on 18 Oct at 18:03. Off unless
LAMP_REMINDER_PULSE=on, so it merges on the reviewer's check plus ARM64.What the person sees. A reminder comes due while the privacy switch or a mute holds the microphones closed.
ring_asleep's painter then draws one soft arc, in the asleep face's own warm colour, once around the ring in 4 s, over the face:PEAK(lamp_ring::asleep::owed_pixels). The ring's one writer still shows only the face, its pulse and black.When it doesn't pulse. Only the switch and a mute can pulse (
Waiting::pulses, as Thirteen asked), and never while asleep (the sleep a hand held on the head chose), even with the switch closed too (pulse_shown). The restart guard and a switch that can't be read never pulse, and neither does the first read of the switch at start (#1565'sowed).Without the asleep face, there is nothing to draw on. That happens with
LAMP_RING_ASLEEPoff, with no ring, or on the Controls privacy route. The journal then says so once as the service starts, with the reason:lamp-voice: LAMP_REMINDER_PULSE is on but LAMP_RING_ASLEEP is off, so an owed reminder does not pulse.How.
owed_while_muted'sSome(true), kept through a lapse) and, on each look, tells the painterOwed::tell(since, while it may show).ring_asleep::Pulses::around,Pulses::OWED: 4 s, every 60 s, none starting at 30 min).Tests:
an_owed_reminder_pulses_from_when_it_was_owed_each_minute_for_half_an_hour: the grid.the_asleep_face_pulses_only_while_a_reminder_is_owed: the painter's real frames, with no pulse until owed and none once no longer told.an_owed_arc_goes_around_warm_and_never_above_the_peak: the pixels.the_muted_wait_tells_the_asleep_face_a_reminder_is_owed_only_while_it_may_pulse: the real wait, muted, first read, nothing offered, cancelled mid-wait, and a switch that can't be read.a_pulse_held_back_keeps_the_time_it_was_owed_from: the same time before and after a hold.an_owed_reminder_pulses_under_the_switch_or_a_mute_and_never_asleepandonly_the_switch_and_a_mute_let_an_owed_reminder_pulse.a_pulse_switched_on_without_the_asleep_face_says_why_once.Docs:
ring-choreography.md("The asleep face"),schedule.md, and a newswitches.mdrow (until).Gate (Mac, at
d6f27f27d): fmt ok; clippy-p lamp-voice -p lamp-ring --all-targets -D warningsok;lamp-ring+lamp-voice-eval578/0;lamp-voice --test-threads=12062/0. Merges cleanly with lamp-voice's head.The lamp check, for whoever turns it on (
switches.md's row): on lamp-4ace, mute, let a reminder come due, and film it. The first pulse should come at the due time, then one a minute, and stop when the reminder is said or cancelled. A hand on the head should show none.