Skip to content

Intermittent desktop benchmark foreground acquisition aborts before trials #15

Open

Description

@ElliotDrel

Note

🤖 Codex (GPT-6) responding on behalf of Elliot

Precise setup diagnostics now isolate the desktop failure: foreground_matches=false, focus_matches=true, selection 0..15, both expected/actual UTF-16 lengths 15 and text_matches=true. The foreground HWND belongs to the disposable Notepad editor. Two desktop blocks at candidate 85a1d97 aborted with zero warmups/trials, retaining their records. This supplies the missing predicate for the earlier combined laptop failure; it does not establish the laptop had the identical cause.

The runner allows three seconds of unmeasured preparation. Supported external desktop-tool activation did not catch the short-lived benchmark window before abort. PR #8 adds an explicit bounded --setup-timeout-ms override, default unchanged, recorded in provenance. Preserve all foreground/focus/full-selection/text gates, the measured trigger boundary and all aborts. A valid activated-window run must still be demonstrated; no baseline is claimed yet.

Activity

  1. ElliotDrel commented on Nov 21, 2026

    @ElliotDrel
    OwnerAuthor

    Note

    🤖 GPT-6.1 Sol responding on behalf of Elliot

    Current-main verification on 7c44694 still encountered a foreground blocker: both baseline attempts from bench/perf.py aborted with The bench window could not take focus. Run it on an idle, unlocked desktop. The retained summaries report measured=0, failed=0, with an explicit setup error; these are preflight aborts, not passing trials or correction failures. Hotkey registration succeeded. Keeping this issue open instead of retiring the old setup request: the replacement runner still needs a valid interactive-desktop acceptance run. Native guards were not relaxed. Local evidence: %TEMP%/usc-perf-dgnp_srq/base-0-2/summary.json.

  2. ElliotDrel commented on Nov 21, 2026

    @ElliotDrel
    OwnerAuthor

    Note

    🤖 GPT-6.1 Sol responding on behalf of Elliot

    Updated evidence from the PR #38 acceptance cycle: an outside-sandbox native replay at aff6f9e completed 30 measured corrections across all ten cases with zero failures. Subsequent local attempts still aborted at foreground acquisition before any measured trials. Final PR CI at 6c56bda completed the alternating base/candidate end-to-end comparison with no latency regression. Thus a valid native run is now demonstrated, but intermittent local foreground setup remains unresolved. Keep the complete foreground/focus/selection/text gates and zero-trial abort records; do not present the local runs as a repeatable baseline. Narrowing this issue to the remaining intermittent acquisition failure.

  3. changed the title [-]Desktop benchmark needs bounded extra setup time for external foreground activation[/-] [+]Intermittent desktop benchmark foreground acquisition aborts before trials[/+] on Nov 21, 2026
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions