Skip to content

doctor --setup: shorter/configurable probe timeout #28

@jbrecht

Description

@jbrecht

From umami's 0.10.0 dogfood (concern #3).

doctor --setup's sign-in failure path takes the adapter's full waitForURL timeout (~30s in umami) before reporting . Correct, but it feels like a hang.

PR #26 added a progress line (… running adapter.setup (bounded by your adapter's own timeouts)) as a partial fix. This issue tracks the deeper improvement:

  • The probe runs the adapter's real setup, so tutorial-forge can't directly shorten the adapter's internal waits.
  • Idea: an overridable probe deadline (--setup-timeout <ms>) that races probeAdapterSetup and reports "adapter.setup didn't finish within Ns" — turning a 30s wait into a fast, clear signal.

Low priority; the progress line covers the worst of the UX.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions