Skip to content

test infra: add an 'agent steady-state' signal to kill the startup-timing flake class #237

Description

@LiorFink00

Follow-up found during the July review/merge cycle.

Two separate macOS flakes this cycle shared one root cause: a test acted immediately after a weak readiness gate, racing the agent's startup:

Proposal: give the agent a single unambiguous steady-state signal (e.g. a ready marker/log emitted after baselines are captured and watchers are up — the ephemeral action already writes a ready file), and a shared test helper that waits on it before simulating reads/shutdowns. That replaces the ad-hoc "armed?" gates + sleep(2) settles and prevents this whole flake class from recurring.

Related: #213, #233.

Activity

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

    testsTask on app tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions