Skip to content

Bind Mac Edge media checks to one window and retry after idle - #54

Open
Brian Krabach (bkrabach) wants to merge 4 commits into
mainfrom
feature/edge-window-lease-53
Open

Brian Krabach (bkrabach) wants to merge 4 commits into
mainfrom
feature/edge-window-lease-53

Conversation

@bkrabach

@bkrabach Brian Krabach (bkrabach) commented Nov 28, 2026 •

Copy link
Copy Markdown
Collaborator

Refs #53.

The Mac fixture retains the dedicated Edge process, original window, media document and optional companion tab. A target-side launcher can register that fixture on the remote runner. The controller sends a named media action under its existing session. Activity postpones input until the original window is active and the Mac has been quiet for five seconds. A lost acknowledgement ends the step. A fixture runner rejects general desktop input.

An explicit overlay Stop is stored separately so later activity cannot overwrite it. The historical host-wide pause still blocks a new live run. The normal SSH runner now accepts a configured loopback media URL. An admitted step starts a dedicated Edge instance without requesting activation, and checks its original process, private profile, window and document. On the Mac, the wheel-installed runner negotiated fixture support with the matching target payload and confirmed both desktop permissions. A read-only preflight sampled 40.7 seconds of idle time and still observed the pre-existing host halt, before any browser launch. The binding and native media actions have not yet been exercised in a visible window.

The fixture supports native media buttons, volume actions and switching between two enrolled tabs. Browser keyboard zoom is still open. On macOS, 15 Command-plus shortcut events reached only the intended page in an isolated headless Edge experiment. Browser zoom stayed at 100%. The visible MP4, background GIF and 200% zoom checks have no device result.

Tests cover remote dispatch, idle retry, stale sessions, sticky Stop and uncertain delivery. The Mac accessibility and input tests use controlled objects. They demonstrate the controller behavior separately from the three physical checks.

Local targeted tests passed (243). CI on the runner change passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant