Skip to content

linux-engine (next release): 0.4.5's review residue (release_sync records, option (c) live test under load, floor0 overran, jsonl double copy) #580

Done

Description

@SSFSKIM

From the whole-branch review of 0.4.5 (engine-045-pin 2c66966; ruling 1201: shipped, no re-cut). No reply or counted verdict reaches any of the four, so they ship together in the next engine release.

  1. P2: release_sync says unconfirmed where the reply may not be. native/linux-engine/src/engine/pointer.rs (around 1588), where unconfirmed_at_gate is recorded.
    • Effect: a dropped tail visit sets release_sync.unconfirmed = "visit_dropped" and the legacy unconfirm_outlasted = true before the destination's confirmation mode is applied.
      • On a window manager without _NET_ACTIVE_WINDOW, the take stays Unjudged, because after_outlasted changes only Activation. The reply then carries no option (c) notice while the row says unconfirmed.
      • On any window manager, unconfirm_outlasted reads true with option (c) off.
      • No judge reads these fields today; drop-signals rows only copy them.
    • Done when:
      • unconfirm_outlasted is tied to its own gate and switch again.
      • unconfirmed is recorded only when it turned the confirmation into Outlasted.
      • A test covers both an unsupported window manager and option (c) off with a dropped visit.
  2. P2: the option (c) live test fails on a legitimately dropped visit under load. native/linux-engine/tests/live_device.rs (around 6385), option_c_answers_an_outlasted_chrome_drop_confirmed_by_its_activation_alone_unconfirmed.
    • Effect: its short-path case requires the activation, no notice and the next input passing whenever the gate is shut. Under load, an in-floor wake can miss a visit with the gate shut. 0.4.5 then correctly answers with the notice and refuses the next input, and the test fails.
    • Until this ships, a red on that case is rerun once and counted under Flaky cases behind 48 reruns in four weeks (test 37, engine-linux 7, sandbox-denials 4): the tally from the logs #444, and it is never fixed by loosening the expectation outside native/ (ruling 1201).
    • Done when: the test reads the recorded visits_dropped to tell the two cases apart, or controls the clock so its activation case always delivers both visits; and it stays strict on the case it proves.
  3. P3: cua:floor0 records overran: true with no floor. pointer.rs (around 911–916).
    • Effect: with --drag-dnd-after-take-ms 0, steps_floor is zero, so any step acknowledged after the take sets overran, though hold.floor_until_ms is null and the tail ran after the path for want of a floor.
    • Done when: overran requires a floor, last_step_after_take_ms is still recorded, and a unit test covers a floorless drag.
  4. P3: wire::jsonl copies every reply twice when nothing needs escaping. native/linux-engine/src/wire.rs (around 75–78).

Relates #512, #572, #444.

Activity

  1. added
    bug
    status:ready-for-implementer
    priority:P2
    on Nov 24, 2026
  2. added 4 commits that reference this issue on Nov 27, 2026
  3. removed
    status:ready-for-implementer
    on Nov 28, 2026
  4. SSFSKIM commented on Nov 28, 2026

    @SSFSKIM
    OwnerAuthor

    [board] done: Landed via PR #599 (cua 0.30.1, linux-engine 0.4.6)

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

    bugpriority:P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions