Skip to content

Make benchmark timeout diagnostics passive before v0.13 retry #222

Description

@deverman

Outcome

Make benchmark timeout diagnostics passive before the v0.13 retry so observing a timeout cannot add Bridge requests during recovery.

Scope

  • Capture queue and process state immediately when a benchmark call fails.
  • Remove diagnostic Bridge health requests and the undocumented recovery-delay environment behavior.
  • Preserve the effective passive wait: 13,000 ms by default and for smoke/stress; 15,000 ms for release.
  • Do not change production transport, BridgeClient, plugin, MCP/CLI product behavior, query behavior, or the 45-second deadline.

Validation impact

performance — benchmark-only observer behavior; production fingerprint must remain unchanged.

Acceptance journey

A release benchmark timeout immediately records the untouched IPC queue/process state, waits 15 seconds without sending diagnostic Bridge requests, and leaves enough metadata to distinguish a late response from a stranded request.

Validation

  • Contract test proves the immediate queue/process snapshot is present and bridgeHealth is absent.
  • Full Swift test suite.
  • swift run focusrelay-dev validate --impact performance.
  • Confirm unchanged production fingerprint, then run live health/semantic gates and smoke before any single release retry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions