Skip to content

core: input-closed and takeover-identity markers accumulate forever #317

Closed

Description

@ElbertePlinio

Found in review of PR #316 (#213).

Every desktop or browser teardown leaves a permanent .<id>.input-closed marker, and the existing .<id>.takeover-identity marker is never removed either. The sessions directory gains one or two dotfiles per session for the life of the install, and pruneSessionLogs and listSessions scan it on every call. This is not a correctness problem today.

  • Decide a safe horizon after which no process can still hold a pre-teardown reference to a session id
  • Prune both markers past that horizon, keeping ids reserved until then
  • Test that late callers inside the horizon still fail closed

Activity

  1. added
    enhancement
    on Oct 8, 2026
  2. ElbertePlinio commented on Oct 28, 2026

    @ElbertePlinio
    MemberAuthor

    Seen again during the QA of #372 (native viewer takeover, #341): destroyed sessions left .takeover-identity and .input-closed files under the lab home. #372 does not change this.

  3. added a commit that references this issue on Oct 28, 2026
    5393d8b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions