Skip to content

Bug: session.list silently omits adapters after fixed 5s discover timeout #73

Description

@c-h-

What happened

When an adapter discover() call is slow/fails, agentctl list can silently exclude that adapter’s sessions.

Expected

List output should indicate partial results (which adapters timed out/failed), not silently drop them.

Repro (code path)

In src/daemon/server.ts, session.list wraps adapter discover calls in a fixed 5000ms timeout and drops rejected results without user-facing warning metadata.

Impact

Users may believe sessions are missing/nonexistent.

Proposed fix

  • Include warning metadata in JSON output (e.g. omitted/failed adapters)
  • Print non-fatal warnings in table mode
  • Consider per-adapter timeout tuning

Environment

  • agentctl 1.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions