Skip to content

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

Closed

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
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