bench: the macOS warm startup leg kills its daemon, and legs ignore display sleep #408
Labels
No labels
priority/P0
priority/P1
priority/P2
release/v0.1.0
status/blocked
status/planned
type/bug
type/design
type/test-gap
type/tracker
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
natsukium/felis#408
Loading…
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?
Split from #398 and #402. Two faults in
tools/benchfound while reproducing the macOS run:stop_launch(tools/bench/suites.py~635) kills the launch's whole process tree. On macOS the auto-spawned daemon is a forked child of the client (crates/felis-client-core/src/spawn.rs~62; the systemd hand-off is Linux-only), so each stop kills it, andclear_sessions(felis sessions list, ~525) does not spawn one. Replicating the procedure, the daemon was alive before 0 of 10 "warm" launches. Real warm (daemon started outside the tree) measured 116 ms against 128/134 ms for the two harness rows. Fix: start the warm daemon outside the launch tree (or exclude it from the kill), and assert it is alive before each warm launch. Check the Linux leg too: there the systemd unit survives, but assert anyway.envinfo.leg_envand refuse (or flag in the report) a leg taken in either state.