Add heavy-payload rendering-suppression feature flag for TUI-over-SSH #120
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
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
natsukium/felis#120
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?
Migrated from
docs/backlog.md(Deferred / Heavy-payload rendering-suppression bit).Decision: feature flag (not minor) — peer opts out of the stream.
Revisit when a TUI client over
--hostexists and the bandwidth saving can be measured over SSH-stdio (and the same-host socket copy alongside it).Refs:
docs/reference/ipc.mdVersioning,docs/explanation/architecture/ipc.mdOpen extensibility considerations. Premise corrected per #194 / #200.Correction to the body above (from #194): the clause "locally, image bytes travel over shm and the waste is marginal" is false and always was. felis has no daemon→client shared-memory path; the only shm in the system is the Kitty
t=sproducer→daemon transfer, which ends at the daemon's image store. Daemon→client pixels areImageMsg::Chunkframes copied into every window subscriber's socket.So the deferral stands, but not because the same-host case is free: a same-host TUI subscriber that discards the pixels still pays one socket copy per image, a cost bounded by image size that nobody has measured. Read the body's deferral as "gate the flag on a measured saving", with two numbers to take rather than one — the SSH-stdio saving and the same-host copy.
Scope is unchanged; this issue stays open as it is. The docs are corrected on
mainby #194 (PR 203) (docs/explanation/architecture/ipc.md"Open extensibility considerations",docs/explanation/architecture/overview.md"No shared memory").